diff options
author | Michael Snyder <msnyder@specifix.com> | 2008-10-07 19:01:04 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2008-10-07 19:01:04 +0000 |
commit | 89d6f80a812e411693cb6144eb00d9cab45bbb8d (patch) | |
tree | 01a34e265a73292ff276a907a1eb3d7a60b787ed | |
parent | 8809b4b84936fc4182c398056de4f7f1327e0d24 (diff) | |
download | gdb-89d6f80a812e411693cb6144eb00d9cab45bbb8d.tar.gz |
2008-10-07 Michael Snyder <msnyder@vmware.com>
* infrun.c (stepped_into_function): Rename handle_step_into_function.
(stepped_into_function_backward):
Rename handle_step_into_function_backward.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/infrun.c | 15 |
2 files changed, 10 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a57591be90f..f02450f8fb2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2008-10-07 Michael Snyder <msnyder@vmware.com> + * infrun.c (stepped_into_function): Rename handle_step_into_function. + (stepped_into_function_backward): + Rename handle_step_into_function_backward. + * reverse.c: Update copyright. (exec_reverse_once): Add function header comment. (_initialize_reverse): Use i18n macros for set exec-direction. diff --git a/gdb/infrun.c b/gdb/infrun.c index a25025bdd5e..db3eb4d98d5 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1474,8 +1474,8 @@ void init_execution_control_state (struct execution_control_state *ecs); void handle_inferior_event (struct execution_control_state *ecs); -static void stepped_into_function (struct execution_control_state *ecs); -static void stepped_into_function_backward (struct execution_control_state *ecs); +static void handle_step_into_function (struct execution_control_state *ecs); +static void handle_step_into_function_backward (struct execution_control_state *ecs); static void insert_step_resume_breakpoint_at_frame (struct frame_info *step_frame); static void insert_step_resume_breakpoint_at_caller (struct frame_info *); static void insert_step_resume_breakpoint_at_sal (struct symtab_and_line sr_sal, @@ -3227,13 +3227,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); tmp_sal = find_pc_line (ecs->stop_func_start, 0); if (tmp_sal.line != 0) { - /* Find start of appropriate source line (either first or - last line in callee, depending on execution - direction). */ if (target_get_execution_direction () == EXEC_REVERSE) - stepped_into_function_backward (ecs); + handle_step_into_function_backward (ecs); else - stepped_into_function (ecs); + handle_step_into_function (ecs); return; } } @@ -3420,7 +3417,7 @@ currently_stepping (struct thread_info *tp) it. */ static void -stepped_into_function (struct execution_control_state *ecs) +handle_step_into_function (struct execution_control_state *ecs) { struct symtab *s; struct symtab_and_line stop_func_sal, sr_sal; @@ -3496,7 +3493,7 @@ stepped_into_function (struct execution_control_state *ecs) last line of code in it. */ static void -stepped_into_function_backward (struct execution_control_state *ecs) +handle_step_into_function_backward (struct execution_control_state *ecs) { struct symtab *s; struct symtab_and_line stop_func_sal, sr_sal; |