diff options
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index a260620047f..95a3ae9583d 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -4069,10 +4069,10 @@ handle_inferior_event (struct execution_control_state *ecs) skip_inline_frames call would break things. Fortunately that's an extremely unlikely scenario. */ if (!pc_at_non_inline_function (aspace, stop_pc, &ecs->ws) - && !(ecs->event_thread->suspend.stop_signal == GDB_SIGNAL_TRAP - && ecs->event_thread->control.trap_expected - && pc_at_non_inline_function (aspace, - ecs->event_thread->prev_pc, + && !(ecs->event_thread->suspend.stop_signal == GDB_SIGNAL_TRAP + && ecs->event_thread->control.trap_expected + && pc_at_non_inline_function (aspace, + ecs->event_thread->prev_pc, &ecs->ws))) { skip_inline_frames (ecs->ptid); |