summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-09-04 20:18:31 +0000
committerKeith Seitz <keiths@redhat.com>2002-09-04 20:18:31 +0000
commit0b1d1571cb490bb4831f580f7a28e7debce83451 (patch)
tree40bc57253e5f8d4da2ebc5e1c912fb6e2aa3ae98
parent12fd146d9c8fa08ec735d2db07b58402d16fdaf4 (diff)
downloadbinutils-gdb-0b1d1571cb490bb4831f580f7a28e7debce83451.tar.gz
* thread.c (do_captured_list_thread_ids): Call prune_threads
and target_find_new_threads.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/thread.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 8b6945d85c6..66da24de954 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2002-09-04 Keith Seitz <keiths@redhat.com>
+
+ * thread.c (do_captured_list_thread_ids): Call prune_threads
+ and target_find_new_threads.
+
2002-08-29 Keith Seitz <keiths@redhat.com>
* gdb-events.sh (context_changed): Rename to selected_thread_changed
diff --git a/gdb/thread.c b/gdb/thread.c
index caa4961f30b..4fac1331495 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_list_begin (uiout, "thread-ids");
for (tp = thread_list; tp; tp = tp->next)