From: Pedro Alves Date: Tue, 17 May 2011 11:43:07 +0000 (+0000) Subject: 2011-05-17 Tomas Martinec X-Git-Tag: sid-snapshot-20110601~164 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd3da28e23c6fe0f229cd09975b28c6b3b1d8779;p=platform%2Fupstream%2Fbinutils.git 2011-05-17 Tomas Martinec gdb/ * infrun.c (handle_inferior_event) : Clear trap_expected. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 677970d..4b8a05f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2011-05-17 Tomas Martinec + + * infrun.c (handle_inferior_event) : Clear + trap_expected. + 2011-05-16 Doug Evans * python/py-auto-load.c (source_section_scripts): Mention objfile diff --git a/gdb/infrun.c b/gdb/infrun.c index 3b779de..0a15ea3 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3646,6 +3646,8 @@ handle_inferior_event (struct execution_control_state *ecs) singlestep_breakpoints_inserted_p = 0; } + ecs->event_thread->control.trap_expected = 0; + /* Note: We do not call context_switch at this point, as the context is already set up for stepping the original thread. */ switch_to_thread (deferred_step_ptid);