Preserve selected thread in all-stop w/ background execution
[deliverable/binutils-gdb.git] / gdb / inferior.c
index e0c2ab24dd81991a2469e5e1e237eb338832809c..98829252e5cf065cf6232f9b139b32de7ad0b607 100644 (file)
@@ -247,6 +247,7 @@ inferior_appeared (struct inferior *inf, int pid)
 {
   /* If this is the first inferior with threads, reset the global
      thread id.  */
+  delete_exited_threads ();
   if (!any_thread_p ())
     init_thread_list ();
 
This page took 0.027047 seconds and 4 git commands to generate.