diff options
author | Michael Snyder <msnyder@specifix.com> | 2008-10-06 23:13:58 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2008-10-06 23:13:58 +0000 |
commit | 63488557d9cba40d7efc06ca07086b61edcb3d0a (patch) | |
tree | 015fade23df03ee7fd9adb5fb2cf72c86acb9519 | |
parent | 3c75e6ec58e4e5d394bf1d571e0397cc5b074c3b (diff) | |
download | gdb-63488557d9cba40d7efc06ca07086b61edcb3d0a.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 | 20 |
2 files changed, 9 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b9b426f8371..c084f2ae87c 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. 2008-10-04 Hui Zhu <teawater@gmail.com> diff --git a/gdb/infrun.c b/gdb/infrun.c index 3f20d328986..9d07f7b4b64 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -3073,9 +3073,8 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); stop_stepping (ecs); } else - { - keep_going (ecs); - } + keep_going (ecs); + return; } @@ -3288,15 +3287,12 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); step. */ else if (RECORD_IS_USED && !RECORD_IS_REPLAY && !RECORD_TARGET_SUPPORT_RECORD_WAIT) - { - reverse_resume_need_step = 1; - } + reverse_resume_need_step = 1; 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; } @@ -3615,7 +3611,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. */ step_range_start = stop_func_sal.pc; - step_range_end = stop_func_sal.end; + step_range_end = stop_func_sal.end; keep_going (ecs); return; } |