Commit Graph

17657 Commits

Author SHA1 Message Date
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
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
Andrew Cagney c44523e786 2004-11-09 Andrew Cagney <cagney@gnu.org>
* TODO: Delete.
2004-11-09 15:35:15 +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
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
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
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
gdbadmin 998b002970 *** empty log message *** 2004-11-08 00:00:34 +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
Mark Kettenis 1f5867657b * tramp-frame.c (tramp_frame_prepend_unwinder): Set unwinder type
from TRAMP_FRAME frame type.
2004-11-07 12:54:58 +00:00
gdbadmin 66aa377dce *** empty log message *** 2004-11-07 00:00:03 +00:00
Joel Brobecker 5f6a23518e * alpha-mdebug-tdep.c: #include mdebugread.h.
Replace alpha_extra_func_info_t by struct mdebug_extra_func_info *.
        * Makefile.in (alpha-mdebug-tdep.o): Add dependency on mdebugread.h.
2004-11-06 17:18:10 +00:00
Andrew Cagney f059bf6fd2 2004-11-05 Andrew Cagney <cagney@gnu.org>
* dwarf2-frame.c (dwarf2_frame_cache): Only complain when both the
	CFI and the init_reg method leave the register unspecified.
	Include the register name in the "Incomplete CFI data" complaint.
	Supress leading zeros in the address.
2004-11-06 00:39:16 +00:00
gdbadmin 38a60c2e9c *** empty log message *** 2004-11-06 00:00:04 +00:00
Mark Kettenis 1234d96073 * dwarf2-frame.c (decode_frame_entry_1): Avoid indirection when
skipping a personality routine in a CIE augmentation.
2004-11-05 22:35:22 +00:00
Jeff Johnston d75e3c94b3 2004-11-05 Jeff Johnston <jjohnstn@redhat.com>
* defs.h (fatal, vfatal): New function prototypes.
        * stack.c (backtrace_command_stub): Stub to call backtrace_command_1
        via catch_errors.
        (backtrace_command): Change to call backtrace_command_stub via
        catch_errors instead of calling backtrace_command_1 directly.
        (backtrace_full_command): Ditto.
        * utils.c (error_stream_1): New static function.
        (verror): Change to call error_stream_1 instead of error_stream.
        (error_stream): Call error_stream_1 with RETURN_ERROR argument.
        (vfatal, fatal): New functions.
2004-11-05 20:32:04 +00:00
Andrew Cagney 98f276a088 2004-11-05 Andrew Cagney <cagney@gnu.org>
* stack.c (parse_frame_specification_1): Clear selected_frame_p
	when not using selected frame.
2004-11-05 18:58:29 +00:00
Mark Kettenis f724bf08b7 * dwarf2-frame.c (decode_frame_entry_1): Correctly skip
personality routine in a CIE augmentation.
2004-11-05 15:16:44 +00:00
Felix Lee c789492af8 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
* gdb.base/cursal.exp: New file.
        * gdb.base/cursal.c: New file.
2004-11-05 08:53:19 +00:00
gdbadmin b46b72c55c *** empty log message *** 2004-11-05 00:00:33 +00:00
Mark Kettenis a81b10aef7 * dwarf2-frame.c (read_encoded_value): Change type of third
argument to `unsigned char *'.  Add support for LEB128 encodings.
2004-11-04 21:15:15 +00:00
Jim Blandy ad766c0a80 * gdbtypes.c (make_qualified_type): Doc fix. Add assertion to
prevent cross-objfile references.
(make_cv_type): Doc fix.  Don't create cross-objfile references,
even for stub types.
(replace_type): Add assertion to prevent cross-objfile references.
(check_typedef): Never resolve a stub type by copying over a type
from another file.
2004-11-04 17:50:16 +00:00
Kazuhiro Inaoka f16d97c95d Fix TYPO. 2004-11-04 02:19:33 +00:00
Kazuhiro Inaoka c46b0409aa 2004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com>
* Makefile.in (m32r-tdep.o): Update dependencies.
	* m32r-tdep.c (m32r_gdbarch_init): Call gdbarch_init_osabi for
	ABI-specific overrides.
2004-11-04 02:15:20 +00:00
Kazuhiro Inaoka 9f0b03222a 2004-11-04 Kei Sakamoto <sakamoto.kei@denesas.com>
* m32r-tdep.c (m32r_memory_insert_breakpoint): Remove
        unnecessary parallel execution bit.
        (m32r_memory_remove_breakpoint): Ditto.
        (m32r_breakpoint_from_pc): Update.
2004-11-04 00:40:39 +00:00
gdbadmin 632e5f9e45 *** empty log message *** 2004-11-04 00:00:33 +00:00
Randolph Chung d5c27f815b 2004-11-03 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Use frame_pc_unwind instead of
    frame_func_unwind to locate the unwind entry.
	(hppa_frame_this_id): Likewise.
2004-11-03 23:20:43 +00:00
Andrew Cagney a1e167bbea 2004-11-03 Andrew Cagney <cagney@gnu.org>
* gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
2004-11-03 14:46:18 +00:00
Andrew Cagney 4577593c76 Fix last changelog. 2004-11-03 14:37:57 +00:00
Andrew Cagney d08c02306c 2004-11-01 Andrew Cagney <cagney@gnu.org>
* gdb/NEWS: Mention internationalization, m32r-*-linux-gnu, 'p'
	packet, obsolete configurations, end-of-life deprecated_registers.
2004-11-03 14:33:54 +00:00
gdbadmin 60a95160b7 *** empty log message *** 2004-11-03 00:00:02 +00:00
Mark Kettenis b04de77876 * dwarf2-frame.c (read_encoded_value): Set proper size for signed
encodings as well as unsigned encodings.
2004-11-02 22:25:47 +00:00
Andrew Cagney 9f2feefc7a 2004-11-02 Andrew Cagney <cagney@gnu.org>
* value.h (COERCE_VARYING_ARRAY): Delete.
	* valops.c (value_cast, value_slice): Delete use.
	* valarith.c (value_subscript, value_concat): Delete use.
2004-11-02 14:18:14 +00:00
Paul N. Hilfinger 117ea3cfbf NEWS: GDB understands GNAT Ada. 2004-11-02 09:41:00 +00:00