diff options
author | Stan Shebs <shebs@apple.com> | 1999-05-05 14:45:51 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-05-05 14:45:51 +0000 |
commit | 049f10d7dc48a42b664a15149f83d5c3db004ef7 (patch) | |
tree | 8dd4e1a383afddd41a30a65adf68142dfd45ec72 /gdb/thread.c | |
parent | 1942e83ab587eb3c0c54e57e9d1c9e11c17ac07e (diff) | |
download | gdb-049f10d7dc48a42b664a15149f83d5c3db004ef7.tar.gz |
import gdb-19990504 snapshot
Diffstat (limited to 'gdb/thread.c')
-rw-r--r-- | gdb/thread.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/thread.c b/gdb/thread.c index d11a2e92fad..9f68547636d 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -80,7 +80,7 @@ void _initialize_thread PARAMS ((void)); /* Prototypes for local functions. */ #if !defined(FIND_NEW_THREADS) -#define FIND_NEW_THREADS target_find_new_threads +#define FIND_NEW_THREADS local_find_new_threads #endif static struct thread_info *thread_list = NULL; @@ -104,10 +104,8 @@ static void prune_threads PARAMS ((void)); static struct target_thread_vector *target_thread_functions; -static int target_find_new_threads PARAMS ((void)); - static int -target_find_new_threads () +local_find_new_threads () { int retval = 0; if (target_thread_functions && @@ -454,9 +452,7 @@ info_threads_command (arg, from_tty) if (!target_has_stack) error ("No stack."); prune_threads (); -#if defined(FIND_NEW_THREADS) - FIND_NEW_THREADS (); -#endif + target_find_new_threads (); current_pid = inferior_pid; for (tp = thread_list; tp; tp = tp->next) { |