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:
parent
4c83e80569
commit
cd3da28e23
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-05-17 Tomas Martinec <fyzmat@gmail.com>
|
||||||
|
|
||||||
|
* infrun.c (handle_inferior_event) <handling deferred step>: Clear
|
||||||
|
trap_expected.
|
||||||
|
|
||||||
2011-05-16 Doug Evans <dje@google.com>
|
2011-05-16 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* python/py-auto-load.c (source_section_scripts): Mention objfile
|
* python/py-auto-load.c (source_section_scripts): Mention objfile
|
||||||
|
|
|
@ -3646,6 +3646,8 @@ handle_inferior_event (struct execution_control_state *ecs)
|
||||||
singlestep_breakpoints_inserted_p = 0;
|
singlestep_breakpoints_inserted_p = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ecs->event_thread->control.trap_expected = 0;
|
||||||
|
|
||||||
/* Note: We do not call context_switch at this point, as the
|
/* Note: We do not call context_switch at this point, as the
|
||||||
context is already set up for stepping the original thread. */
|
context is already set up for stepping the original thread. */
|
||||||
switch_to_thread (deferred_step_ptid);
|
switch_to_thread (deferred_step_ptid);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue