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 | |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/infrun.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90056a5..019d441 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-07-28 Daniel Jacobowitz <dan@codesourcery.com> + + * infrun.c (handle_inferior_event): Clear trap_expected after + stepping past a single-step breakpoint. + 2009-07-28 Joseph Myers <joseph@codesourcery.com> * arm-tdep.c (enum arm_vfp_cprc_base_type, 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) |