mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
2011-05-17 Tomas Martinec <fyzmat@gmail.com>
gdb/ * infrun.c (handle_inferior_event) <handling deferred step>: Clear trap_expected.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user