GNU Binutils with patches for OS216
リビジョン | 0d8328aee82dc669c7eced6a530752c787f016ec (tree) |
---|---|
日時 | 2008-10-08 04:01:26 |
作者 | Michael Snyder <msnyder@vmwa...> |
コミッター | Michael Snyder |
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.
@@ -1,5 +1,9 @@ | ||
1 | 1 | 2008-10-07 Michael Snyder <msnyder@vmware.com> |
2 | 2 | |
3 | + * infrun.c (stepped_into_function): Rename handle_step_into_function. | |
4 | + (stepped_into_function_backward): | |
5 | + Rename handle_step_into_function_backward. | |
6 | + | |
3 | 7 | * reverse.c: Update copyright. |
4 | 8 | (exec_reverse_once): Add function header comment. |
5 | 9 | (_initialize_reverse): Use i18n macros for set exec-direction. |
@@ -1468,8 +1468,8 @@ void init_execution_control_state (struct execution_control_state *ecs); | ||
1468 | 1468 | |
1469 | 1469 | void handle_inferior_event (struct execution_control_state *ecs); |
1470 | 1470 | |
1471 | -static void stepped_into_function (struct execution_control_state *ecs); | |
1472 | -static void stepped_into_function_backward (struct execution_control_state *ecs); | |
1471 | +static void handle_step_into_function (struct execution_control_state *ecs); | |
1472 | +static void handle_step_into_function_backward (struct execution_control_state *ecs); | |
1473 | 1473 | static void insert_step_resume_breakpoint_at_frame (struct frame_info *step_frame); |
1474 | 1474 | static void insert_step_resume_breakpoint_at_caller (struct frame_info *); |
1475 | 1475 | static void insert_step_resume_breakpoint_at_sal (struct symtab_and_line sr_sal, |
@@ -3244,13 +3244,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n"); | ||
3244 | 3244 | tmp_sal = find_pc_line (ecs->stop_func_start, 0); |
3245 | 3245 | if (tmp_sal.line != 0) |
3246 | 3246 | { |
3247 | - /* Find start of appropriate source line (either first or | |
3248 | - last line in callee, depending on execution | |
3249 | - direction). */ | |
3250 | 3247 | if (target_get_execution_direction () == EXEC_REVERSE) |
3251 | - stepped_into_function_backward (ecs); | |
3248 | + handle_step_into_function_backward (ecs); | |
3252 | 3249 | else |
3253 | - stepped_into_function (ecs); | |
3250 | + handle_step_into_function (ecs); | |
3254 | 3251 | return; |
3255 | 3252 | } |
3256 | 3253 | } |
@@ -3588,7 +3585,7 @@ currently_stepping (struct thread_stepping_state *tss) | ||
3588 | 3585 | it. */ |
3589 | 3586 | |
3590 | 3587 | static void |
3591 | -stepped_into_function (struct execution_control_state *ecs) | |
3588 | +handle_step_into_function (struct execution_control_state *ecs) | |
3592 | 3589 | { |
3593 | 3590 | struct symtab *s; |
3594 | 3591 | struct symtab_and_line stop_func_sal, sr_sal; |
@@ -3664,7 +3661,7 @@ stepped_into_function (struct execution_control_state *ecs) | ||
3664 | 3661 | last line of code in it. */ |
3665 | 3662 | |
3666 | 3663 | static void |
3667 | -stepped_into_function_backward (struct execution_control_state *ecs) | |
3664 | +handle_step_into_function_backward (struct execution_control_state *ecs) | |
3668 | 3665 | { |
3669 | 3666 | struct symtab *s; |
3670 | 3667 | struct symtab_and_line stop_func_sal, sr_sal; |