Commit Graph

46234 Commits

Author SHA1 Message Date
Ian Lance Taylor 2b25cacb21 PR binutils/536
* stabs.c (stab_demangle_template): Call stab_demangle_count
	rather than stab_demangle_get_count to get the length of a pointer
	target.
2004-11-10 16:10:17 +00:00
Andrew Cagney 69065f5d2f 2004-11-10 Jon Beniston <jon@beniston.com>
Committed by Andrew Cagney  <cagney@gnu.org>.
        * gdb.texinfo (Remote Serial Protocol): Further describe
        binary transfer escaping mechanism .
2004-11-10 14:56:26 +00:00
Danny Smith 74aba8aa72 * defparse.y: Remove unnecessary commas from token list. 2004-11-10 06:54:08 +00:00
Alan Modra 6639a9d92b * gas/i386/opcode.s: Pad section.
* gas/i386/intelok.s: Likewise.
	* gas/i386/opcode.d: Update.
	* gas/i386/intelok.d: Update.
2004-11-10 04:29:55 +00:00
Alan Modra d693c47eec * ld-d10v/reloc-003.d: Update for changed error message.
* ld-d10v/reloc-004.d: Likewise.
	* ld-d10v/reloc-007.d: Likewise.
	* ld-d10v/reloc-008.d: Likewise.
	* ld-d10v/reloc-011.d: Likewise.
	* ld-d10v/reloc-012.d: Likewise.
	* ld-d10v/reloc-015.d: Likewise.
	* ld-d10v/reloc-016.d: Likewise.
2004-11-10 03:38:17 +00:00
Alan Modra c04f57872c * obj.h (struct format_ops <app_file>): Add int param.
* read.h (s_app_file_string): Likewise.
	* read.c (s_app_file_string): Likewise.
	(s_app_file): Adjust s_app_file_string call.
	* config/tc-mips.c (s_mips_file): Likewise.
	* config/obj-coff.h (obj_app_file): Add app param.
	* config/obj-ecoff.h (obj_app_file): Likewise.
	* config/obj-multi.h (obj_app_file): Likewise.
	* config/obj-elf.h (elf_file_symbol): Likewise.
	* config/obj-elf.c (elf_file_symbol): Only emit one file symbol
	if called for # preprocessor lines.
2004-11-10 03:28:45 +00:00
Andrew Cagney 390e974f52 GDB 6.3 2004-11-10 00:00:25 +00:00
gdbadmin 718875edf7 *** empty log message *** 2004-11-10 00:00:02 +00:00
Alan Modra 194c914474 daily update 2004-11-09 23:00:06 +00:00
Aaron W. LaFramboise 316f3bf851 Fix ChangeLog typo. 2004-11-09 21:27:51 +00:00
Andrew Cagney 92e023d64f 2004-11-09 Andrew Cagney <cagney@gnu.org>
* values.c: Rename to ...
	* value.c: ..., new file.
	* Makefile.in: Update.
2004-11-09 20:41:57 +00:00
Daniel Jacobowitz d10891d454 * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Correct allocated
size.
2004-11-09 19:51:44 +00:00
Mark Mitchell e6dc21b695 * som.c (som_bfd_print_private_bfd_data): New function.
(som_object_setup): Save the auxiliary header.  Don't assume that
	zero is an invalid entry point for a shared library.
	(som_object_p): Allocate the auxiliary header on the heap.
2004-11-09 17:40:22 +00:00
Mark Mitchell b34af79cca * elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&R
declaration.
	(elf32_arm_symbian_modify_segment_map): Likewise.
2004-11-09 16:50:38 +00:00
Daniel Jacobowitz 08d1f311bf From David Poole <daveml@mbuf.com>:
* elf32-arm.c (elf32_arm_readonly_dynrelocs): New function.
	(elf32_arm_size_dynamic_sections): Call it.
2004-11-09 16:44:31 +00:00
Andrew Cagney c44523e786 2004-11-09 Andrew Cagney <cagney@gnu.org>
* TODO: Delete.
2004-11-09 15:35:15 +00:00
Nick Clifton 300dac7e8c oops - omitted from previous delta 2004-11-09 14:53:56 +00:00
Andrew Cagney 00a4c844d2 2004-11-09 Andrew Cagney <cagney@gnu.org>
* value.h (struct value): Delete field bfd_section.
	(VALUE_BFD_SECTION): Delete macro.
	(COERCE_REF): Update.
	(value_at, value_at_lazy): Delete asection parameter.
	* printcmd.c (print_formatted, x_command): Update.
	(do_examine): Delete asection parameter.
	(next_section): Delete variable.
	* valops.c (value_cast, value_at, value_at_lazy)
	(value_coerce_function, value_addr, value_ind, value_string)
	(find_rt_vbase_offset, value_full_object): Update.
	* hpacc-abi.c (hpacc_virtual_fn_field)
	(hpacc_value_rtti_type): Update.
	* gnu-v3-abi.c (gnuv3_rtti_type, gnuv3_virtual_fn_field)
	(gnuv3_baseclass_offset): Update.
	* f-valprint.c (f_val_print): Update.
	* c-valprint.c (c_val_print): Update.
	* p-valprint.c (pascal_val_print): Update.
	* jv-valprint.c (java_value_print): Update.
	* jv-lang.c (java_class_from_object, evaluate_subexp_java): Update.
	* ada-lang.c (ada_value_primitive_packed_val)
	(ada_evaluate_subexp): Update.
	* dwarf2loc.c (dwarf2_evaluate_loc_desc): Update.
	* expprint.c (print_subexp_standard): Update.
	* infcall.c (call_function_by_hand): Update.
	* valarith.c (value_add): Update.
	* eval.c (evaluate_subexp_standard): Update.
	* values.c (allocate_value, value_copy, value_static_field): Update.
	* findvar.c (read_var_value, locate_var_value): Update.
