summaryrefslogtreecommitdiff
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
commit57cf01636efecd334e377297527c24c1afa8f7bd (patch)
tree1499988820f76bf490264508509e17e6bc874f91
parentf6fcfecad9ccf554296dc8c8fc6f0d1973c10b5f (diff)
downloadgdb-57cf01636efecd334e377297527c24c1afa8f7bd.tar.gz
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.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/thread.c3
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ce539edd8ae..cdd814d0805 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2002-12-19 David Carlton <carlton@math.stanford.edu>
* linespec.c (decode_line_1): Move code into decode_all_digits.
diff --git a/gdb/thread.c b/gdb/thread.c
index f2ed52a8112..6ef484078ef 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)