Fix next over threaded execl with "set scheduler-locking step".
[deliverable/binutils-gdb.git] / gdb / infrun.c
index 2be2e5e7d40b0385149481668197ac1d16812d82..bef69a8124b15fbfb85afb151b12a13b1bcca171 100644 (file)
@@ -2160,7 +2160,7 @@ find_thread_needs_step_over (int step, struct thread_info *except)
       return NULL;
     }
 
-  ALL_THREADS (tp)
+  ALL_NON_EXITED_THREADS (tp)
     {
       /* Ignore the EXCEPT thread.  */
       if (tp == except)
@@ -5204,7 +5204,7 @@ switch_back_to_stepped_thread (struct execution_control_state *ecs)
         step/next/etc.  */
       stepping_thread = NULL;
       step_over = NULL;
-      ALL_THREADS (tp)
+      ALL_NON_EXITED_THREADS (tp)
         {
          /* Ignore threads of processes we're not resuming.  */
          if (!sched_multi
This page took 0.025772 seconds and 4 git commands to generate.