OSDN Git Service

2002-12-19 Keith Seitz <keiths@redhat.com>
authorezannoni <ezannoni>
Fri, 20 Dec 2002 03:37:33 +0000 (03:37 +0000)
committerezannoni <ezannoni>
Fri, 20 Dec 2002 03:37:33 +0000 (03:37 +0000)
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.

gdb/ChangeLog
gdb/thread.c

index ce539ed..cdd814d 100644 (file)
@@ -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.
index f2ed52a..6ef4840 100644 (file)
@@ -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)