2011-05-17 Tomas Martinec <fyzmat@gmail.com>
[deliverable/binutils-gdb.git] / gdb / infrun.c
index 3b779de823c2c46aebdc7230d86991d8390d5354..0a15ea3f9b3af8b0daed693f67eea2ac87ee9164 100644 (file)
@@ -3646,6 +3646,8 @@ handle_inferior_event (struct execution_control_state *ecs)
              singlestep_breakpoints_inserted_p = 0;
            }
 
+         ecs->event_thread->control.trap_expected = 0;
+
          /* Note: We do not call context_switch at this point, as the
             context is already set up for stepping the original thread.  */
          switch_to_thread (deferred_step_ptid);
This page took 0.025958 seconds and 4 git commands to generate.