diff options
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/infrun.c | 12 |
2 files changed, 11 insertions, 7 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e6e66eaa7da..b9b426f8371 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-10-06 Michael Snyder <msnyder@vmware.com> + + * infrun.c (handle_inferior_event): Formatting, spelling fix. + 2008-10-04 Hui Zhu <teawater@gmail.com> Change from "to_prepare_to_store" to "to_store_registers". @@ -18,7 +22,7 @@ record_beneath_to_prepare_to_store to record_beneath_to_store_registers. -2008-10-06 Michael Snyder <msnyder@promb-2s-dhcp59.eng.vmware.com> +2008-10-06 Michael Snyder <msnyder@vmware.com> * regcache.c (regcache_raw_write): Remove global variable. No need to include "record.h" now. diff --git a/gdb/infrun.c b/gdb/infrun.c index 1f407b61ddc..3f20d328986 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -2884,8 +2884,8 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); keep_going (ecs); return; } - if (stop_pc == ecs->stop_func_start && - target_get_execution_direction () == EXEC_REVERSE) + if (stop_pc == ecs->stop_func_start + && target_get_execution_direction () == EXEC_REVERSE) { /* We are stepping over a function call in reverse, and just hit the step-resume breakpoint at the start @@ -3062,11 +3062,11 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); paddr_nz (step_range_end)); /* When stepping backward, stop at beginning of line range - (unles it's the function entry point, in which case + (unless it's the function entry point, in which case keep going back to the call point). */ - if (stop_pc == step_range_start && - stop_pc != ecs->stop_func_start && - target_get_execution_direction () == EXEC_REVERSE) + if (stop_pc == step_range_start + && stop_pc != ecs->stop_func_start + && target_get_execution_direction () == EXEC_REVERSE) { stop_step = 1; print_stop_reason (END_STEPPING_RANGE, 0); |