From 79626f8a5fa0dbd735b2f510b938546cceb6ffae Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 28 Jul 2009 17:43:58 +0000 Subject: [PATCH] * infrun.c (handle_inferior_event): Clear trap_expected after stepping past a single-step breakpoint. --- gdb/ChangeLog | 5 +++++ gdb/infrun.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90056a54eb2..019d4416dc5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-07-28 Daniel Jacobowitz + + * infrun.c (handle_inferior_event): Clear trap_expected after + stepping past a single-step breakpoint. + 2009-07-28 Joseph Myers * arm-tdep.c (enum arm_vfp_cprc_base_type, diff --git a/gdb/infrun.c b/gdb/infrun.c index 631c1af1913..f8179727df7 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) -- 2.30.2