gdbadmin [Mon, 19 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 18 Nov 2007 23:00:07 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 18 Nov 2007 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 17 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Eli Zaretskii [Sat, 17 Nov 2007 15:33:46 +0000 (15:33 +0000)]
(Set Breaks): Fix a typo in last change.
Thiemo Seufer [Sat, 17 Nov 2007 14:19:19 +0000 (14:19 +0000)]
* config/tc-mips.c (md_parse_option): Match mips_optimize to the -O
option supplied, but still keep mips_optimize == 2 as default value.
Thiemo Seufer [Sat, 17 Nov 2007 13:38:57 +0000 (13:38 +0000)]
[ld/testsuite/ChangeLog]
* ld-mips-elf/attr-gnu-4-14.d, ld-mips-elf/attr-gnu-4-41.d:
Adjust warning message for -mfp64 flag.
* ld-mips-elf/attr-gnu-4-5.s, ld-mips-elf/attr-gnu-4-04.d,
ld-mips-elf/attr-gnu-4-51.d, ld-mips-elf/attr-gnu-4-05.d,
ld-mips-elf/attr-gnu-4-15.d, ld-mips-elf/attr-gnu-4-24.d,
ld-mips-elf/attr-gnu-4-25.d, ld-mips-elf/attr-gnu-4-34.d,
ld-mips-elf/attr-gnu-4-35.d, ld-mips-elf/attr-gnu-4-42.d,
ld-mips-elf/attr-gnu-4-43.d, ld-mips-elf/attr-gnu-4-44.d,
ld-mips-elf/attr-gnu-4-45.d, ld-mips-elf/attr-gnu-4-40.d,
ld-mips-elf/attr-gnu-4-14.d: New testcases files.
* ld-mips-elf/mips-elf.exp: Run new testcases.
[binutils/ChangeLog]
* readelf.c (display_mips_gnu_attribute): Recognize -mips32r2 -mfp64
objects.
[include/ChangeLog]
* elf/mips.h (Tag_GNU_MIPS_ABI_FP): Mention -mips32r2 -mfp64 variant
in comment.
[bfd/ChangeLog]
* elfxx-mips.c (mips_elf_merge_obj_attributes): Handle -mips32r2
-mfp64 attribute.
[gas/ChangeLog]
* doc/as.texinfo: Document the new attribute value.
Eli Zaretskii [Sat, 17 Nov 2007 11:56:02 +0000 (11:56 +0000)]
* gdb.texinfo (Set Breaks, Disabling): Clarify behavior of
breakpoints with multiple locations.
(Breakpoint Menus): Improve wording.
(Output): Fix last change.
Ian Lance Taylor [Sat, 17 Nov 2007 02:49:22 +0000 (02:49 +0000)]
From Craig Silverstein: Quote the symbol name in the ODR violation
message to avoid a gcc collect2 demangling bug.
Ulrich Weigand [Sat, 17 Nov 2007 01:02:40 +0000 (01:02 +0000)]
Fix broken check-in -- forgot to cvs remove file.
Ulrich Weigand [Sat, 17 Nov 2007 01:02:01 +0000 (01:02 +0000)]
* configure.ac (--enable-targets): New configure option.
Collect gdb_target_obs of multiple targets into TARGET_OBS.
Call configure.tgt multiple times, using $targ as operand.
* configure.tgt: Operate on $targ instead of $target.
* configure: Regenerate.
* Makefile.in (ALL_TARGET_OBS): Define.
* NEWS: Mention --enable-targets option.
Ulrich Weigand [Sat, 17 Nov 2007 00:57:41 +0000 (00:57 +0000)]
* mips-tdep.c (show_mipsfpu_command): Do not crash if called when
current architecture is not MIPS.
Ulrich Weigand [Sat, 17 Nov 2007 00:57:01 +0000 (00:57 +0000)]
* cli/cli-setshow.c (do_setshow_command): Use dynamically sized buffer
to construct error message if no argument was supplied.
Ulrich Weigand [Sat, 17 Nov 2007 00:56:11 +0000 (00:56 +0000)]
* i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Remove.
(i386nbsd_aout_regset_from_core_section): Likewise.
(i386nbsd_aout_init_abi): Likewise.
(_initialize_i386nbsd_tdep): Do not register i386nbsd_aout_init_abi.
* vaxnbsd-tdep.c (vaxnbsd_aout_init_abi): Remove.
(_initialize_vaxnbsd_tdep): Do not register vaxnbsd_aout_init_abi.
Ulrich Weigand [Sat, 17 Nov 2007 00:55:29 +0000 (00:55 +0000)]
* amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix.
(amd64fbsd_sigtramp_end_addr): Likewise.
* iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type.
(iq2000_address_to_pointer): Likewise.
(iq2000_frame_prev_register): Likewise.
(iq2000_extract_return_value): Use regcache_cooked_read_unsigned
instead of regcache_cooked_read into CORE_ADDR variable.
(iq2000_return_value): Fix argument types.
* m32r-rom.c (m32r_load_section): Fix printf argument type.
(m32r_load): Likewise.
* m68kbsd-tdep.c: Include "gdbtypes.h".
* Makefile.in: Update dependencies.
* mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation.
* nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing
lmo->l_addr_size element.
* remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address.
(m32r_insert_breakpoint): Likewise.
(m32r_remove_breakpoint): Likewise.
(m32r_insert_watchpoint): Likewise.
(m32r_remove_watchpoint): Likewise.
(m32r_load): Fix printf argument type.
* xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf
argument type.
(xtensa_frame_this_id): Do not cast pointers to "int" for output.
(xtensa_frame_prev_register): Likewise.
(xtensa_push_dummy_call): Likewise.
Ulrich Weigand [Sat, 17 Nov 2007 00:54:18 +0000 (00:54 +0000)]
* config/alpha/alpha-linux.mt: Remove file.
* config/alpha/alpha.mt: Remove file.
* config/alpha/alpha-osf1.mt: Remove file.
* config/alpha/fbsd.mt: Remove file.
* config/alpha/nbsd.mt: Remove file.
* config/alpha/obsd.mt: Remove file.
* config/arm/embed.mt: Remove file.
* config/arm/linux.mt: Remove file.
* config/arm/nbsd.mt: Remove file.
* config/arm/obsd.mt: Remove file.
* config/arm/wince.mt: Remove file.
* config/avr/avr.mt: Remove file.
* config/cris/cris.mt: Remove file.
* config/frv/frv.mt: Remove file.
* config/h8300/h8300.mt: Remove file.
* config/i386/cygwin.mt: Remove file.
* config/i386/fbsd64.mt: Remove file.
* config/i386/fbsd.mt: Remove file.
* config/i386/i386gnu.mt: Remove file.
* config/i386/i386.mt: Remove file.
* config/i386/i386sol2.mt: Remove file.
* config/i386/linux64.mt: Remove file.
* config/i386/linux.mt: Remove file.
* config/i386/mingw.mt: Remove file.
* config/i386/nbsd64.mt: Remove file.
* config/i386/nbsd.mt: Remove file.
* config/i386/nto.mt: Remove file.
* config/i386/obsd64.mt: Remove file.
* config/i386/obsd.mt: Remove file.
* config/i386/sol2-64.mt: Remove file.
* config/ia64/ia64.mt: Remove file.
* config/ia64/linux.mt: Remove file.
* config/iq2000/iq2000.mt: Remove file.
* config/m32c/m32c.mt: Remove file.
* config/m32r/linux.mt: Remove file.
* config/m32r/m32r.mt: Remove file.
* config/m68hc11/m68hc11.mt: Remove file.
* config/m68k/linux.mt: Remove file.
* config/m68k/monitor.mt: Remove file.
* config/m68k/nbsd.mt: Remove file.
* config/m68k/obsd.mt: Remove file.
* config/m88k/obsd.mt: Remove file.
* config/mep/mep.mt: Remove file.
* config/mips/embed.mt: Remove file.
* config/mips/irix5.mt: Remove file.
* config/mips/irix6.mt: Remove file.
* config/mips/linux.mt: Remove file.
* config/mips/nbsd.mt: Remove file.
* config/mips/obsd64.mt: Remove file.
* config/mn10300/linux.mt: Remove file.
* config/mn10300/mn10300.mt: Remove file.
* config/mt/mt.mt: Remove file.
* config/pa/hppahpux.mt: Remove file.
* config/pa/hppa.mt: Remove file.
* config/pa/linux.mt: Remove file.
* config/pa/obsd.mt: Remove file.
* config/powerpc/aix.mt: Remove file.
* config/powerpc/linux.mt: Remove file.
* config/powerpc/nbsd.mt: Remove file.
* config/powerpc/obsd.mt: Remove file.
* config/powerpc/ppc-eabi.mt: Remove file.
* config/s390/s390.mt: Remove file.
* config/score/embed.mt: Remove file.
* config/sh/embed.mt: Remove file.
* config/sh/linux.mt: Remove file.
* config/sh/nbsd.mt: Remove file.
* config/sh/obsd.mt: Remove file.
* config/sh/sh64.mt: Remove file.
* config/sparc/embed.mt: Remove file.
* config/sparc/fbsd.mt: Remove file.
* config/sparc/linux64.mt: Remove file.
* config/sparc/linux.mt: Remove file.
* config/sparc/nbsd64.mt: Remove file.
* config/sparc/nbsd.mt: Remove file.
* config/sparc/obsd64.mt: Remove file.
* config/sparc/obsd.mt: Remove file.
* config/sparc/sol2-64.mt: Remove file.
* config/sparc/sol2.mt: Remove file.
* config/sparc/sparc64.mt: Remove file.
* config/sparc/sparc.mt: Remove file.
* config/spu/spu.mt: Remove file.
* config/v850/v850.mt: Remove file.
* config/vax/nbsd.mt: Remove file.
* config/vax/obsd.mt: Remove file.
* config/vax/vax.mt: Remove file.
* config/xstormy16/xstormy16.mt: Remove file.
* config/xtensa/xtensa.mt: Remove file.
* configure.tgt (gdb_target_cpu): Remove. Do not set anywhere.
(gdb_target): Likewise.
(gdb_target_obs): Document. Set for every target to contents
of TDEPFILES in former .mt makefile fragment.
* configure.ac (TARGET_OBS): Define.
(target_makefile_frag, gdb_target_cpu): Do not define.
* configure: Regenerate.
* Makefile.in (MT_FLAGS): Remove.
(GLOBAL_CFLAGS): Update.
(TARGET_OBS): Substitute from configure.
(DEPFILES): Remove TDEPFILES, add TARGET_OBS.
(@target_makefile_frag@): Remove.
doc/ChangeLog:
* Makefile.in (Makefile): Do not depend on target_makefile_frag.
testsuite/ChangeLog:
* Makefile.in (Makefile): Do not depend on target_makefile_frag.
(target_cpu): Remove.
Ulrich Weigand [Sat, 17 Nov 2007 00:44:38 +0000 (00:44 +0000)]
* config/arm/embed.mt (SIM_OBS, SIM): Remove.
* config/avr/avr.mt (SIM_OBS, SIM): Remove.
* config/frv/frv.mt (SIM_OBS, SIM): Remove.
* config/h8300/h8300.mt (SIM_OBS, SIM): Remove.
* config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove.
* config/m32c/m32c.mt (SIM_OBS, SIM): Remove.
* config/m32r/linux.mt (SIM_OBS, SIM): Remove.
* config/m32r/m32r.mt (SIM_OBS, SIM): Remove.
* config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove.
* config/mips/embed.mt (SIM_OBS, SIM): Remove.
* config/mips/linux.mt (SIM_OBS, SIM): Remove.
* config/mips/nbsd.mt (SIM_OBS, SIM): Remove.
* config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove.
* config/powerpc/linux.mt (SIM_OBS, SIM): Remove.
* config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove.
* config/powerpc/ppc-sim.mt: Remove file.
* config/sh/embed.mt (SIM_OBS, SIM): Remove.
* config/sh/linux.mt (SIM_OBS, SIM): Remove.
* config/sh/nbsd.mt (SIM_OBS, SIM): Remove.
* config/sh/sh64.mt (SIM_OBS, SIM): Remove.
* config/sparc/embed.mt (SIM_OBS, SIM): Remove.
* config/v850/v850.mt (SIM_OBS, SIM): Remove.
* config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove.
* configure.tgt (gdb_sim): Document variable.
(arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it.
(avr-*-*): Likewise.
(frv-*-*): Likewise.
(h8300-*-*): Likewise.
(iq2000-*-*): Likewise.
(m32c-*-*): Likewise.
(m32r*-*-linux*): Likewise.
(m32r*-*-*): Likewise.
(m68hc11*-*-*|m6811*-*-*): Likewise.
(mips*-*-*): Likewise.
(mips*-*-linux*): Likewise.
(mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise.
(mn10300-*-*): Likewise.
(powerpc-*-linux* | powerpc64-*-linux*): Likewise.
(powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise.
(powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim.
(sh*): Set gdb_sim.
(sh-*-linux*): Likewise.
(sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise.
(sh64-*-elf*): Likewise.
(sparc-*-rtems*): Likewise.
(v850*-*-elf): Likewise.
(xstormy16-*-*): Likewise.
* configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set.
(SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}.
* configure: Regenerate.
* Makefile.in (SIM, SIM_OBS): Substitute from configure.
(@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
Ulrich Weigand [Sat, 17 Nov 2007 00:42:59 +0000 (00:42 +0000)]
* configure.tgt (gdb_osabi, build_gdbserver): Comment variables.
(arm*-*-*): Do not set obsolete build_rdi_share variable.
(*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ...
(alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
(i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
(sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases.
(x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort.
(xscale-*-*): Merge into arm*-*-* case.
(fido-*-elf*): Merge into m68*-*-elf* case.
(m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*,
m68*-*-uclinux*): Merge cases.
(powerpc-*-linux*, powerpc64-*-linux*): Merge cases.
(sh-*-coff*, sh-*-elf*): Merge into sh* case.
Ulrich Weigand [Sat, 17 Nov 2007 00:42:07 +0000 (00:42 +0000)]
* configure.tgt: Reformat main case statement.
Ulrich Weigand [Sat, 17 Nov 2007 00:41:17 +0000 (00:41 +0000)]
* configure.ac (hostfile, targetfile): Remove.
(GDB_XM_FILE, GDB_TM_FILE): Do not define.
(xm_h, tm_h): Likewise.
(DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile.
* configure, config.in: Regenerate.
* Makefile.in (xm_h, tm_h): Remove. Update dependencies.
(TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE.
(clean, local-maintainer-clean): Do not remove xm.h or tm.h.
* defs.h: Do not include "xm.h" or "tm.h".
* gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE.
* gdbarch.c: Regenerate.
* config/score/embed.mt: Remove obsolete comment.
gdbadmin [Sat, 17 Nov 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 16 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Craig Silverstein [Fri, 16 Nov 2007 21:18:22 +0000 (21:18 +0000)]
Released gold 0.8
Ian Lance Taylor [Fri, 16 Nov 2007 18:44:20 +0000 (18:44 +0000)]
Ignore empty archives.
Eric B. Weddington [Fri, 16 Nov 2007 17:39:22 +0000 (17:39 +0000)]
2007-11-16 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add ATmega32HVB device.
* doc/c-avr.texi: Likewise.
Eric B. Weddington [Fri, 16 Nov 2007 17:25:28 +0000 (17:25 +0000)]
2007-11-16 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add ATmega1284P device.
* doc/c-avr.texi: Likewise.
Ian Lance Taylor [Fri, 16 Nov 2007 16:54:19 +0000 (16:54 +0000)]
When looking for ODR violations, only check the file base name. Also,
never demangle if --no-demangle was used.
Nick Clifton [Fri, 16 Nov 2007 15:36:21 +0000 (15:36 +0000)]
* dwarf2.h: Mention the location of the DWARF3 spec on the web.
(DW_AT_stride_size): Rename to DW_AT_bit_stride.
(DW_AT_stride): Rename to DW_AT_byte_stride.
* dwarf.c (process_extended_line_op): Add cases for HP extensions to the line ops.
Mention if an unknown op code is in the user defined range.
(decode_location_expression): Add cases for HP extensions, the DW_OP_GNU_uninit extension and the DW_OP_call_frame_cfa and DW_OP_bit_piece DWARF3 operators.
(read_and_display_attr): Correct list of attributes which can reference a location list.
(read_and_display_attr_value): Add cases for DWARF3 values and HP extensions.
Correct list of attributes which can reference a location list.
(get_AT_name): Add cases for DWARF3 values and HP and PGI extensions.
Nick Clifton [Fri, 16 Nov 2007 09:48:05 +0000 (09:48 +0000)]
* ld-mn10300/mn10300.exp: Fix the start address of the .bss section for the i1127740.s test.
* elf-m10300.c (mn10300_elf_check_relocs): Fix memory leak and check that bfd_elf_get_elf_syms is only called once.
Ian Lance Taylor [Fri, 16 Nov 2007 06:47:53 +0000 (06:47 +0000)]
DW_LNE_end_sequence indicates that the address points to the byte
*after* the current target sequence.
Markus Deuling [Fri, 16 Nov 2007 04:56:45 +0000 (04:56 +0000)]
2007-11-16 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch
as parameter.
* gdbarch.{c,h}: Regenerate.
* alpha-tdep.c (alpha_cannot_fetch_register)
(alpha_cannot_store_register): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
* cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register)
(crisv32_cannot_fetch_register)
(crisv32_cannot_store_register): Likewise.
* arch-utils.c (cannot_register_not): Likewise.
* arch-utils.h (cannot_register_not): Likewise.
* hppa-tdep.c (hppa32_cannot_store_register)
(hppa32_cannot_store_register, hppa64_cannot_store_register)
(hppa64_cannot_fetch_register): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Likewise.
Markus Deuling [Fri, 16 Nov 2007 04:53:46 +0000 (04:53 +0000)]
2007-11-16 Markus Deuling <deuling@de.ibm.com>
* m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at
the current architecture by regcache.
* ppcnbsd-nat.c (ppcnbsd_supply_pcb): Likewise.
* ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
(fetch_register, supply_vrregset, fetch_ppc_registers)
(store_altivec_register, store_spe_register, store_register)
(fill_vrregset, store_ppc_registers): Likewise.
* ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
* win32-nat.c (do_win32_fetch_inferior_registers)
(do_win32_store_inferior_registers): Likewise.
* procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
* remote-m32r-sdi.c (m32r_fetch_registers)
(m32r_store_registers): Likewise.
* remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
* trad-frame.c (trad_frame_alloc_saved_regs): Replace current_gdbarch by
gdbarch.
* user-regs.c (user_reg_map_name_to_regnum): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_return_value): Likewise.
* m32c-tdep.c (m32c_register_reggroup_p): Likewise.
* m2-lang.c (build_m2_types): Likewise.
* ppc-linux-tdep.c (ppc_linux_sigtramp_cache
* ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
* ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
* rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise.
* m68hc11-tdep.c (m68hc11_frame_unwind_cache): Use get_frame_arch to
get at the current architecture by frame_info.
* gcore.c (derive_stack_segment): Likewise.
* shnbsd-nat.c (GETREGS_SUPPLIES): Add gdbarch parameter.
(shnbsd_fetch_inferior_registers, shnbsd_store_inferior_registers): Add
gdbarch to GETREGS_SUPPLIES call.
gdbadmin [Fri, 16 Nov 2007 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Ulrich Weigand [Thu, 15 Nov 2007 23:48:00 +0000 (23:48 +0000)]
bfd/ChangeLog:
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of
synthetic symbol to point to the ELF symbol it was derived from.
gdb/ChangeLog:
* elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines.
(elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access
ELF-private symbol data when processing synthetic symbols. Use
udata.p to get at size of ppc64 synthetic 'dot' symbols.
(elf_symfile_read): Pass TYPE argument to elf_symtab_read.
Ian Lance Taylor [Thu, 15 Nov 2007 23:46:46 +0000 (23:46 +0000)]
From Cary Coutant: Count textrel with output sections rather than
setting a flag as we add each reloc in the target code.
Ian Lance Taylor [Thu, 15 Nov 2007 23:03:45 +0000 (23:03 +0000)]
From Craig Silverstein: Add --strip-debug-gdb.
Alan Modra [Thu, 15 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
Doug Evans [Thu, 15 Nov 2007 22:54:22 +0000 (22:54 +0000)]
* buildsym.h (subfiles): Move ...
* buildsym.c (subfiles): ... to here and make static.
Ian Lance Taylor [Thu, 15 Nov 2007 20:41:19 +0000 (20:41 +0000)]
Workaround bug in gcc 4.0.3 STL.
Doug Evans [Thu, 15 Nov 2007 18:43:23 +0000 (18:43 +0000)]
* symmisc.c (maintenance_info_symtabs): Print linetable info.
* doc/gdb.texinfo (Symbols): Update output of "maint info symtabs".
Markus Deuling [Thu, 15 Nov 2007 13:54:57 +0000 (13:54 +0000)]
2007-11-15 Markus Deuling <deuling@de.ibm.com>
* mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove
Markus Deuling [Thu, 15 Nov 2007 13:53:11 +0000 (13:53 +0000)]
2007-11-15 Markus Deuling <deuling@de.ibm.com>
* arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its
expression and use get_frame_arch to replace current_gdbarch by frame's
architecture.
*arm-tdep.h (LOWEST_PC): Remove
Vladimir Prus [Thu, 15 Nov 2007 07:11:52 +0000 (07:11 +0000)]
Move changelog entries to the right ChangeLog
Vladimir Prus [Thu, 15 Nov 2007 06:52:53 +0000 (06:52 +0000)]
Apply const qualifier to some users of bp_location.
* breakpoint.h (struct bpstats): Make
the breakpoint_at field point at const bp_location.
* breakpoint.c (bpstat_alloc): Accept const
bp_location.
(breakpoint_here_p, breakpoint_inserted_here_p)
(software_breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status)
(read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
const bp_location for iteration.
(print_it_typical, print_bp_stop_message): Use
const bp_location variable.
Vladimir Prus [Thu, 15 Nov 2007 06:46:21 +0000 (06:46 +0000)]
Make mark_breakpoints_out static.
* breakpoint.h (mark_breakpoints_out): Remove
declaration.
* breakpoint.c (mark_breakpoints_out): Make static.
Vladimir Prus [Thu, 15 Nov 2007 06:28:19 +0000 (06:28 +0000)]
Prevent clear_command from directly modifying breakpoint list.
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
breakpoints from breakpoint_chain. Collect breakpoints
to delete in a vector.
* breakpoint.h (breakpoint_p): New typedef for pointer to
breakpoint. Register vector of breakpoint_p.
Vladimir Prus [Thu, 15 Nov 2007 06:24:17 +0000 (06:24 +0000)]
Remove 'run_cleanup'.
* defs.h (do_run_cleanups, make_run_cleanup): Remove
declarations.
* infcmd.c (run_command_1): Call clear_solib instead
of do_run_cleanups.
* jv-lang.c (java_rerun_cleanup): Remove, for lack of
any use.
* solib.c (solib_cleanup_queued, do_clear_solib): Remove.
(update_solib_lib): Don't setup run cleanup.
(no_shared_libraries): Call clear_solib, not do_clear_solib.
* utils.c (run_cleanup_chain, make_run_cleanup)
(do_run_cleanups): Remove.
Vladimir Prus [Thu, 15 Nov 2007 06:14:26 +0000 (06:14 +0000)]
Remove CLEAR_SOLIB use.
* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.
Alan Modra [Thu, 15 Nov 2007 05:20:30 +0000 (05:20 +0000)]
PR 5328
* opncls.c (separate_debug_file_exists): Use fopen/fread
rather than open/read and open in binary mode.
Ian Lance Taylor [Thu, 15 Nov 2007 01:12:55 +0000 (01:12 +0000)]
From Craig Silverstein: Add support for --demangle.
gdbadmin [Thu, 15 Nov 2007 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Doug Evans [Wed, 14 Nov 2007 23:14:40 +0000 (23:14 +0000)]
* buildsym.c (start_subfile,start_symtab): Doc fixes.
Alan Modra [Wed, 14 Nov 2007 23:00:07 +0000 (23:00 +0000)]
daily update
H.J. Lu [Wed, 14 Nov 2007 22:31:54 +0000 (22:31 +0000)]
gas/
2007-11-14 Tristan Gingold <gingold@adacore.com>
* config/tc-ia64.c (AR_RUC): Defined.
(ar): Add "ar.ruc".
(specify_resource): Handle AR_RUC like AR_ITC.
gas/testsuite/
2007-11-14 H.J. Lu <hongjiu.lu@intel.com>
* gas/ia64/dv-raw-err.s: Add tests for ar.ruc.
* gas/ia64/dv-waw-err.s: Likewise.
* gas/ia64/invalid-ar.s: Likewise.
* gas/ia64/regs.s: Add tests for ar.ruc and ar44.
* gas/ia64/dv-raw-err.l: Updated.
* gas/ia64/dv-waw-err.l: Likewise.
* gas/ia64/invalid-ar.l: Likewise.
* gas/ia64/regs.d: Likewise.
opcodes/
2007-11-14 H.J. Lu <hongjiu.lu@intel.com>
* ia64-ic.tbl: Updated for Itanium 9100 series.
* ia64-raw.tbl: Likewise.
* ia64-waw.tbl: Likewise.
* ia64-asmtab.c: Regenerated.
2007-11-14 Tristan Gingold <gingold@adacore.com>
* ia64-dis.c (print_insn_ia64): Handle ar.ruc.
* ia64-gen.c (lookup_regindex): Likewise.
Ian Lance Taylor [Wed, 14 Nov 2007 22:31:02 +0000 (22:31 +0000)]
From Cary Coutant: Improve i386 shared library TLS support.
Richard Sandiford [Wed, 14 Nov 2007 20:46:15 +0000 (20:46 +0000)]
bfd/
2007-09-18 Richard Sandiford <richard@codesourcery.com>
* elfxx-mips.c (mips_got_page_range): New structure.
(mips_got_page_entry): Likewise.
(mips_got_info): Add page_gotno and got_page_entries fields.
(mips_elf_got_per_bfd_arg): Add max_pages field. Delete
primary_count and current_count fields.
(mips_got_page_entry_hash, mips_got_page_entry_eq): New functions.
(mips_elf_pages_for_range, mips_elf_record_got_page_entry): Likewise.
(mips_elf_get_got_for_bfd): New function, split out from
mips_elf_make_got_per_bfd. Initialize the page_gotno and
got_page_entries fields when creating a new GOT structure.
(mips_elf_make_got_pages_per_bfd): New function.
(mips_elf_merge_got_with): New function, split out from
mips_elf_make_got_per_bfd. Merge page entries as well as
non-page entries. Use the minimum of max_pages and the sum
of the page_gotnos to estimate the number of page entries.
(mips_elf_merge_gots): Use the minimum of max_pages and the
bfd's page_gotno to estimate the number of page entries.
Use the above functions.
(mips_elf_multi_got): Add page entries as well as non-page entries
to the individual per-bfd GOTs. Initialize got_per_bfd_arg.max_pages.
Initialize the page_gotno and got_page_entries fields when creating
a new primary GOT. Use the minimum of pages and page_gotno when
adding the number of pages entries to local_gotno.
(mips_elf_create_got_section): Initialize the page_gotno and
got_page_entries fields of the GOT structure.
(mips_elf_rel_relocation_p, mips_elf_read_rel_addend)
(mips_elf_add_lo16_rel_addend, mips_elf_get_section_contents): New
functions, split out from...
(_bfd_mips_elf_relocate_section): ...here.
(_bfd_mips_elf_check_relocs): Record GOT page entries too.
(_bfd_mips_relax_section): Use mips_elf_get_section_contents.
(_bfd_mips_elf_always_size_sections): Use the smaller of the
loadable_size- and page_gotno-derived estimates.
ld/testsuite/
2007-09-18 Richard Sandiford <richard@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* ld-mips-elf/got-page-1.d, ld-mips-elf/got-page-1.s,
* ld-mips-elf/got-page-2.d, ld-mips-elf/got-page-2.s,
* ld-mips-elf/got-page-3.d, ld-mips-elf/got-page-3a.s,
* ld-mips-elf/got-page-3b.s, ld-mips-elf/got-page-3c.s,
* ld-mips-elf/got-page-1.ld: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
* ld-mips-elf/multi-got-1.d, ld-mips-elf/multi-got-no-shared.d,
* ld-mips-elf/tls-hidden2-got.d, ld-mips-elf/tls-hidden2.d,
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
* ld-mips-elf/tls-hidden3.r, ld-mips-elf/tls-hidden4.got,
* ld-mips-elf/tls-hidden4.r, ld-mips-elf/tls-multi-got-1.d,
* ld-mips-elf/tls-multi-got-1.got, ld-mips-elf/tls-multi-got-1.r,
* ld-mips-elf/tlsbin-o32.d, ld-mips-elf/tlsbin-o32.got,
* ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
* ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
* ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
* ld-mips-elf/tlsdyn-o32.d, ld-mips-elf/tlsdyn-o32.got,
* ld-mips-elf/tlslib-o32-hidden.got, ld-mips-elf/tlslib-o32-ver.got,
* ld-mips-elf/tlslib-o32.d, ld-mips-elf/tlslib-o32.got: Update for
GOT allocation changes.
Thiemo Seufer [Wed, 14 Nov 2007 20:04:22 +0000 (20:04 +0000)]
* elfxx-mips.c (mips_elf_merge_obj_attributes): Prevent
unwanted fallthroughs in case statement.
Ian Lance Taylor [Wed, 14 Nov 2007 18:44:58 +0000 (18:44 +0000)]
From Craig Silverstein: Report output file name with ODR violation
warning message.
Ian Lance Taylor [Wed, 14 Nov 2007 18:37:00 +0000 (18:37 +0000)]
If generating a .err file fails, remove it.
Ian Lance Taylor [Wed, 14 Nov 2007 18:33:47 +0000 (18:33 +0000)]
From Craig Silverstein: Clean up DWARF line reader code.
Ian Lance Taylor [Wed, 14 Nov 2007 16:53:25 +0000 (16:53 +0000)]
Add heuristics for undefined symbol warnings.
Ian Lance Taylor [Wed, 14 Nov 2007 15:24:08 +0000 (15:24 +0000)]
Comment out undef_symbol.err for now.
Hans-Peter Nilsson [Wed, 14 Nov 2007 10:11:12 +0000 (10:11 +0000)]
* ld-elf/flags1.d: Generalize regexp for section size.
Ian Lance Taylor [Wed, 14 Nov 2007 09:39:13 +0000 (09:39 +0000)]
Default to --allow-shlib-undefined for now.
Ian Lance Taylor [Wed, 14 Nov 2007 08:03:41 +0000 (08:03 +0000)]
Revert last patch.
Ian Lance Taylor [Wed, 14 Nov 2007 07:52:21 +0000 (07:52 +0000)]
Support special always-defined symbols for targets.
Ian Lance Taylor [Wed, 14 Nov 2007 07:34:53 +0000 (07:34 +0000)]
Warn about undefined references in shared libraries if we have seen
all the DT_NEEDED entries for that library.
Ian Lance Taylor [Wed, 14 Nov 2007 01:03:01 +0000 (01:03 +0000)]
From Craig Silverstein: Rework debug info code a bit, add option for
ODR violations, add test case.
gdbadmin [Wed, 14 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 13 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
H.J. Lu [Tue, 13 Nov 2007 20:17:43 +0000 (20:17 +0000)]
2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5307
* peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Don't
copy input subsystem if output is different from input.
Ian Lance Taylor [Tue, 13 Nov 2007 20:02:32 +0000 (20:02 +0000)]
From Craig Silverstein: First cut at detecting ODR violations.
Thiago Jung Bauermann [Tue, 13 Nov 2007 17:00:11 +0000 (17:00 +0000)]
* tui/tui-data.c (tui_prev_win): Guard against NULL.
DJ Delorie [Tue, 13 Nov 2007 15:12:42 +0000 (15:12 +0000)]
merge from gcc
H.J. Lu [Tue, 13 Nov 2007 13:20:02 +0000 (13:20 +0000)]
2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5233
* ld-elf/flags1.d: New.
* ld-elf/flags1.ld: Likewise.
* ld-elf/flags1.s: Likewise.
Nick Clifton [Tue, 13 Nov 2007 10:40:29 +0000 (10:40 +0000)]
* config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups.
* config/tc-mn10300.h (TC_FORCE_RELOCATION): Call mn10300_force_relocation.
* elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the accidental termination of DWARF location list entries.
(mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc is encountered that is larger than or not a mutliple of the number of bytes being deleted.
When adjusting symbols, any symbols inside the region being deleted must be moved to the end of the region.
Move align relocs forward if there is room for them after the deletion of the region.
Alan Modra [Tue, 13 Nov 2007 05:56:10 +0000 (05:56 +0000)]
PR 5233
* elf.c (rewrite_elf_program_header): Formatting. Add
first_matching_lma and first_suggested_lma booleans and use
instead of testing matching_lma and suggested_lma for zero.
Ian Lance Taylor [Tue, 13 Nov 2007 01:26:27 +0000 (01:26 +0000)]
From Craig Silverstein: Support debug info for shared libraries.
DJ Delorie [Tue, 13 Nov 2007 01:00:40 +0000 (01:00 +0000)]
merge from gcc
Joseph Myers [Tue, 13 Nov 2007 00:38:30 +0000 (00:38 +0000)]
* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
compiler warnings.
(floatformat_ibm_long_double): Use
floatformat_ibm_long_double_is_valid.
gdbadmin [Tue, 13 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 12 Nov 2007 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Mon, 12 Nov 2007 22:21:48 +0000 (22:21 +0000)]
* gas/macros/purge.s: Delete irpc loops.
H.J. Lu [Mon, 12 Nov 2007 21:55:50 +0000 (21:55 +0000)]
2007-11-12 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5299
* peicode.h (pe_bfd_object_p): Save and restore previous bfd
state when calling coff_object_p.
Ian Lance Taylor [Mon, 12 Nov 2007 20:55:53 +0000 (20:55 +0000)]
From Craig Silverstein: Dwarf_line_info can work with Object rather
than Sized_relobj.
Ian Lance Taylor [Mon, 12 Nov 2007 20:35:21 +0000 (20:35 +0000)]
From Craig Silverstein: Track_relocs doesn't need to hold onto the
object.
Ian Lance Taylor [Mon, 12 Nov 2007 19:56:20 +0000 (19:56 +0000)]
From Craig Silverstein: rework DWARF reader code a bit.
Ian Lance Taylor [Mon, 12 Nov 2007 17:51:55 +0000 (17:51 +0000)]
Correct handling of GOT references in a regular object.
Nick Clifton [Mon, 12 Nov 2007 10:57:33 +0000 (10:57 +0000)]
PR gas/5269
* config/tc-frv.c (md_show_usage): Rewrite usage description to make it easier to translate.
* gas/po/gas.pot: Regenerate.
Markus Deuling [Mon, 12 Nov 2007 06:47:56 +0000 (06:47 +0000)]
2007-11-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
obsolete comment.
(verify_gdbarch, gdbarch_dump): Likewise.
(do_read): Update comment.
(addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat)
(ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch.
* gdbarch.{c,h}: Regenerate.
Markus Deuling [Mon, 12 Nov 2007 06:43:16 +0000 (06:43 +0000)]
2007-11-12 Markus Deuling <deuling@de.ibm.com>
* xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression.
(ARGS_FIRST_REG): Remove.
(areg_numer): New function.
(xtensa_pseudo_register_read, xtensa_frame_prev_register)
(xtensa_extract_return_value, xtensa_store_return_value)
(xtensa_frame_cache): Replace AREG_NUMBER by areg_number.
(AREG_NUMBER): Remove.
(XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter.
(xtensa_frame_cache): Update use of XTENSA_IS_ENTRY.
(xtensa_push_dummy_call): Update use of ARG_NOF.
(extract_call_winsize): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
(xtensa_extract_return_value, xtensa_store_return_value): Update call
of extract_call_winsize.
Joel Brobecker [Mon, 12 Nov 2007 05:21:39 +0000 (05:21 +0000)]
* NEWS: Add entry for new set/show print frame-args command.
Joel Brobecker [Mon, 12 Nov 2007 05:20:36 +0000 (05:20 +0000)]
Fix date in the last entry.
Joel Brobecker [Mon, 12 Nov 2007 05:19:17 +0000 (05:19 +0000)]
* gdb.texinfo (Print Settings): Add documentation for "set/show
print frame-arguments".
Alan Modra [Mon, 12 Nov 2007 03:28:52 +0000 (03:28 +0000)]
* elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol
pointer when we have a valid symbol. Init udata.p to NULL.
Alan Modra [Mon, 12 Nov 2007 00:29:12 +0000 (00:29 +0000)]
* gas/ppc/regnames.d: New.
* gas/ppc/regnames.s: Likewise.
* gas/ppc/ppc.exp: Run it.
Alan Modra [Mon, 12 Nov 2007 00:27:53 +0000 (00:27 +0000)]
* config/tc-ppc.c (md_assemble): If -mregnames, when parsing
PPC_OPERAND_CR always parse as expression to allow register name
followed by an expression.
gdbadmin [Mon, 12 Nov 2007 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 11 Nov 2007 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 11 Nov 2007 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***