From b83266a0e1813b7f4891d5d6b0ed6b7302a3fe98 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Wed, 5 May 1999 14:45:51 +0000 Subject: import gdb-19990504 snapshot --- gdb/thread.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'gdb/thread.c') diff --git a/gdb/thread.c b/gdb/thread.c index d11a2e9..9f68547 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) { -- cgit v1.1