From: Michael Snyder Date: Mon, 6 Oct 2008 23:14:15 +0000 (+0000) Subject: 2008-10-06 Michael Snyder X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3101bb3735d02384db5b54c5c52b37e5209e9aa;p=thirdparty%2Fbinutils-gdb.git 2008-10-06 Michael Snyder * infrun.c (handle_inferior_event, step_into_function): Formatting. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f69dad95273..9ec6f5bed2d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,6 @@ 2008-10-06 Michael Snyder + * infrun.c (handle_inferior_event, step_into_function): Formatting. * infrun.c (handle_inferior_event): Formatting, spelling fix. * infrun.c (handle_inferior_event): Add special case for diff --git a/gdb/infrun.c b/gdb/infrun.c index b5c89bc452f..52f6daaec7e 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3076,9 +3076,8 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); stop_stepping (ecs); } else - { - keep_going (ecs); - } + keep_going (ecs); + return; } @@ -3254,11 +3253,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); insert_step_resume_breakpoint_at_sal (sr_sal, null_frame_id); } else - { - /* Set a breakpoint at callee's return address (the address - at which the caller will resume). */ - insert_step_resume_breakpoint_at_caller (get_current_frame ()); - } + /* Set a breakpoint at callee's return address (the address + at which the caller will resume). */ + insert_step_resume_breakpoint_at_caller (get_current_frame ()); + keep_going (ecs); return; } @@ -3441,7 +3439,7 @@ step_into_function (struct execution_control_state *ecs) No step-resume breakpoint, they don't work for epilogues, which can have multiple entry paths. */ ecs->event_thread->step_range_start = stop_func_sal.pc; - ecs->event_thread->step_range_end = stop_func_sal.end; + ecs->event_thread->step_range_end = stop_func_sal.end; keep_going (ecs); return; }