]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2008-10-06 Michael Snyder <msnyder@vmware.com>
authorMichael Snyder <msnyder@vmware.com>
Mon, 6 Oct 2008 23:13:59 +0000 (23:13 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 6 Oct 2008 23:13:59 +0000 (23:13 +0000)
* infrun.c (handle_inferior_event, step_into_function): Formatting.

gdb/ChangeLog
gdb/infrun.c

index b9b426f83716207464878a2ab8615419fcd3572d..c084f2ae87c46a8a2fb6439cb0b911371b00cd39 100644 (file)
@@ -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>
index 3f20d3289865827a8d98cc86bb5ae20743a24c07..9d07f7b4b643502aeaf91a2f444808b96ca97d61 100644 (file)
@@ -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;
     }