Commit Graph

13133 Commits

Author SHA1 Message Date
gdbadmin a5d8705f21 *** empty log message *** 2002-12-21 00:00:03 +00:00
David Carlton 9579e00017 2002-12-20 David Carlton <carlton@math.stanford.edu>
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-20 18:37:15 +00:00
Kazu Hirata f821f325df * agentexpr.texi: Fix typos.
* annotate.texi: Likewise.
	* fdl.texi: Likewise.
2002-12-20 09:35:03 +00:00
Elena Zannoni 7990a5784c 2002-12-19 Keith Seitz <keiths@redhat.com>
patch committed by Elena Zannoni  <ezannoni@redhat.com>
	* thread.c (do_captured_list_thread_ids): Call prune_threads and
	target_find_new_threads. Fix for PR mi/669.
2002-12-20 03:37:33 +00:00
gdbadmin 3f076845f5 *** empty log message *** 2002-12-20 00:00:02 +00:00
Kevin Buettner 521168af1c Remove outdated FIXME comment. 2002-12-19 19:02:57 +00:00
David Carlton 84fba31b3b 2002-12-19 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Move code into decode_all_digits.
	(decode_all_digits): New function.
2002-12-19 18:56:14 +00:00
Kevin Buettner 2fc70c99f5 * exec.c (print_section_info): Select a format string to use with
local_hex_string_custom() based upon the value of TARGET_ADDR_BIT.
2002-12-19 18:49:27 +00:00
Michael Chastain d181017144 2002-12-18 Michael Chastain <mec@shout.net>
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-19 05:10:45 +00:00
gdbadmin 32504c66e0 *** empty log message *** 2002-12-19 00:00:33 +00:00
Andrew Cagney 2f1071075b 2002-12-18 Andrew Cagney <ac131313@redhat.com>
* frame.c (deprecated_update_current_frame_pc_hack): Replace
	deprecated_update_current_frame_pc_hack.
	(deprecated_update_frame_base_hack): New function.
	* frame.h (deprecated_update_frame_pc_hack): Replace
	(deprecated_update_frame_base_hack): Declare.
	* infrun.c (normal_stop): Update.
2002-12-18 18:03:42 +00:00
Andrew Cagney c9012c7106 2002-12-18 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_init_extra_frame_info): Use
	frame_extra_info_zalloc.
	(rs6000_frame_args_address): Use get_frame_extra_info.
	(frame_get_saved_regs): Use get_frame_saved_regs.
	(frame_initial_stack_address): Use get_frame_saved_regs and
	get_frame_extra_info.
	(frame_initial_stack_address): Use get_frame_extra_info.
2002-12-18 15:23:22 +00:00
gdbadmin 8ec36b7150 *** empty log message *** 2002-12-18 00:00:35 +00:00
David Carlton 7656509736 2002-12-17 David Carlton <carlton@math.stanford.edu>
* gdb.c++/try_catch.cc: Add marker comments.
	* gdb.c++/try_catch.exp: Get line numbers from marker comments.
	* gdb.c++/m-data.cc: Delete namespace __gnu_test.
	* gdb.c++/m-static.cc: Ditto.
	* gdb.c++/m-static1.cc: Ditto.
	* gdb.c++/try_catch.cc: Ditto.
2002-12-17 23:24:57 +00:00
Kevin Buettner 6819ae388f Don't use NUM_REGS to determine array size. 2002-12-17 23:13:31 +00:00
Richard Earnshaw 625602f2f4 * armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.
All uses changed
(ARM_NBSD_JB_ELELMENT_SIZE): Similarly.
2002-12-17 22:11:31 +00:00
David Carlton 38d49aff68 2002-12-17 David Carlton <carlton@math.stanford.edu>
* symtab.c (lookup_partial_symbol): Don't search past the end of
	the partial symbols.
2002-12-17 18:34:06 +00:00
Andrew Cagney 30f7db39bd 2002-12-17 Andrew Cagney <ac131313@redhat.com>
* stack.c (frame_info): Use get_frame_saved_regs.
	* breakpoint.c (until_break_command): Use get_frame_pc.
2002-12-17 17:27:45 +00:00
Kevin Buettner 231367095d Replace complain() with complaint(). 2002-12-17 00:39:08 +00:00
gdbadmin bcc61ecbbb *** empty log message *** 2002-12-17 00:00:35 +00:00
Andrew Cagney 1a14e23479 2002-12-16 Andrew Cagney <ac131313@redhat.com>
* config/arc/arc.mt, config/arc/tm-arc.h: Delete.
	* config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete.
	* config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete.
	* config/i386/i386aix.mh, config/i386/i386aix.mt: Delete.
	* config/i386/i386m3.mh, config/i386/i386m3.mt: Delete.
	* config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete.
	* config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete.
	* config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete.
	* config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete.
	* config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete.
	* config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete.
	* config/i960/mon960.mt, config/i960/nindy960.mt: Delete.
	* config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete.
	* config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete.
	* config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete.
	* config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete.
	* config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete.
	* config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete.
	* config/m88k/delta88.mh, config/m88k/delta88.mt: Delete.
	* config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete.
	* config/m88k/m88k.mh, config/m88k/m88k.mt: Delete.
	* config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete.
	* config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete.
	* config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete.
	* config/m88k/xm-dgux.h: Delete.
	* fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete.
	* i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete.
	* os9kread.c, remote-bug.c, remote-nindy.c: Delete.
	* remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete.
	* d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete.
	* ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete.
	* ch-valprint.c: Delete.
