]> 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:14:15 +0000 (23:14 +0000)
committerMichael Snyder <msnyder@vmware.com>
Mon, 6 Oct 2008 23:14:15 +0000 (23:14 +0000)
* infrun.c (handle_inferior_event, step_into_function): Formatting.

gdb/ChangeLog
gdb/infrun.c

index f69dad952736dcd9833e6bacd205e88f03a94a6f..9ec6f5bed2d4c83dd97897c29b4e6ed1296804dc 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.
 
        * infrun.c (handle_inferior_event): Add special case for
index b5c89bc452fd6fcb26f9a46e791a1539c17c998f..52f6daaec7ebe9e287f987f64a37318ee0cc5400 100644 (file)
@@ -3076,9 +3076,8 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n");
          stop_stepping (ecs);
        }
       else
-       {
-         keep_going (ecs);
-       }
+       keep_going (ecs);
+
       return;
     }
 
@@ -3254,11 +3253,10 @@ infrun: BPSTAT_WHAT_SET_LONGJMP_RESUME (!gdbarch_get_longjmp_target)\n");
          insert_step_resume_breakpoint_at_sal (sr_sal, null_frame_id);
        }
       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;
     }
@@ -3441,7 +3439,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.  */
       ecs->event_thread->step_range_start = stop_func_sal.pc;
-      ecs->event_thread->step_range_end   = stop_func_sal.end;
+      ecs->event_thread->step_range_end = stop_func_sal.end;
       keep_going (ecs);
       return;
     }