OSDN Git Service

pf3gnuchains/sourceware.git
13 years ago * ldlang.c (lang_size_sections_1): Align lma using same alignment
amodra [Sat, 4 Dec 2010 12:30:45 +0000 (12:30 +0000)]
* ldlang.c (lang_size_sections_1): Align lma using same alignment
as for vma.

13 years ago * configure.tgt: Accept microblaze*-*-linux* for linux target
monaka [Sat, 4 Dec 2010 11:10:48 +0000 (11:10 +0000)]
   * configure.tgt: Accept microblaze*-*-linux* for linux target
       and microblaze*-*-* for  as target.

13 years ago* Makefile.in: Use CC_FOR_BUILD to build opc2c.
monaka [Sat, 4 Dec 2010 10:58:55 +0000 (10:58 +0000)]
* Makefile.in: Use CC_FOR_BUILD to build opc2c.

13 years ago PR gas/12282
macro [Sat, 4 Dec 2010 09:19:18 +0000 (09:19 +0000)]
PR gas/12282
* expr.c (expr_build_dot): Make a clone of the symbol to return if
needed.

13 years ago*** empty log message ***
gdbadmin [Sat, 4 Dec 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 4 Dec 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years agoFix a typo in comments.
hjl [Sat, 4 Dec 2010 07:03:21 +0000 (07:03 +0000)]
Fix a typo in comments.

2010-12-03  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (ld_options): Fix a typo in comments.

13 years ago * dwarf.c: #include "bfd_stdint.h".
devans [Sat, 4 Dec 2010 02:07:19 +0000 (02:07 +0000)]
* dwarf.c: #include "bfd_stdint.h".
(do_gdb_index): New global.
(display_gdb_index): New function.
(dwarf_select_sections_by_names) Add "gdb_index".
(dwarf_select_sections_all): Set do_gdb_index.
(debug_displays): Add .gdb_index.
* dwarf.h (do_gdb_index): Declare.
* objdump.c (usage): Add gdb_index.
* readelf.c (usage): Add gdb_index.
(process_section_headers): Process ".gdb_index".
* doc/binutils.texi (readelf): Document gdb_index dump.
(objdump): Ditto.

13 years ago * libc/include/math.h: Missing from previous checkin.
corinna [Sat, 4 Dec 2010 01:08:47 +0000 (01:08 +0000)]
* libc/include/math.h: Missing from previous checkin.

13 years ago*** empty log message ***
gdbadmin [Fri, 3 Dec 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years ago * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
davek [Fri, 3 Dec 2010 08:36:59 +0000 (08:36 +0000)]
* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
(BOOT_LDFLAGS): Add matching stack size flag.
* mh-mingw (LDFLAGS): Likewise.
(BOOT_LDFLAGS): Likewise.

13 years agodaily update
amodra [Fri, 3 Dec 2010 08:00:06 +0000 (08:00 +0000)]
daily update

13 years ago2010-11-29 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
msnyder [Fri, 3 Dec 2010 06:34:13 +0000 (06:34 +0000)]
2010-11-29  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>

* gdb.base/callfuncs.exp: Test for skip_float_tests.
* gdb.base/call-sc.exp: Ditto.
* gdb.base/finish.exp: Ditto.
* gdb.base/return.exp: Ditto.
* gdb.base/return2.exp: Ditto.

13 years ago * linespec.c (find_method): Move name canonicalization outside
kseitz [Fri, 3 Dec 2010 05:05:57 +0000 (05:05 +0000)]
* linespec.c (find_method): Move name canonicalization outside
the loop.
Be paranoid and use a cleanup.

13 years ago2010-12-02 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 3 Dec 2010 05:05:11 +0000 (05:05 +0000)]
2010-12-02  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Add National Semiconductor notice.

13 years ago2010-12-02 Craig Howland <howland@LGSInnovations.com>
jjohnstn [Fri, 3 Dec 2010 04:57:42 +0000 (04:57 +0000)]
2010-12-02  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_log2.c:  Change from using M_LOG2_E to M_LN2 define
        (from math.h--the latter is POSIX, the former non-standard).
        * libm/common/sf_log2.c:  Ditto.  Change cast for M_LN2 from float to
        float_t (in case all math not done in float).
        * libc/include/math.h:  Ditto (same 2 things as sf_log2.c).

13 years ago2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
jjohnstn [Fri, 3 Dec 2010 04:35:47 +0000 (04:35 +0000)]
2010-12-02  Jayant Sonar  jayant.sonar@kpitcummins.com
            Kaushik Phatak  kaushik.phatak@kpitcummins.com

        * configure.in: Add CR16 support.
        * configure: Regenerated.
        * cr16/aclocal.m4: New.
        * cr16/close.c: New.
        * cr16/configure: New.
        * cr16/configure.in: New.
        * cr16/crt1.S: New.
        * cr16/crti.S: New.
        * cr16/crtn.S: New.
        * cr16/dvz_hndl.c: New.
        * cr16/_exit.c: New.
        * cr16/flg_hndl.c: New.
        * cr16/fstat.c: New.
        * cr16/_getenv.c: New.
        * cr16/getpid.c: New.
        * cr16/iad_hndl.c: New.
        * cr16/intable.c: New.
        * cr16/isatty.c: New.
        * cr16/kill.c: New.
        * cr16/lseek.c: New.
        * cr16/Makefile.in: New.
        * cr16/open.c: New.
        * cr16/putnum.c: New.
        * cr16/read.c: New.
        * cr16/_rename.c: New.
        * cr16/sbrk.c: New.
        * cr16/sim.ld: New.
        * cr16/stat.c: New.
        * cr16/svc_hndl.c: New.
        * cr16/time.c: New.
        * cr16/und_hndl.c: New.
        * cr16/unlink.c: New.
        * cr16/write.c: New.

13 years ago2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.com
jjohnstn [Fri, 3 Dec 2010 04:30:46 +0000 (04:30 +0000)]
2010-12-02  Jayant Sonar  jayant.sonar@kpitcummins.com
            Kaushik Phatak  kaushik.phatak@kpitcummins.com

        * configure.host: Add CR16 support.
        * libc/include/machine/ieeefp.h: Ditto.
        * libc/include/machine/setjmp.h: Ditto.
        * libc/include/sys/config.h: Ditto.
        * libc/machine/configure.in: Ditto
        * libc/machine/configure: Regenerated
        * libc/machine/cr16/aclocal.m4: New.
        * libc/machine/cr16/configure.in: New
        * libc/machine/cr16/configure: New
        * libc/machine/cr16/getenv.c: New
        * libc/machine/cr16/Makefile.am: New
        * libc/machine/cr16/Makefile.in: New
        * libc/machine/cr16/setjmp.S: New
        * libc/machine/cr16/sys/asm.h: New
        * libc/machine/cr16/sys/libh.h: New
        * libc/machine/cr16/sys/syscall.h: New

13 years agoremove personal email address
kseitz [Thu, 2 Dec 2010 22:48:54 +0000 (22:48 +0000)]
remove personal email address

13 years agobfd/
rsandifo [Thu, 2 Dec 2010 22:28:35 +0000 (22:28 +0000)]
bfd/
* elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt,
srelgot, splt, srelplt.
(create_got_section, elf32_arm_link_hash_table_create): Don't set them.
(elf32_arm_create_dynamic_sections): Likewise.  Use htab->root
fields instead.
(arm_type_of_stub): Use the root fields instead of the removed ones.
(cortex_a8_erratum_scan, elf32_arm_size_stubs): Likewise.
(bfd_elf32_arm_process_before_allocation): Likewise.
(elf32_arm_check_relocs, allocate_dynrelocs): Likewise.
(elf32_arm_size_dynamic_sections): Likewise.
(elf32_arm_output_arch_local_syms): Likewise.
(elf32_arm_final_link_relocate): Set sgot, splt and srelgot from the
htab fields instead of looking them up by name.  Consistently use
these local variables instead of htab fields.
(elf32_arm_finish_dynamic_symbol): Likewise sgot, splt and srel.
Use srelbss instead of looking it up by name.
(elf32_arm_finish_dynamic_sections): Use sgotplt, splt and srelplt
instead of looking up the symbols by name.  Use the root fields
instead of the removed ones.

13 years agobfd/
rsandifo [Thu, 2 Dec 2010 22:27:21 +0000 (22:27 +0000)]
bfd/
* elf32-arm.c (elf32_arm_relocs_copied): Delete.
(elf32_arm_link_hash_entry): Replace relocs_copied with dyn_relocs.
(elf32_arm_link_hash_newfunc): Update accordingly.
(elf32_arm_copy_indirect_symbol, elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs, allocate_dynrelocs): Likewise.
(elf32_arm_readonly_dynrelocs): Likewise.
(elf32_arm_size_dynamic_sections): Likewise.

13 years agogas/
rsandifo [Thu, 2 Dec 2010 22:25:12 +0000 (22:25 +0000)]
gas/
* symbols.c (S_FORCE_RELOC): Return true for indirect functions
even if !strict.
* expr.c (operand): Don't convert absolute symbols to constants
if S_FORCE_RELOC is true.
(expr): Only reduce subtractions between different symbols if
S_FORCE_RELOC is false for both of them.
* write.c (fixup_segment): Don't remove symbols if S_FORCE_RELOC
is true for them, regardless of their segment.

gas/testsuite/
* gas/i386/ifunc-2.s, gas/i386/ifunc-2.l: New test.
* gas/i386/ifunc-3.s, gas/i386/ifunc-3.d: Likeise.
* gas/i386/i386.exp: Run them.

13 years ago* pdp11.c (aout_link_add_symbols): Ignore debug symbols.
pkoning [Thu, 2 Dec 2010 20:53:06 +0000 (20:53 +0000)]
* pdp11.c (aout_link_add_symbols): Ignore debug symbols.

13 years ago * net.cc (get_xp_ifs): Fix counting of idx to return stable interface
corinna [Thu, 2 Dec 2010 20:39:15 +0000 (20:39 +0000)]
* net.cc (get_xp_ifs): Fix counting of idx to return stable interface
alias names for interfaces with multiple IPv4 addresses.

13 years ago * generic/gdbtk-hooks.c (gdbtk_annotate_signal): Update to reflect
kseitz [Thu, 2 Dec 2010 15:47:59 +0000 (15:47 +0000)]
* generic/gdbtk-hooks.c (gdbtk_annotate_signal): Update to reflect
recnet thread_info changes.

13 years agoBreak long lines.
hjl [Thu, 2 Dec 2010 10:26:07 +0000 (10:26 +0000)]
Break long lines.

13 years agoRe-indent plugin.h.
hjl [Thu, 2 Dec 2010 10:22:54 +0000 (10:22 +0000)]
Re-indent plugin.h.

2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>

* plugin.h: Re-indent.

13 years ago*** empty log message ***
gdbadmin [Thu, 2 Dec 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Thu, 2 Dec 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * symbols.h (dot_symbol): New declaration.
macro [Thu, 2 Dec 2010 06:34:10 +0000 (06:34 +0000)]
* symbols.h (dot_symbol): New declaration.
(dot_symbol_init): New prototype.
* symbols.c (dot_symbol): New variable.
(symbol_clone): Assert it's not dot_symbol being cloned.
(dot_symbol_init): New function.
(symbol_clone_if_forward_ref): Create a new temporary symbol
when trying to clone dot_symbol.
* expr.c (current_location): Refer to dot_symbol instead of
making a new temporary symbol.
* read.c (read_a_source_file): Update dot_symbol as we go.
* as.c (main): Call dot_symbol_init.

13 years ago * symbols.c (symbol_clone_if_forward_ref): Don't limit cloning
macro [Thu, 2 Dec 2010 05:35:13 +0000 (05:35 +0000)]
* symbols.c (symbol_clone_if_forward_ref): Don't limit cloning
to expr_section symbols; clone all equated symbols.  Clear
sy_resolving of the cloned copy.
* expr.c (operand): Only clone equated symbols on a final
(i.e. non-equated) reference.

13 years ago * config/tc-mips.c (md_convert_frag): Remove a call to
macro [Thu, 2 Dec 2010 05:30:04 +0000 (05:30 +0000)]
* config/tc-mips.c (md_convert_frag): Remove a call to
S_GET_VALUE and use the result of resolve_symbol_value as the
value of the symbol processed in MIPS16 relaxation.

13 years ago * dwarf_reader.h (class Sized_dwarf_line_info): Add
ian [Thu, 2 Dec 2010 04:49:21 +0000 (04:49 +0000)]
* dwarf_reader.h (class Sized_dwarf_line_info): Add
track_relocs_type_ field.
* dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info):
Set track_relocs_type_.
(Sized_dwarf_line_info::process_one_opcode): Ignore the section
contents when using RELA relocs.
(Sized_dwarf_line_info::read_relocs): Add the reloc addend to
reloc_map_.
* reloc.cc (Track_relocs::next_addend): New function.
* reloc.h (class Track_relocs): Declare next_addend.

13 years ago * dwarf2read.c (save_gdb_index_command): Add comment.
devans [Thu, 2 Dec 2010 04:37:35 +0000 (04:37 +0000)]
* dwarf2read.c (save_gdb_index_command): Add comment.

13 years ago * testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
ian [Thu, 2 Dec 2010 01:53:57 +0000 (01:53 +0000)]
* testsuite/icf_virtual_function_folding_test.cc (class Bar): Add
virtual destructor.

13 years ago * README: Update compilers known to work and fail.
ian [Thu, 2 Dec 2010 01:51:44 +0000 (01:51 +0000)]
* README: Update compilers known to work and fail.

13 years ago * valops.c (value_assign): Returned value is never lazy. If a
uweigand [Thu, 2 Dec 2010 01:49:40 +0000 (01:49 +0000)]
* valops.c (value_assign): Returned value is never lazy.  If a
C++ class type is returned, fix incorrect enclosing type / embedded
offset.  If internal variable is returned, allocate new internalvar
value using value_of_internalvar.

* NEWS: Document changes in behavior of "print x = 0" and similar
expressions.

13 years ago2010-12-01 Kai Tietz <kai.tietz@onevision.com>
ktietz [Wed, 1 Dec 2010 23:15:05 +0000 (23:15 +0000)]
2010-12-01  Kai Tietz  <kai.tietz@onevision.com>

       PR binutils/11065
       * dlltool.c (dll_name_set_by_exp_name): New variable.
       (def_name): Allow setting of dll_name by .def file.
       (def_library): Likewise.
       (main): Set dll_name_set_by_exp_name, if dll_name is
       set indirect by exp_name.

13 years ago*** empty log message ***
gdbadmin [Wed, 1 Dec 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Wed, 1 Dec 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
devans [Wed, 1 Dec 2010 02:41:13 +0000 (02:41 +0000)]
* lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
(gdb_expect_list): Fix spelling errors in comments.
* gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
send_gdb/gdb_expect_list where applicable.
* gdb.base/call-ar-st.exp: Ditto.
* gdb.base/funcargs.exp: Ditto.
* gdb.base/gcore.exp: Ditto.
* gdb.base/page.exp: Ditto.
* gdb.base/sigaltstack.exp: Ditto.
* gdb.base/siginfo.exp: Ditto.
* gdb.base/sigstep.exp: Ditto.
* gdb.base/trace-commands.exp: Ditto.

13 years ago * ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test
mgretton [Tue, 30 Nov 2010 22:38:58 +0000 (22:38 +0000)]
* ld/testsuite/ld-scripts/script.exp: Remove full path from REGION_ALIAS test
names.

13 years agoAdd sparc64-rtems.
amodra [Tue, 30 Nov 2010 10:14:06 +0000 (10:14 +0000)]
Add sparc64-rtems.

13 years ago*** empty log message ***
gdbadmin [Tue, 30 Nov 2010 09:00:32 +0000 (09:00 +0000)]
*** empty log message ***

13 years ago * python/lib/gdb/printing.py (register_pretty_printer): Change
devans [Tue, 30 Nov 2010 08:20:56 +0000 (08:20 +0000)]
* python/lib/gdb/printing.py (register_pretty_printer): Change
printer-name:subprinter-name to printer-name;subprinter-name.
* python/lib/gdb/command/pretty_printers.py (parse_printer_regexps):
Ditto.
(InfoPrettyPrinter, EnablePrettyPrinter, DisablePrettyPrinter): Ditto.

doc/
* gdb.texinfo (Pretty-Printer Introduction): Change
printer-name:subprinter-name to printer-name;subprinter-name.

testsuite/
* gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
printer-name;subprinter-name.

13 years agodaily update
amodra [Tue, 30 Nov 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years agogdb
tromey [Tue, 30 Nov 2010 06:18:15 +0000 (06:18 +0000)]
gdb
* opencl-lang.c (lval_func_check_synthetic_pointer): New
function.
* value.h (struct lval_funcs) <indirect, check_synthetic_pointer>:
New fields.
(value_bits_synthetic_pointer): Declare.
* value.c (value_bits_synthetic_pointer): New function.
* valprint.c (valprint_check_validity): Handle synthetic
pointers.
* valops.c (value_ind): Use new 'indirect' lval_funcs method.
* valarith.c (value_ptradd): Use set_value_component_location.
* p-valprint.c (pascal_object_print_value_fields): Handle
synthetic pointers.
* jv-valprint.c (java_print_value_fields): Handle synthetic
pointers.
* dwarf2read.c (dwarf_stack_op_name): Add
DW_OP_GNU_implicit_pointer.
(dwarf2_fetch_die_location_block): Add get_frame_pc, baton
arguments.  Handle location lists.
(fill_in_loclist_baton): New function.
(dwarf2_symbol_mark_computed): Use it.
* dwarf2loc.h (dwarf2_find_location_expression): Declare.
(dwarf2_fetch_die_location_block): Add get_frame_pc, baton
arguments.
* dwarf2loc.c (dwarf2_find_location_expression): Rename from
find_location_expression.  No longer static.  Update all callers.
(dwarf_expr_frame_pc): New function.
(per_cu_dwarf_call): Add get_frame_pc, baton arguments.  Update
all callers.
(struct piece_closure) <per_cu>: New field.
(allocate_piece_closure): Add per_cu argument.
(read_pieced_value): Handle DWARF_VALUE_IMPLICIT_POINTER.
(check_pieced_value_bits): Remove validity argument, add check_for
argument.  Handle DWARF_VALUE_IMPLICIT_POINTER.
(check_pieced_value_validity, check_pieced_value_invalid):
Update.
(check_pieced_synthetic_pointer): New function.
(get_frame_address_in_block_wrapper): New function.
(indirect_pieced_value): New function.
(pieced_value_funcs): Update.
(invalid_synthetic_pointer): New function.
(dwarf2_evaluate_loc_desc_full): Rename from
dwarf2_evaluate_loc_desc.  Add byte_offset argument.
(dwarf2_evaluate_loc_desc): Rewrite.
(dwarf2_loc_desc_needs_frame): Set new field on context.
(get_ax_pc): New function.
(disassemble_dwarf_expression): Handle
DW_OP_GNU_implicit_pointer.
* dwarf2expr.h (enum dwarf_value_location)
<DWARF_VALUE_IMPLICIT_POINTER>: New constant.
(struct dwarf_expr_context) <get_frame_pc>: New field.
(struct dwarf_expr_piece) <v.ptr>: New field.
* dwarf2expr.c (add_piece): Handle DWARF_VALUE_IMPLICIT_POINTER.
(execute_stack_op): Handle DW_OP_GNU_implicit_pointer.
* dwarf2-frame.c (no_get_frame_pc): New function.
(execute_stack_op): Set new field on context.
* cp-valprint.c (cp_print_value_fields): Handle synthetic
pointers.
gdb/testsuite
* gdb.dwarf2/implptr.exp: New file.
* gdb.dwarf2/implptr.c: New file.
* gdb.dwarf2/implptr.S: New file.

13 years ago * fhandler_tty.cc (fhandler_tty_slave::dup): Free path_conv strings
corinna [Tue, 30 Nov 2010 05:51:37 +0000 (05:51 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::dup): Free path_conv strings
to avoid memory leak.  Add comment.
(fhandler_pty_master::dup): Ditto.
* path.h (path_conv::free_strings): New method.

13 years agomerge from gcc
dj [Tue, 30 Nov 2010 01:34:10 +0000 (01:34 +0000)]
merge from gcc

13 years ago2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
pmuldoon [Mon, 29 Nov 2010 22:49:02 +0000 (22:49 +0000)]
2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12199

* python/py-breakpoint.c (bppy_delete_breakpoint): New function.

2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12199

* gdb.python/py-breakpoint.exp: Test the delete method.

2010-11-29  Phil Muldoon  <pmuldoon@redhat.com>

        PR python/12199

* gdb.texinfo (Breakpoints In Python): Document "delete" method.

13 years ago * libm/complex/catan.c, libm/complex/catanf.c,
corinna [Mon, 29 Nov 2010 21:15:01 +0000 (21:15 +0000)]
* libm/complex/catan.c, libm/complex/catanf.c,
libm/complex/ctan.c, libm/complex/ctanf.c:
Use HUGE_VAL instead of MAXNUM.

13 years ago* configure.ac: Move comment to remove extra space in last argument
schwab [Mon, 29 Nov 2010 20:01:42 +0000 (20:01 +0000)]
* configure.ac: Move comment to remove extra space in last argument
of GCC_TARGET_TOOL.

13 years ago*** empty log message ***
gdbadmin [Mon, 29 Nov 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Mon, 29 Nov 2010 08:00:06 +0000 (08:00 +0000)]
daily update

13 years agogdb/
jkratoch [Sun, 28 Nov 2010 13:33:45 +0000 (13:33 +0000)]
gdb/
Fix step_resume_breakpoint unsaved during an infcall.
* gdbthread.h (struct thread_control_state): Move here field
step_resume_breakpoint ...
(struct thread_info): ... from here.
* infrun.c (save_infcall_control_state): Reset
control.step_resume_breakpoint to NULL.
(restore_infcall_control_state, discard_infcall_control_state): Delete
control.step_resume_breakpoint.
* arm-linux-tdep.c, infrun.c, thread.c: Update all the references to
the moved field.

gdb/testsuite/
Fix step_resume_breakpoint unsaved during an infcall.
* gdb.base/step-resume-infcall.exp: New file.
* gdb.base/step-resume-infcall.c: New file.

13 years agogdb/
jkratoch [Sun, 28 Nov 2010 13:31:21 +0000 (13:31 +0000)]
gdb/
Rename and move inferior_thread_state and inferior_status.
* gdbthread.h (struct thread_control_state): New struct, move fields
step_range_start, step_range_end, step_frame_id, step_stack_frame_id,
trap_expected, proceed_to_finish, in_infcall, step_over_calls,
stop_step and stop_bpstat here from struct thread_info.
(struct thread_suspend_state): New struct, move field stop_signal here
from struct thread_info.
(struct thread_info): Move the fields above from this struct.
* inferior.h: Move the inferior_thread_state and inferior_status
declarations comment to their definitions at infrun.c.
(struct inferior_control_state): New struct, move field stop_soon from
struct inferior here.
(struct inferior_suspend_state): New empty struct.
(struct inferior): New fields control and suspend.  Move out field
stop_soon.
* infrun.c (struct inferior_thread_state): Rename to ...
(infcall_suspend_state): ... here.  Replace field stop_signal by
fields thread_suspend and inferior_suspend.
(save_inferior_thread_state): Rename to ...
(save_infcall_suspend_state): ... here.  New variable inf.  Update the
code for new fields.
(restore_inferior_thread_state): Rename to ...
(restore_infcall_suspend_state): ... here.  New variable inf.  Update
the code for new fields.
(do_restore_inferior_thread_state_cleanup): Rename to ...
(do_restore_infcall_suspend_state_cleanup): ... here.
(make_cleanup_restore_inferior_thread_state): Rename to ...
(make_cleanup_restore_infcall_suspend_state): ... here.
(discard_inferior_thread_state): Rename to ...
(discard_infcall_suspend_state): ... here.
(get_inferior_thread_state_regcache): Rename to ...
(get_infcall_suspend_state_regcache): ... here.
(struct inferior_status): Rename to ...
(struct infcall_control_state): ... here.  Replace fields
step_range_start, step_range_end, step_frame_id, step_stack_frame_id,
trap_expected, proceed_to_finish, in_infcall, step_over_calls,
stop_step, stop_bpstat and stop_soon by fields thread_control and
inferior_control.
(save_inferior_status): Rename to ...
(save_infcall_control_state): ... here.  Update the code for new
fields.
(restore_inferior_status): Rename to ...
(restore_infcall_control_state): ... here.  Update the code for new
fields.
(do_restore_inferior_status_cleanup): Rename to ...
(do_restore_infcall_control_state_cleanup): ... here.
(make_cleanup_restore_inferior_status): Rename to ...
(make_cleanup_restore_infcall_control_state): ... here.
(discard_inferior_status): Rename to ...
(discard_infcall_control_state): ... here.
* alpha-tdep.c, breakpoint.c, dummy-frame.c, dummy-frame.h,
exceptions.c, fbsd-nat.c, gdbthread.h, infcall.c, infcmd.c,
inferior.c, inferior.h, infrun.c, linux-nat.c, mi/mi-interp.c,
mips-tdep.c, procfs.c, solib-irix.c, solib-osf.c, solib-spu.c,
solib-sunos.c, solib-svr4.c, thread.c, windows-nat.c: Update all the
references to the moved fields and renamed functions.

13 years ago*** empty log message ***
gdbadmin [Sun, 28 Nov 2010 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sun, 28 Nov 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.
ebotcazou [Sun, 28 Nov 2010 00:55:17 +0000 (00:55 +0000)]
* bootstrap-lto.mk (BOOT_ADAFLAGS): Delete.

13 years ago*** empty log message ***
gdbadmin [Sat, 27 Nov 2010 09:00:02 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Sat, 27 Nov 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * libm/complex/cargf.c: Use crealf instead of creal.
corinna [Fri, 26 Nov 2010 17:59:21 +0000 (17:59 +0000)]
* libm/complex/cargf.c: Use crealf instead of creal.

13 years ago * dwarf.c (decode_location_expression, display_debug_frames): Move
amodra [Fri, 26 Nov 2010 14:35:01 +0000 (14:35 +0000)]
* dwarf.c (decode_location_expression, display_debug_frames): Move
code handling DW_EH_PE_pcrel into..
(get_encoded_value): ..here.

13 years agoPR other/46020
aoliva [Fri, 26 Nov 2010 13:56:38 +0000 (13:56 +0000)]
PR other/46020
* configure.ac (CXX_FOR_TARGET): Add -funconfigured-libstdc++-v3.
* Makefile.def (CXX_FOR_TARGET): Removed from flags_to_pass.
* Makefile.tpl (CXX_FOR_TARGET_FLAG_TO_PASS): New.
(BASE_FLAGS_TO_PASS): Use it.
* configure: Rebuilt.
* Makefile.in: Rebuilt.

13 years agogdb/
jkratoch [Fri, 26 Nov 2010 12:39:09 +0000 (12:39 +0000)]
gdb/
* infcall.c (struct inferior_thread_state) <siginfo_gdbarch>: Fix up
the comment.
(save_inferior_thread_state): Reset tp->stop_signal.

13 years agoFix ChangeLog entry.
jkratoch [Fri, 26 Nov 2010 09:33:56 +0000 (09:33 +0000)]
Fix ChangeLog entry.

13 years agogdb/
jkratoch [Fri, 26 Nov 2010 09:30:31 +0000 (09:30 +0000)]
gdb/
* infcall.c (caller_state_cleanup): Remove variable caller_state_cleanup.

13 years agoupdate japanese translation
amodra [Fri, 26 Nov 2010 09:00:53 +0000 (09:00 +0000)]
update japanese translation

13 years ago*** empty log message ***
gdbadmin [Fri, 26 Nov 2010 09:00:03 +0000 (09:00 +0000)]
*** empty log message ***

13 years ago2010-11-25 Marc Khouzam <marc.khouzam@ericsson.com>
marckhouzam [Fri, 26 Nov 2010 08:17:30 +0000 (08:17 +0000)]
2010-11-25  Marc Khouzam  <marc.khouzam@ericsson.com>

PR breakpoints/12217

* breakpoint.c (is_marker_spec): Check for NULL.

13 years agodaily update
amodra [Fri, 26 Nov 2010 08:00:05 +0000 (08:00 +0000)]
daily update

13 years ago * breakpoint.h: No longer include python.h or python-internal.h.
palves [Thu, 25 Nov 2010 22:10:04 +0000 (22:10 +0000)]
* breakpoint.h: No longer include python.h or python-internal.h.
(struct breakpoint_object): Forward declare.
* defs.h (PyObject) [!HAVE_PYTHON]: Don't define.
* varobj.c (PyObject) [!HAVE_PYTHON]: Define.
* python/py-breakpoint.c (build_bp_list): Cast py_bp_object to
PyObject pointer.
(gdbpy_breakpoint_created): Remove casts around py_bp_object
accesses.

13 years ago * ld/testsuite/ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument in
mgretton [Thu, 25 Nov 2010 18:34:41 +0000 (18:34 +0000)]
* ld/testsuite/ld-arm/arm-elf.exp (armeabitests): Replace --defsym argument in
jump-reloc-veneers* tests with --section-start .text=0x8000.

13 years ago2010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 25 Nov 2010 18:33:50 +0000 (18:33 +0000)]
2010-11-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/tc-s390.c (current_cpu): Initialize with latest CPU.
(init_default_arch): Default to z/Architecture mode if CPU provides it.
Remove the check setting the CPU default.

2010-11-25  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* opcode/s390.h (enum s390_opcode_cpu_val): Add S390_OPCODE_MAXCPU.

13 years agoUpdate translations
amodra [Thu, 25 Nov 2010 15:08:42 +0000 (15:08 +0000)]
Update translations

13 years ago * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot
amodra [Thu, 25 Nov 2010 12:02:59 +0000 (12:02 +0000)]
* scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot
sections.

13 years ago PR gas/12264
amodra [Thu, 25 Nov 2010 10:15:13 +0000 (10:15 +0000)]
PR gas/12264
* compress-debug.c: Include config.h first.

13 years agoAdd rs6000-core.c/.o to the list of optional backend files...
brobecke [Thu, 25 Nov 2010 10:06:29 +0000 (10:06 +0000)]
Add rs6000-core.c/.o to the list of optional backend files...

This makes sure that rs6000-core.c gets recompiled whenever any of its
dependencies get changed.

bfd/ChangeLog:

        * Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo.
        (OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c.
        * Makefile.in: Regenerate.

13 years agoBuild failure on ppc-aix (bfd_elf_get_obj_attr_int is undefined)
brobecke [Thu, 25 Nov 2010 09:23:38 +0000 (09:23 +0000)]
Build failure on ppc-aix (bfd_elf_get_obj_attr_int is undefined)

bfd_uses_spe_extensions should only be used when BFD has been built
with ELF support.  The typical way of checking that in GDB is to use
the HAVE_ELF macro.

gdb/ChangeLog:

        * rs6000-tdep.c (bfd_uses_spe_extensions): Use bfd_elf_get_obj_attr_int
        only if HAVE_ELF is defined.

13 years ago*** empty log message ***
gdbadmin [Thu, 25 Nov 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years agodaily update
amodra [Thu, 25 Nov 2010 08:00:04 +0000 (08:00 +0000)]
daily update

13 years agogas: bfin: convert to new doc style
vapier [Thu, 25 Nov 2010 07:20:01 +0000 (07:20 +0000)]
gas: bfin: convert to new doc style

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years agogdb/
jkratoch [Thu, 25 Nov 2010 04:08:30 +0000 (04:08 +0000)]
gdb/
Code cleanup.
* infrun.c (struct inferior_status) <stepping_over_breakpoint>
(save_inferior_status) <stepping_over_breakpoint>
(restore_inferior_status) <stepping_over_breakpoint>: Rename to
trap_expected.
(struct inferior_status) <step_resume_break_address>: Remove.

13 years agogdb/
jkratoch [Thu, 25 Nov 2010 04:05:45 +0000 (04:05 +0000)]
gdb/
* infrun.c (struct inferior_status, save_inferior_status)
(restore_inferior_status): Group and reorder the fields, comment their
groups.

13 years agogdb/
jkratoch [Thu, 25 Nov 2010 04:01:49 +0000 (04:01 +0000)]
gdb/
Code cleanup.
* dictionary.c
(struct dict_vector) <iter_match_first, iter_match_next>
(iter_match_first_hashed, iter_match_next_hashed)
(iter_match_first_linear, iter_match_next_linear)
(dict_iter_match_first, dict_iter_match_next, iter_match_first_hashed)
(iter_match_next_hashed, iter_match_first_linear)
(iter_match_next_linear): Use symbol_compare_ftype.
* dictionary.h: Include symfile.h.
(dict_iter_match_first, dict_iter_match_next): Use
symbol_compare_ftype.
* dwarf2read.c (dw2_map_matching_symbols): Likewise.
* psymtab.c (match_partial_symbol, match_partial_symbol, map_block)
(map_matching_symbols_psymtab): Likewise.
* symfile.h (symbol_compare_ftype): New typedef.
(struct quick_symbol_functions) <map_matching_symbols): Use
symbol_compare_ftype.

13 years ago2010-11-24 Edjunior Machado <emachado@br.ibm.com>
bauermann [Thu, 25 Nov 2010 03:06:17 +0000 (03:06 +0000)]
2010-11-24  Edjunior Machado  <emachado@br.ibm.com>

* gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.

13 years ago2010-11-24 Edjunior Machado <emachado@br.ibm.com>
bauermann [Thu, 25 Nov 2010 02:57:30 +0000 (02:57 +0000)]
2010-11-24  Edjunior Machado  <emachado@br.ibm.com>

* gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
on ppc64's symbols; "finish" and "return" commands must accept to
show the caller line again as well as the line after.
* gdb.asm/powerpc64.inc: New file.

13 years ago*** empty log message ***
gdbadmin [Wed, 24 Nov 2010 09:00:33 +0000 (09:00 +0000)]
*** empty log message ***

13 years ago PR ld/12253
amodra [Wed, 24 Nov 2010 08:30:03 +0000 (08:30 +0000)]
PR ld/12253
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct
DW_EH_PE_datarel handling.  Truncate .eh_frame_hdr address to
ptr_size.

13 years agodaily update
amodra [Wed, 24 Nov 2010 08:00:04 +0000 (08:00 +0000)]
daily update

13 years ago * lib/gdb.exp (gdb_test_sequence): New function.
devans [Wed, 24 Nov 2010 07:25:36 +0000 (07:25 +0000)]
* lib/gdb.exp (gdb_test_sequence): New function.
(gdb_expect_list): Add verbose -log call for each pattern.
* gdb.base/signals.exp (test_handle_all_print): Call it.
Reduce timeout increment from 6 minutes to 1 minute.
* gdb.server/ext-run.exp: Call it.

13 years agoinclude/opcode/
rsandifo [Wed, 24 Nov 2010 05:24:32 +0000 (05:24 +0000)]
include/opcode/
* mips.h: Fix previous commit.

13 years ago2010-11-23 Sterling Augustine <sterling@tensilica.com>
sterling [Wed, 24 Nov 2010 04:19:36 +0000 (04:19 +0000)]
2010-11-23  Sterling Augustine  <sterling@tensilica.com>

* doc/as.texinfo: Refer to and include c-xtensa.texi for Xtensa
options.  Move Xtensa options to proper alphabetical location.
* doc/c-xtensa.texi: Add markup for use in manpage generation.

13 years agoProperly check default linker.
hjl [Wed, 24 Nov 2010 03:10:12 +0000 (03:10 +0000)]
Properly check default linker.

2010-11-23  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/12258
* configure.ac: Correct comments for --enable-gold/--enable-ld.
Properly check default linker.
* configure: Regnerated.

13 years ago * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.
nickc [Wed, 24 Nov 2010 02:04:09 +0000 (02:04 +0000)]
* mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.
(INSN_LOONGSON_3A): Clear bit 31.

* elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a
after bfd_mach_mips_sb1.

* config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1.

13 years ago * autoload.cc (SendARP): Remove.
corinna [Wed, 24 Nov 2010 00:37:41 +0000 (00:37 +0000)]
* autoload.cc (SendARP): Remove.
* net.cc (get_flags): Set IFF_NOARP flag for PPP and SLIP devices.
(get_xp_ifs): Unify IFF_BROADCAST setting.  Drop calling SendARP to
set IFF_NOARP flag.

13 years agoRefer to and include c-i386.texi for i386 options.
hjl [Wed, 24 Nov 2010 00:27:35 +0000 (00:27 +0000)]
Refer to and include c-i386.texi for i386 options.

2010-11-23  H.J. Lu  <hongjiu.lu@intel.com>

* doc/as.texinfo: Refer to and include c-i386.texi for i386
options.

* doc/c-i386.texi: Add markup for use in manpage generation.

13 years agogdb
tromey [Tue, 23 Nov 2010 23:39:14 +0000 (23:39 +0000)]
gdb
* configure: Rebuild.
* configure.ac (READLINE_TEXI_INCFLAG): New subst.
gdb/doc
* gdb.texinfo (Top): Check SYSTEM_READLINE.
(Editing): Likewise.
(Command History): Likewise.
(TUI Keys): Likewise.
(Bug Reporting): Conditionally include rluser.texi and
inc-history.texinfo.
* Makefile.in (READLINE_TEXI_INCFLAG): New variable.
(GDB_DOC_SOURCE_INCLUDES): Add comment.
(GDBvn.texi): Set SYSTEM_READLINE when appropriate.
(gdb.dvi): Use READLINE_TEXI_INCFLAG.
(gdb.pdf): Likewise.
(gdb.info): Likewise.
(gdb/index.html): Likewise.

13 years agogdb
tromey [Tue, 23 Nov 2010 23:37:15 +0000 (23:37 +0000)]
gdb
* Makefile.in (SUBDIRS): Add doc.
* configure: Rebuild.
* configure.ac: Don't configure in doc.  Create doc/Makefile.
gdb/doc
* Makefile.in (Makefile): Run ../config.status.
(distclean): Update.
* configure: Remove.
* configure.ac: Remove.

13 years ago * configure.ac: For --enable-gold, handle value `default' instead of
nickc [Tue, 23 Nov 2010 22:39:56 +0000 (22:39 +0000)]
* configure.ac: For --enable-gold, handle value `default' instead of
`both*'.   New configure option --{en,dis}able-ld.

ld, gold/
* configure.ac: For --enable-gold, handle value `default' instead of
`both*'. Always install ld as ld.gold, install as ld if gold is
the default.