aboutsummaryrefslogtreecommitdiff
path: root/gdb/linux-thread.c
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2001-04-06 17:53:39 +0000
committerDavid Smith <dsmith@redhat.com>2001-04-06 17:53:39 +0000
commite02bc4cc30e0425abebd623e4decd1bf37b9e3da (patch)
treec5adb383a78c39a2db58c5bed0ee16fa06be484d /gdb/linux-thread.c
parent1b2b2c1600019ff8869bb0d0bc9b1e42913c8c17 (diff)
downloadgdb-e02bc4cc30e0425abebd623e4decd1bf37b9e3da.zip
gdb-e02bc4cc30e0425abebd623e4decd1bf37b9e3da.tar.gz
gdb-e02bc4cc30e0425abebd623e4decd1bf37b9e3da.tar.bz2
2001-04-06 David Smith <dsmith@redhat.com>
* 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.
Diffstat (limited to 'gdb/linux-thread.c')
-rw-r--r--gdb/linux-thread.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/linux-thread.c b/gdb/linux-thread.c
index d06e3f6..8e73eb2 100644
--- a/gdb/linux-thread.c
+++ b/gdb/linux-thread.c
@@ -1051,7 +1051,10 @@ quit:
}
/* If we have switched threads from a one that stopped at breakpoint,
- return 1 otherwise 0. */
+ return 1 otherwise 0.
+
+ Note that this implementation is potentially redundant now that
+ default_prepare_to_proceed() has been added. */
int
linuxthreads_prepare_to_proceed (int step)