]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2008-10-07 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Tue, 7 Oct 2008 19:01:26 +0000 (19:01 +0000)
committerMichael Snyder <msnyder@vmware.com>
Tue, 7 Oct 2008 19:01:26 +0000 (19:01 +0000)
* infrun.c (stepped_into_function): Rename handle_step_into_function.
(stepped_into_function_backward):
Rename handle_step_into_function_backward.

gdb/ChangeLog
gdb/infrun.c

index 6678d71b9ee28d4d73b703a37aa98af222f4f438..e5ea04e1ee9dae945decadab277d697dd962b384 100644 (file)
@@ -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.
index aa1f9f0780d564150c71cb01a88f19c01f5ab873..4bd620976f431a5c4953e1783ba5adc6d44c04a8 100644 (file)
@@ -1468,8 +1468,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,
@@ -3244,13 +3244,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;
          }
       }
@@ -3588,7 +3585,7 @@ currently_stepping (struct thread_stepping_state *tss)
    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;
@@ -3664,7 +3661,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;