2004-11-09 14:43:27 +00:00
Andrew Cagney 5cb2fe259c 2004-11-09 Andrew Cagney <cagney@gnu.org>
* i386-linux-tdep.c: Include "dwarf2-frame.h".
	* Makefile.in: Update all dependencies.
2004-11-09 14:28:42 +00:00
Alan Modra 0306b3bf8d * Makefile.am (SOURCE_HFILES): Remove elf32-arm.h.
(ALL_MACHINES_CFILES): Fix typo.
	* Makefile.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
2004-11-09 13:29:16 +00:00
Andrew Cagney cbafadeb88 2004-11-08 Andrew Cagney <cagney@gnu.org>
* sentinel-frame.c (sentinel_frame_prev_pc): New function.
	(sentinel_frame_unwinder): Add the prev_pc method.
	* frame.c (frame_pc_unwind): Use the per-frame pc unwinder when
	available.  Do not handle the sentinel-frame case.
	* frame-unwind.h (frame_prev_register_ftype): Define.
	(struct frame_unwind): Add prev_pc;
2004-11-09 01:16:42 +00:00
H.J. Lu a77a9021ea 2004-11-08 H.J. Lu <hongjiu.lu@intel.com>
PR 528
	* symbols.c (resolve_symbol_value): Convert weak symbols only
	for Windows PECOFF.
	(symbol_equated_reloc_p): Don't equate weaks when relocating
	only for Windows PECOFF.
2004-11-09 01:01:17 +00:00
Dave Anglin 3b78cdbb32 * configure.in: Check for ncurses/term.h.
* gdb_curses.h: Include term.h here, prefering ncurses/term.h.
	* utils.c: Include gdb_curses.h instead of curses.h and term.h.
	* tui/tui.c: Don't include term.h.
	* configure, config.in: Rebuilt.
2004-11-09 00:59:03 +00:00
gdbadmin 8af859d742 *** empty log message *** 2004-11-09 00:00:33 +00:00
Alan Modra e325f4b4df daily update 2004-11-08 23:00:08 +00:00
Hans-Peter Nilsson ba719b2610 * configure.in (noconfigdirs) [mmix-*-*]: Disable
target-libgfortran.
	* configure: Regenerate.
2004-11-08 22:14:59 +00:00
Mark Mitchell a16385dc25 * elf32-arm.c (elf32_arm_final_link_relocate): When generating an
R_ARM_RELATIVE relocation for Symbian OS, mention the section
	symbol in the relocation.
2004-11-08 22:08:07 +00:00
Mark Kettenis bcfca65278 * m68kbsd-nat.c: Include "inf-ptrace.h".
(_initialize_m68kbsd_nat): Fix pasto.
* Makefile.in (m68kbsd-nat.o): Update dependencies.
2004-11-08 20:42:53 +00:00
Randolph Chung 30e91e0bc8 2004-11-08 Randolph Chung <tausq@debian.org>
* gdb.texinfo (inferior_debugging info): Document "set debug infrun"
	and "show debug infrun".  Add index entries.
2004-11-08 17:25:49 +00:00
Randolph Chung 527159b776 2004-11-08 Randolph Chung <tausq@debian.org>
* infrun.c (debug_infrun): New variable.
	(resume, proceed, wait_for_inferior): Annotate with debug messages.
	(handle_inferior_event, keep_going): Likewise.
	(_initialize_infrun): Register "set debug infrun" command.
2004-11-08 17:25:23 +00:00
Andreas Schwab c874c7fcd5 * linux-nat.c (PTRACE_EVENT_VFORK_DONE): Renamed from
PTRACE_EVENT_VFORKDONE.
	(child_follow_fork): Adjust.
2004-11-08 16:05:12 +00:00
Andrew Cagney 5c26072a12 2004-11-08 Andrew Cagney <cagney@gnu.org>
* README: Refer to 6.3, not 6.2, update directory listing droppng
	references to intl/ and mmalloc/.
	* PROBLEMS: Refer to 6.3 not 6.2.
