diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-07-28 17:43:58 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-07-28 17:43:58 +0000 |
commit | 79626f8a5fa0dbd735b2f510b938546cceb6ffae (patch) | |
tree | 066ef9b1894df0ba9662ac0523c6bdafadc21300 /gdb/infrun.c | |
parent | 90445bd31fa9fcf2b9f080b65fc5d2d3a3ca5bb0 (diff) | |
download | gdb-79626f8a5fa0dbd735b2f510b938546cceb6ffae.zip gdb-79626f8a5fa0dbd735b2f510b938546cceb6ffae.tar.gz gdb-79626f8a5fa0dbd735b2f510b938546cceb6ffae.tar.bz2 |
* infrun.c (handle_inferior_event): Clear trap_expected after
stepping past a single-step breakpoint.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 631c1af..f817972 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2813,6 +2813,7 @@ targets should add new threads to the thread list themselves in non-stop mode.") singlestep_breakpoints_inserted_p = 0; ecs->random_signal = 0; + ecs->event_thread->trap_expected = 0; context_switch (saved_singlestep_ptid); if (deprecated_context_hook) |