From: ezannoni Date: Fri, 20 Dec 2002 03:37:33 +0000 (+0000) Subject: 2002-12-19 Keith Seitz X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b9547990c21ef7a77dda6355a4e552c06cee0a8a;p=pf3gnuchains%2Fsourceware.git 2002-12-19 Keith Seitz patch committed by Elena Zannoni * thread.c (do_captured_list_thread_ids): Call prune_threads and target_find_new_threads. Fix for PR mi/669. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ce539edd8a..cdd814d080 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-12-19 Keith Seitz + + patch committed by Elena Zannoni + * thread.c (do_captured_list_thread_ids): Call prune_threads and + target_find_new_threads. Fix for PR mi/669. + 2002-12-19 David Carlton * linespec.c (decode_line_1): Move code into decode_all_digits. diff --git a/gdb/thread.c b/gdb/thread.c index f2ed52a811..6ef484078e 100644 --- a/gdb/thread.c +++ b/gdb/thread.c @@ -262,6 +262,9 @@ do_captured_list_thread_ids (struct ui_out *uiout, struct thread_info *tp; int num = 0; + prune_threads (); + target_find_new_threads (); + ui_out_tuple_begin (uiout, "thread-ids"); for (tp = thread_list; tp; tp = tp->next)