2004-11-08 15:55:49 +00:00
Andrew Cagney 3c8fa3070d 2004-11-08 Andrew Cagney <cagney@gnu.org>
* PROBLEMS: Delete no-longer applicable problems.
2004-11-08 15:34:04 +00:00
David Edelsohn c37653e73f * config-ml.in: Pass FCFLAGS for multilibs, handle GFORTRAN
like CC.
2004-11-08 15:28:01 +00:00
Tomer Levi aea44f6290 2004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c (print_insn): Check and set insn_addr.
	* config/tc-crx.h (md_frag_check): Define.
2004-11-08 13:51:55 +00:00
Nick Clifton 7499d566bb Add support fpr MAXQ processor 2004-11-08 13:17:43 +00:00
Nick Clifton dc85a459cf *sigh* undo previous delta which was done too early... 2004-11-08 12:59:37 +00:00
Nick Clifton 9b131d320b oops - omitted from previous delta 2004-11-08 12:55:40 +00:00
Nick Clifton 0c429e0711 oops - omitted fom previous delta 2004-11-08 08:51:47 +00:00
Nick Clifton 977cdf5aa7 Fix support for PECOFF weak symbols 2004-11-08 08:12:53 +00:00
gdbadmin 998b002970 *** empty log message *** 2004-11-08 00:00:34 +00:00
Alan Modra 5f7836ba7e daily update 2004-11-07 23:00:05 +00:00
Daniel Jacobowitz 12b8a2cb8d * Makefile.in (symfile-mem.o): Update dependencies.
* i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): New.
	(i386_linux_init_abi): Call dwarf2_frame_set_signal_frame_p.
	* inf-ptrace.c (inf_ptrace_attach): Call
	observer_notify_inferior_created.
	* inftarg.c (child_attach): Likewise.
	* symfile-mem.c: Include "observer.h", "auxv.h", and "elf/common.h".
	(symbol_file_add_from_memory): Take NAME argument.  Use it for
	the new BFD's filename.
	(add_symbol_file_from_memory_command): Update call to
	symbol_file_add_from_memory.
	(struct symbol_file_add_from_memory_args, add_vsyscall_page)
	(symbol_file_add_from_memory_wrapper): New.
	(_initialize_symfile_mem): Register add_vsyscall_page as an
	inferior_created observer.
2004-11-07 21:33:29 +00:00
Mark Kettenis abbc694557 * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Rename from
fetch_inferior_registers.  Make static.
(m68kbsd_store_inferior_registers): Rename from
store_inferior_registers.  Make static.
(_initialize_m68kbsd_nat): Construct and add target vector.
* config/m68k/nbsdaout.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Set to tm-solib.h.
(LOADLIBES): New variable.
* config/m68k/nbsdelf.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Delete variable.
* config/m68k/obsd.mh (NATDEPFILES): Remove infptrace.o and
inftarg.o.  Add inf-ptrace.o.
(NAT_FILE): Set to tm-solib.h.
* config/m68k/nm-nbsdaout.h: Remove file.
2004-11-07 21:31:19 +00:00
Daniel Jacobowitz 3ed09a3267 * dwarf2-frame.c (struct dwarf2_frame_ops): Add signal_frame_p.
(dwarf2_frame_set_signal_frame_p, dwarf2_frame_signal_frame_p)
	(dwarf2_signal_frame_unwind): New.
	(dwarf2_frame_sniffer): Use dwarf2_frame_signal_frame_p.
	* dwarf2-frame.h (dwarf2_frame_set_signal_frame_p): New prototype.
2004-11-07 21:16:11 +00:00
Mark Kettenis 4fb31ed045 * Makefile.in (mips64obsd-tdep.o): Fix typo. 2004-11-07 20:20:32 +00:00
Mark Kettenis fabe86c85f * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Renamed
from mipsnbsd_ilp32_solib_svr4_fetch_link_map_offsets.  Trim sizes
to only include the structure members we actually need.
(mipsnbsd_lp64_fetch_link_map_offsets): Renamed from
mipsnbsd_lp64_solib_svr4_fetch_link_map_offsets.  Trim sizes to
only include the structure members we actually need.
(mipsnbsd_init_abi): Update.
2004-11-07 17:53:30 +00:00
Mark Kettenis 366e93e85b * mips64obsd-nat.c: Include "mips-tdep.h".
(MIPS64OBSD_NUM_REGS): Remove define.
(MIPS_PC_REGNUM, MIPS_FP0_REGNUM, MIPS_FSR_REGNUM): New defines.
(mips64obsd_supply_gregset, mips64obsd_collect_gregset): Handle
floating-point registers correctly.
* Makefile.in (mips64obsd-nat.o): Update dependencies.
2004-11-07 17:08:34 +00:00
Mark Kettenis 8e763687bf * mips64obsd-tdep.c: Include "trad-frame.h", "tramp-frame.h" and
"gdb_assert.h".
(mips64obsd_sigframe_init): New function.
(mips64obsd_sigframe): New variable.
(mips64obsd_init_abi): Add comments.  Prepend mips64obsd_sigrame
unwinder.
* Makefile.in (mips64obsd-tdep.o): Update dependencies.
2004-11-07 17:02:44 +00:00
Mark Kettenis 9cf0961bb8 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
frames.
2004-11-07 16:47:57 +00:00