2002-12-16 20:39:23 +00:00
Jeff Johnston da81390ba6 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
* lib/mi-support.exp (mi_reinitialize_dir): Check mi level
        to see whether we are using the new -environment-directory
        command which resets via -r or the old version of the command
        which may prompt the user.  Part of fix for gdb/741.
2002-12-16 20:03:17 +00:00
Andrew Cagney b304d13005 Remove obsolete testsuite code. 2002-12-16 19:33:54 +00:00
Joel Brobecker 273f84299e * hppa-hpux-tdep.c: New file.
* hppa-tdep.c (hppa_gdbarch_init): call the registered osabi-
        specific initialization routines.
        * Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c.
        (hppa-hpux-tdep.o): Add rule.
        * config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o.
        * config/pa/hppa64.mt (TDEPFILES): Likewise.
2002-12-16 16:51:47 +00:00
gdbadmin 90b8a04724 *** empty log message *** 2002-12-16 00:00:03 +00:00
Daniel Jacobowitz 04e688714f * infrun.c (handle_inferior_event): Rearrange code to resume if
no catchpoint triggers for an event.
2002-12-15 20:38:52 +00:00
Daniel Jacobowitz deb3b17b03 * infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
and TARGET_WAITKIND_VFORKED cases.
2002-12-15 20:15:56 +00:00
Daniel Jacobowitz 675bf4cbc8 * infrun.c (handle_inferior_event): Assume that catchpoints
are not affected by DECR_PC_AFTER_BREAK.
2002-12-15 20:08:02 +00:00
Daniel Jacobowitz 81e5617914 * target.c (update_current_target): Don't inherit DONT_USE.
* target.h (struct target_ops): Remove DONT_USE.
	(target_next): Remove macro.
2002-12-15 19:00:33 +00:00
Mark Kettenis a3edc55b09 * ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654. 2002-12-15 16:05:37 +00:00
gdbadmin d3c18e0f5c *** empty log message *** 2002-12-15 00:00:32 +00:00
Richard Earnshaw b508a996e6 * arm-tdep.c (convert_from_extended): New argument to hold the
type of floating point result we want to convert to.  Make input
argument const.  Fix all callers.
(convert_to_extended): Similarly.
(arm_extract_return_value): Now takes a regcache argument.  Change
code to use regcache accessor functions.  Correctly extract
smaller-than-word results on big-endian machines.
(arm_store_return_value): Now takes a regcache argument.  Change
code to use regcache accessor functions.  Correctly zero/sign extend
smaller than word results before storing into r0.
(arm_gdbarch_init): Register new-style extract_return_value and
store_return_value functions.
2002-12-14 10:42:05 +00:00
gdbadmin 7fc94d7187 *** empty log message *** 2002-12-14 00:00:03 +00:00
Michael Snyder 3197744f24 2002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>
* thread-db.c (thread_from_lwp): Uniquify error msg.
	(lwp_from_thread): Ditto.
	(check_event): Ditto.
	(find_new_threads_callback): Ditto.
	(thread_db_pid_to_str): Ditto.
2002-12-13 23:28:28 +00:00
Andrew Cagney 6baff1d2e5 2002-12-13 Andrew Cagney <ac131313@redhat.com>
* frame.h (get_frame_saved_regs): Declare.
	(frame_saved_regs_zalloc): Change return type to CORE_ADDR
	pointer.
	* frame.c (get_frame_saved_regs): New function.
	(frame_saved_regs_zalloc): Return the allocated saved_regs.
2002-12-13 23:18:56 +00:00
Andrew Cagney b87efeee0c 2002-12-13 Andrew Cagney <ac131313@redhat.com>
* frame.c (deprecated_update_current_frame_pc_hack): New
	function.
	* frame.h (deprecated_update_current_frame_pc_hack): Declare.
	* infrun.c (normal_stop): Use said function instead of directly
	modifying the frame's PC.
2002-12-13 21:57:40 +00:00
Alexandre Oliva 3de2dc4ff6 * frame.h (frame_id_unwind_ftype): Fix typo in return type. 2002-12-13 20:21:32 +00:00
Kevin Buettner fe29b929e2 Multiarch NUM_REGS for MIPS. 2002-12-13 18:09:30 +00:00
Jeff Johnston 93ce5efb0a 2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
* mi-basics.exp: Change tests for -environment-directory.  Also add
        tests for -environment-cd, -environment-pwd, and -environment-path.
        Part of fix for PR gdb/741.
