Add GPL copyright notices to uncopyrighted files.
[deliverable/binutils-gdb.git] / gdb / thread.c
index 00c6467f254b54958560155bd9b2360cb5fabafb..a08ff175b5ba34e88e0b7fa1618867c36dbb819a 100644 (file)
@@ -567,6 +567,10 @@ thread_apply_all_command (cmd, from_tty)
 
   old_chain = make_cleanup_restore_current_thread (inferior_pid);
 
+  /* It is safe to update the thread list now, before
+     traversing it for "thread apply all".  MVS */
+  target_find_new_threads ();
+
   for (tp = thread_list; tp; tp = tp->next)
     if (thread_alive (tp))
       {
This page took 0.023199 seconds and 4 git commands to generate.