From 79626f8a5fa0dbd735b2f510b938546cceb6ffae Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 28 Jul 2009 17:43:58 +0000 Subject: * infrun.c (handle_inferior_event): Clear trap_expected after stepping past a single-step breakpoint. --- gdb/infrun.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/infrun.c') 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) -- cgit v1.1