Fred Fish [Wed, 5 Jan 2005 10:37:05 +0000 (10:37 +0000)]
Approved by nickc@redhat.com:
2005-01-05 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add info_ptr_unit member.
(find_abstract_instance_name): New function.
(scan_unit_for_functions): Handle DW_TAG_inlined_subroutine.
(scan_unit_for_functions): Handle DW_AT_abstract_origin.
(_bfd_dwarf2_find_nearest_line): Initialize info_ptr_unit.
gdbadmin [Wed, 5 Jan 2005 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
H.J. Lu [Tue, 4 Jan 2005 23:37:18 +0000 (23:37 +0000)]
2005-01-04 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (display_debug_loc): Display offsets for hole and
overlap.
(display_debug_str): Add a newline at the end.
Alan Modra [Tue, 4 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Tue, 4 Jan 2005 22:59:45 +0000 (22:59 +0000)]
* configure.host (ia64-*-aix*): Remove.
* configure.tgt (ia64-*-aix*): Remove.
* config/ia64/aix.mh: Remove file.
* config/ia64/aix.mt: Remove file.
* config/ia64/tm-aix.h: Remove file.
* ia64-aix-nat.c: Remove file.
* Makefile.in (ia64-aix-nat.o): Remove dependency.
Mark Kettenis [Tue, 4 Jan 2005 20:41:24 +0000 (20:41 +0000)]
* config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o.
Add back inf-ptrace.o.
Andrew Cagney [Tue, 4 Jan 2005 19:50:04 +0000 (19:50 +0000)]
2005-01-04 Andrew Cagney <cagney@gnu.org>
* version.in: Change format from 6.3.50_2005-01-04-cvs to
6.3.50.
20050104-cvs.
Andrew Cagney [Tue, 4 Jan 2005 19:25:46 +0000 (19:25 +0000)]
2005-01-04 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Versions and Branches): Make the date (YYYYMMDD)
part of the version number.
Nick Clifton [Tue, 4 Jan 2005 15:51:47 +0000 (15:51 +0000)]
(oops - forogot to update the year in the copyright notice)
Nick Clifton [Tue, 4 Jan 2005 15:47:38 +0000 (15:47 +0000)]
PR binutils/630
* nlmconv.c (main): Only store the basename of the output filename in the
module table.
Paul Brook [Tue, 4 Jan 2005 15:16:25 +0000 (15:16 +0000)]
* Makefile.am: Correct dependency for earmsymbian.c.
* Makefile.in: Regenerate.
Andreas Schwab [Tue, 4 Jan 2005 13:31:46 +0000 (13:31 +0000)]
* breakpoint.c (break_command_1): Always free err_msg before
returning when an exception was caught.
Nick Clifton [Tue, 4 Jan 2005 11:20:45 +0000 (11:20 +0000)]
BZ 615
* readelf.c (process_debug_info): New.
(debug_info): Add num_loc_offsets, loc_offsets and
last_loc_offset_p.
(get_debug_info): Use process_debug_info.
(display_debug_loc): Properly handle location list. Warn if bad
location lists are encoutnered.
(read_and_process_attr_value): New.
(read_and_display_attr_value): Use "%lx" for DW_FORM_data4.
(display_debug_info): Use process_debug_info.
(process_object): Also free loc_offsets in debug_information.
Nick Clifton [Tue, 4 Jan 2005 10:20:36 +0000 (10:20 +0000)]
(md_apply_fix3): Fix offset calculation for global label.
Nick Clifton [Tue, 4 Jan 2005 10:13:02 +0000 (10:13 +0000)]
Add prototype for printf() and make type of "string" array be "char" in
order to avoid compile time warnings.
Jim Wilson [Tue, 4 Jan 2005 05:42:42 +0000 (05:42 +0000)]
Line number bug fix patch from David Mosberger.
* config/tc-ia64.c (md): Add member "loc_directive_seen".
(dot_loc): New function.
(md_pseudo_table): Add entry to map .loc to dot_loc().
(emit_one_bundle): Only call dwarf2_gen_line_info() if we have
seen a .loc directive or we're generating DWARF2 debug info for
assembly source.
gdbadmin [Tue, 4 Jan 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Mon, 3 Jan 2005 23:25:19 +0000 (23:25 +0000)]
2005.
Alan Modra [Mon, 3 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
Andreas Schwab [Mon, 3 Jan 2005 15:34:19 +0000 (15:34 +0000)]
* Makefile.in (hw_com.o, hw_eeprom.o): Depend on
$(DEVICE_TABLE_H).
Paolo Bonzini [Mon, 3 Jan 2005 14:02:25 +0000 (14:02 +0000)]
2005-01-03 Paolo Bonzini <bonzini@gnu.org>
Revert 2004-12-28 Makefile changes, a better fix will be
applied to mainline and src after GCC 4.0 branches.
gdbadmin [Mon, 3 Jan 2005 00:00:38 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 2 Jan 2005 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 2 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 1 Jan 2005 23:00:06 +0000 (23:00 +0000)]
daily update
Joel Brobecker [Sat, 1 Jan 2005 12:28:21 +0000 (12:28 +0000)]
* hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion
in register number for addil instruction.
gdbadmin [Sat, 1 Jan 2005 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 31 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Paul Brook [Fri, 31 Dec 2004 16:22:25 +0000 (16:22 +0000)]
* elf32-arm.c (elf32_arm_symbian_plt_entry): Fix comment typo.
Alan Modra [Fri, 31 Dec 2004 00:43:58 +0000 (00:43 +0000)]
* reloc.c (BFD_RELOC_AVR_LDI, BFD_RELOC_AVR_6, BFD_RELOC_AVR_6_ADIW):
Commit missing changes from 2004-12-22.
* bfd-in2.h: Regenerate.
gdbadmin [Fri, 31 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 30 Dec 2004 23:00:04 +0000 (23:00 +0000)]
daily update
Alan Modra [Thu, 30 Dec 2004 22:41:31 +0000 (22:41 +0000)]
* gas/elf/elf.exp: Don't list reloc sections.
* gas/elf/section5.e: Remove reloc sections.
Alan Modra [Thu, 30 Dec 2004 22:37:31 +0000 (22:37 +0000)]
* binutils-all/readelf.ss: Allow for both .rel and .rela sections.
Alan Modra [Thu, 30 Dec 2004 22:33:20 +0000 (22:33 +0000)]
* objdump.c (remove_useless_symbols): Discard section symbols.
gdbadmin [Thu, 30 Dec 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 29 Dec 2004 23:00:38 +0000 (23:00 +0000)]
daily update
Alan Modra [Wed, 29 Dec 2004 10:21:58 +0000 (10:21 +0000)]
PR gas/619
* read.c (s_comm_internal): Don't zero end of name until size
expression has been parsed.
Danny Smith [Wed, 29 Dec 2004 05:59:29 +0000 (05:59 +0000)]
* emultempl/pe.em (set_pe_subsystem): Change second arg to
lang_add_entry to FALSE.
gdbadmin [Wed, 29 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 28 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Paolo Bonzini [Tue, 28 Dec 2004 17:39:43 +0000 (17:39 +0000)]
2004-12-28 Paolo Bonzini <bonzini@gnu.org>
PR bootstrap/17383
* Makefile.def (target_modules): Remove stage parameter,
it is always true now.
* Makefile.tpl (configure-build-[+module+],
configure-target-[+module+]): Always build symlink tree
for the directory and for include. BUILD_SUBDIR and
TARGET_SUBDIR cannot be . anymore.
* Makefile.in: Regenerate.
Jim Blandy [Tue, 28 Dec 2004 09:06:10 +0000 (09:06 +0000)]
* remote.c (fetch_register_using_p): Recognize a register value
starting with 'x' as indicating an unfetchable register.
gdbadmin [Tue, 28 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 27 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
DJ Delorie [Mon, 27 Dec 2004 21:41:05 +0000 (21:41 +0000)]
Revert 2004-12-08 Makefile changes.
DJ Delorie [Mon, 27 Dec 2004 21:39:28 +0000 (21:39 +0000)]
merge from gcc
H.J. Lu [Mon, 27 Dec 2004 19:08:31 +0000 (19:08 +0000)]
2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (read_leb128): Support 64bit host.
Mark Kettenis [Mon, 27 Dec 2004 15:08:13 +0000 (15:08 +0000)]
* config/mips/obsd64.mh (NATDEPFILES): Unwrap line.
gdbadmin [Mon, 27 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sun, 26 Dec 2004 23:24:26 +0000 (23:24 +0000)]
* inftarg.c (child_xfer_partial): Remove code that handles
TARGET_OBJ_WCOOKIE.
Alan Modra [Sun, 26 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
gdbadmin [Sun, 26 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 25 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Marek Michalkiewicz [Sat, 25 Dec 2004 20:34:24 +0000 (20:34 +0000)]
* config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
Mark Kettenis [Sat, 25 Dec 2004 12:31:35 +0000 (12:31 +0000)]
* inftarg.c (child_create_inferior) [HPUXHPPA]: Remove code.
Mark Kettenis [Sat, 25 Dec 2004 10:19:48 +0000 (10:19 +0000)]
* gdbint.texinfo (Algorithms): Remove description of
TARGET_DISABLE_HW_WATCHPOINTS and TARGET_ENABLE_HW_WATCHPOINTS.
gdbadmin [Sat, 25 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 24 Dec 2004 23:00:08 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Fri, 24 Dec 2004 22:54:02 +0000 (22:54 +0000)]
* target.h (TARGET_DISABLE_HW_WATCHPOINTS)
(TARGET_ENABLE_HW_WATCHPOINTS): Remove macros.
* infrun.c (struct execution_control_state): Remove
enable_hw_watchpoints_after_wait member.
(number_of_threads_in_syscalls): Remove variable.
(init_wait_for_inferior): Don't initialize
number_of_threads_in_syscalls.
(init_execution_control_state): Don't initialize
ECS->enable_hw_watchpoints_after_wait.
(handle_inferior_event): Never invoke TARGET_ENABLE_HW_WATCHPOINTS
or TARGET_DISABLE_HW_WATCHPOINTS.
Mark Kettenis [Fri, 24 Dec 2004 14:45:32 +0000 (14:45 +0000)]
* i386-tdep.h (i386_collect_gregset): New prototype.
* i386-nto-tdep.c (i386_nto_target): Move variable. Add comment.
(i386nto_gregset_reg_offset): Rename frame regmap.
(nto_reg_offset): Tweak comment. Use ARRAY_SIZE.
(i386nto_supply_gregset): Implement using register set support.
(i386nto_supply_regset): Remove redundant comment.
(i386nto_init_abi): Initialize TDEP->gregset_reg_offset,
TDEP->gregset_num_regs and TDEP->sizeof_gregset.
* nto-tdep.c (fetch_core_registers): Remove function.
(regset_core_fns): Remove structure.
(_initialize_nto_tdep): Don't call deprecated_add_core_fns.
gdbadmin [Fri, 24 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 23 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Thu, 23 Dec 2004 22:34:23 +0000 (22:34 +0000)]
* i386-nto-tdep.c: Reorder include files.
(i386nto_svr4_fetch_link_map_offsets): Remove function.
(init_i386nto_ops, i386nto_init_abi): Use
svr4_ilp32_fetch_link_map_offsets instead of
i386nto_svr4_fetch_link_map_offsets.
Tomer Levi [Thu, 23 Dec 2004 13:52:11 +0000 (13:52 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c: Mark 'bcop' instruction as RELAXABLE.
Tomer Levi [Thu, 23 Dec 2004 13:50:36 +0000 (13:50 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch' case).
Tomer Levi [Thu, 23 Dec 2004 13:48:25 +0000 (13:48 +0000)]
2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
* elf32-crx.c (elf32_crx_relax_section): Support 'bcop' relaxation.
Nick Clifton [Thu, 23 Dec 2004 12:27:45 +0000 (12:27 +0000)]
PR 600
* emulparams/shelf.sh (.stack): Increase stack start address to 0x300000.
gdbadmin [Thu, 23 Dec 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 22 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Wed, 22 Dec 2004 15:29:25 +0000 (15:29 +0000)]
* configure.tgt: New.
* configure.in: Move setting of cpu_type, fmt, etc., to
configure.tgt.
* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
$(srcdir)/configure.tgt.
* configure, Makefile.in: Rebuild.
Kris Warkentin [Wed, 22 Dec 2004 14:43:44 +0000 (14:43 +0000)]
* elf.c (elfcore_grok_nto_gregs): Change name to elfcore_grok_nto_regs.
Add 'base' argument for constructing register sections. Reformat.
(elfcore_grok_nto_note): Call elfcore_grok_nto_regs for both
gp and fp regs. Reformat.
Nick Clifton [Wed, 22 Dec 2004 14:25:42 +0000 (14:25 +0000)]
Add support for the new R_AVR_LDI, R_AVR_6 and R_AVR_6_ADIW relocs for the
LDI, ADIW/SBIW and LDD/STD instructions.
Nick Clifton [Wed, 22 Dec 2004 11:04:44 +0000 (11:04 +0000)]
readelf.c (last_pointer_size, warned_about_missing_comp_units):
New variables associated with obtaining the pointer size for a comp_unit.
(get_pointer_size_of_comp_unit): Add an extra parameter - the name of the
section requesting the pointer size. Use this name in error messages. If
there are not enough comp_units available produce a warning message, but
return the last known pointer size so that section dumping can continue.
(get_debug_info): Reset the new variables.
(display_debug_lines): Add extra parameter to invocation of
get_pointer_size_of_comp_unit and remove error message when it returns 0.
(display_debug_loc): Likewise.
Tomer Levi [Wed, 22 Dec 2004 08:14:38 +0000 (08:14 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* ld-crx/reloc-abs32.d: Update reference file according
to disassembler printing method.
* ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.
Alan Modra [Wed, 22 Dec 2004 03:59:26 +0000 (03:59 +0000)]
* elflink.c (_bfd_elf_merge_symbol): Treat old definitions from
as-needed dynamic libs as undefined.
(elf_link_add_object_symbols): Remove DYN_AS_NEEDED from as-needed
libs when finding they are needed.
gdbadmin [Wed, 22 Dec 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 21 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Tue, 21 Dec 2004 22:50:54 +0000 (22:50 +0000)]
* hppa-tdep.c (hppa_frame_prev_register_helper): Make 64-bit safe.
Mark Kettenis [Tue, 21 Dec 2004 22:06:40 +0000 (22:06 +0000)]
* hppa-tdep.c (hppa64_return_value): Fix previous commit.
Mark Kettenis [Tue, 21 Dec 2004 21:36:28 +0000 (21:36 +0000)]
* hppa-tdep.c (hppa32_return_value): Move further down.
(hppa64_return_value): Re-implement.
Jim Blandy [Tue, 21 Dec 2004 21:24:56 +0000 (21:24 +0000)]
* remote.c (fetch_register_using_p): Fix formatting.
Tomer Levi [Tue, 21 Dec 2004 16:28:40 +0000 (16:28 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* ld-crx/reloc-abs32.d: Update reference file according to disassembler printing method.
* ld-crx/reloc-rel16.d: Likewise.
* ld-crx/reloc-rel24.d: Likewise.
* ld-crx/reloc-rel32.d: Likewise.
* ld-crx/reloc-rel4.d: Likewise.
* ld-crx/reloc-rel8-cmp.d: Likewise.
* ld-crx/reloc-rel8.d: Likewise.
Tomer Levi [Tue, 21 Dec 2004 16:26:54 +0000 (16:26 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/beq_insn.d: Update reference file according to
disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
Tomer Levi [Tue, 21 Dec 2004 16:25:05 +0000 (16:25 +0000)]
2004-12-21 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/beq_insn.d: Update reference file according to disassembler printing method.
* gas/crx/bit_insn.d: Likewise.
* gas/crx/br_insn.d: Likewise.
* gas/crx/cmpbr_insn.d: Likewise.
* gas/crx/cop_insn.d: Likewise.
* gas/crx/load_stor_insn.d: Likewise.
Hans-Peter Nilsson [Tue, 21 Dec 2004 13:09:55 +0000 (13:09 +0000)]
* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N
copies, to cater to tcl versions before Tcl 8.2.3.
Paul N. Hilfinger [Tue, 21 Dec 2004 10:03:55 +0000 (10:03 +0000)]
* ada-lang.c (ada_print_subexp): Remove i18n markup from Ada code
output.
* ada-typeprint.c (ada_typedef_print): Ditto.
(print_unchecked_union_type): Ditto.
(print_record_type): Ditto, and correct output for non-derived
types that was inadvertently left off during the markup.
Hans-Peter Nilsson [Tue, 21 Dec 2004 04:37:58 +0000 (04:37 +0000)]
* cris.cpu (cris-set-mem): Correct integral write semantics.
gdbadmin [Tue, 21 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 20 Dec 2004 23:00:06 +0000 (23:00 +0000)]
daily update
Ian Lance Taylor [Mon, 20 Dec 2004 21:22:33 +0000 (21:22 +0000)]
* Makefile.am: Use $(SHELL) whenever we run move-if-change.
* Makefile.in: Rebuild.
Nick Clifton [Mon, 20 Dec 2004 15:35:53 +0000 (15:35 +0000)]
* gas/elf/section5.[ls]: Use % instead of @ in .section directives.
Nick Clifton [Mon, 20 Dec 2004 15:16:06 +0000 (15:16 +0000)]
Issue an error message if -static and -shared are used together.
DJ Delorie [Mon, 20 Dec 2004 05:19:58 +0000 (05:19 +0000)]
merge from gcc
DJ Delorie [Mon, 20 Dec 2004 04:20:34 +0000 (04:20 +0000)]
merge from gcc
gdbadmin [Mon, 20 Dec 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 19 Dec 2004 23:24:46 +0000 (23:24 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
(opd_entry_value): Use opd_relocs if available.
(ppc64_elf_relocate_section): Don't set reloc_done. Instead
copy .opd relocations to opd_relocs.
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.
Alan Modra [Sun, 19 Dec 2004 23:00:05 +0000 (23:00 +0000)]
daily update
Mark Kettenis [Sun, 19 Dec 2004 22:09:26 +0000 (22:09 +0000)]
* hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence): Check
whether the name returned by find_pc_partial_function is a null
pointer, not whether it is an empty string.
Mark Kettenis [Sun, 19 Dec 2004 21:09:40 +0000 (21:09 +0000)]
* hppa-tdep.h (hppa_regnum): Add HPPA_DP_REGNUM, HPPA_RET0_REGNUM,
HPPA_RET1_REGNUM and HPPA64_FP4_REGNUM.
* hppa-tdep.c (hppa64_integral_or_pointer_p)
(hppa64_floating_p) New functions.
(hppa64_push_dummy_call): Re-implement.
(hppa32_register_type): Rename argument reg_nr to regnum.
(hppa64_register_type): Likewise. Use HPPA64_FP4_REGNUM instead
of HPPA_FP4_REGNUM.
(hppa32_cannot_store_register): Renamed from
hppa_cannot_store_register.
(hppa64_cannot_store_register): New function.
(hppa_gdbarch_init): Set cannot_store_register and
cannot_fetch_register to hppa32_cannot_store_register or
hppa64_cannot_store_register when appropriate.