From e02bc4cc30e0425abebd623e4decd1bf37b9e3da Mon Sep 17 00:00:00 2001 From: David Smith Date: Fri, 6 Apr 2001 17:53:39 +0000 Subject: 2001-04-06 David Smith * arch-utils.c (default_prepare_to_proceed) (generic_prepare_to_proceed): Added new functions. * arch-utils.h: New function declarations for default_prepare_to_proceed() and generic_prepare_to_proceed(). * gdbarch.sh: Added PREPARE_TO_PROCEED. * gdbarch.c: Regenerated. * gdbarch.h: Regenerated. * inferior.h: Added get_last_target_status() declaration. * infrun.c (get_last_target_status): Added new function. (handle_inferior_event): Saves last pid and waitstatus, which will get returned by get_last_target_status(). * hppa-tdep.c (prepare_to_proceed): Added comment stating that prepare_to_proceed() is potentially redundant since default_prepare_to_proceed() has been added. * linux-thread.c (prepare_to_proceed): Ditto. * lin-lwp.c (prepare_to_proceed): Ditto. * m3-nat.c (prepare_to_proceed): Ditto. --- gdb/hppa-tdep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/hppa-tdep.c') diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 3a879088cd..855fcb344c 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -4591,7 +4591,10 @@ unwind_command (char *exp, int from_tty) For these reasons, we have to violate information hiding and call "breakpoint_here_p". If core gdb thinks there is a bpt here, that's what counts, as core gdb is the one which is - putting the BPT instruction in and taking it out. */ + putting the BPT instruction in and taking it out. + + Note that this implementation is potentially redundant now that + default_prepare_to_proceed() has been added. */ int hppa_prepare_to_proceed (void) { -- cgit v1.2.1