aboutsummaryrefslogtreecommitdiff
path: root/gdb/thread.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-12-20 03:37:33 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2002-12-20 03:37:33 +0000
commit7990a5784cbe840a25794a4c3c178d93a2229c85 (patch)
tree9db53690183a33892533c3e9f5a1fcb115217b3b /gdb/thread.c
parent574654558a6f0c820faaaa22306ca822c3db0419 (diff)
downloadgdb-7990a5784cbe840a25794a4c3c178d93a2229c85.zip
gdb-7990a5784cbe840a25794a4c3c178d93a2229c85.tar.gz
gdb-7990a5784cbe840a25794a4c3c178d93a2229c85.tar.bz2
2002-12-19 Keith Seitz <keiths@redhat.com>
patch committed by Elena Zannoni <ezannoni@redhat.com> * thread.c (do_captured_list_thread_ids): Call prune_threads and target_find_new_threads. Fix for PR mi/669.
Diffstat (limited to 'gdb/thread.c')
-rw-r--r--gdb/thread.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/thread.c b/gdb/thread.c
index f2ed52a..6ef4840 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)