diff options
author | Michael Snyder <msnyder@specifix.com> | 2008-10-06 23:14:15 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2008-10-06 23:14:15 +0000 |
commit | f79b158038d83805e1ceef69d258d47865b8f59a (patch) | |
tree | 4ee220f0a791f33ab72da6955aaafb6d5fbab731 | |
parent | 3d95c970b202155edeaedf6249cd21c287f3dbe1 (diff) | |
download | gdb-f79b158038d83805e1ceef69d258d47865b8f59a.tar.gz |
2008-10-06 Michael Snyder <msnyder@vmware.com>
* infrun.c (handle_inferior_event, step_into_function): Formatting.
-rw-r--r-- | gdb/ChangeLog | 1 | ||||
-rw-r--r-- | gdb/infrun.c | 16 |
2 files changed, 8 insertions, 9 deletions
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 <msnyder@vmware.com> + * 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; } |