2002-12-13 17:57:38 +00:00
Jeff Johnston c04e0a08c9 2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
* defs.h (init_last_source_visited): New prototype.
        (add_path): Ditto.
        * source.c (add_path): New function that adds to a specified path.
        (mod_path): Change to call add_path.
        (init_last_source_visited): New function to allow interfaces to
        initialize static variable: last_source_visited.  Part of fix
        for PR gdb/741.
        * Makefile.in: Add support for mi/mi-cmd-env.c.
2002-12-13 17:55:49 +00:00
Jeff Johnston 068890be59 2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
* mi-cmds.c (-environment-directory) Change to use mi_cmd_env_dir,
        (-environment-cd): Change to use mi_cmd_env_cd,.
        (-environment-pwd): Change to use mi_cmd_env_pwd.
        (-environment-path): Change to use mi_cmd_env_path.
        * mi-cmds.h (mi_cmd_env_cd, mi_cmd_env_dir): New prototypes.
        (mi_cmd_env_path, mi_cmd_env_pwd): Ditto.
        * mi-cmd-env.c: New file.  Part of fix for PR gdb/741.
        * gdbmi.texinfo (environment-cd): Update output and example.
        (environment-pwd): Ditto.
        (environment-dir): Update output, description, and examples.
        (environment-path): Ditto.
2002-12-13 17:00:22 +00:00
Andrew Cagney c689142bec 2002-12-13 Andrew Cagney <ac131313@redhat.com>
* frame.h (frame_id_unwind): Declare.
	(struct frame_info): Add fields id_unwind, id_unwind_cache_p and
	id_unwind_cache.
	(frame_id_unwind_ftype): Declare.
	* frame.c (frame_id_unwind): New function.
	(set_unwind_by_pc): Add unwind_id parameter.  Initialized.
	(create_new_frame, get_prev_frame): Pass id_unwind to
	set_unwind_by_pc.
	(frame_saved_regs_id_unwind): New function.
	(frame_saved_regs_id_unwind): New function.
	* dummy-frame.c (dummy_frame_id_unwind): New function.
	(struct dummy_frame): Add field id.
	(generic_push_dummy_frame): Initialize `id'.
	* dummy-frame.h (dummy_frame_id_unwind): Declare.
2002-12-13 16:40:25 +00:00
Andrew Cagney 18ea5ba4f0 2002-12-13 Andrew Cagney <ac131313@redhat.com>
* infcmd.c (run_stack_dummy): Create a frame ID directly and then
	pass that to set_momentary_breakpoint.  Move comments to where they
	belong.
	* frame.h (set_current_frame): Delete declaration.
	* frame.c (set_current_frame): Delete function.
2002-12-13 16:26:02 +00:00
Andrew Cagney 2c517d0eb4 2002-12-13 Andrew Cagney <ac131313@redhat.com>
* frame.c (frame_extra_info_zalloc): New function.
	* frame.h (frame_extra_info_zalloc): Declare.
2002-12-13 16:11:32 +00:00
Joel Brobecker 516b1f280d * hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
in the previous prototype change to set_momentary_breakpoint.
2002-12-13 14:37:41 +00:00
gdbadmin 96f719ab14 *** empty log message *** 2002-12-13 00:00:32 +00:00
Daniel Jacobowitz fbb265fcf2 * infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
and saw_child_exec.
	(follow_fork, init_wait_for_inferior, handle_inferior_event): Remove
	references to saw_parent_fork, saw_child_fork, and saw_child_exec.
	(stop_stepping): Remove outdated check for child vfork events.
2002-12-12 22:41:21 +00:00
Andrew Cagney 4fd7f624ea 5.3 released. 2002-12-12 06:29:25 +00:00
Daniel Jacobowitz 4c9ba7e0a6 * corelow.c (init_core_ops): Delete references to to_require_attach
and to_require_detach.
	* exec.c (init_exec_ops): Likewise.
	* hppah-nat.c (child_follow_fork): Call hppa_require_attach and
	hppa_require_detach directly.
	* inferior.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
	* inftarg.c (child_detach): Remove.
	(child_detach_from_process): Rename to child_detach, remove
	after_fork argument.
	(child_attach): Remove.
	(child_attach_to_process): Rename to child_attach, remove after_fork
	argument.
	(init_child_ops): Delete references to to_require_attach
	and to_require_detach.
	* infttrace.c (hppa_require_attach): Update comment.
	* target.c (cleanup_target, update_current_target)
	(init_dummy_target, setup_target_debug): Delete references to
	to_require_attach and to_require_detach.
	(find_default_require_detach, find_default_require_attach)
	(debug_to_require_attach, debug_to_require_detach): Remove
	functions.
	* target.h (struct target_ops): Remove to_require_attach
	and to_require_detach.
	(target_require_attach, target_require_detach): Delete macros.
	(find_default_require_detach, find_default_require_attach): Delete
	prototypes.
	* config/pa/nm-hppah.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
2002-12-12 01:39:34 +00:00
Andrew Cagney 0394eb2acb 2002-12-11 Andrew Cagney <ac131313@redhat.com>
* frame.c (get_frame_extra_info): New function.
	* frame.h (get_frame_extra_info): Declare.
2002-12-12 00:56:44 +00:00