* infcmd.c: Whitespace fixes.
authorDoug Evans <xdje42@gmail.com>
Sat, 22 Mar 2014 12:22:29 +0000 (08:22 -0400)
committerDoug Evans <xdje42@gmail.com>
Sat, 22 Mar 2014 12:22:29 +0000 (08:22 -0400)
(interrupt_command): Merge two function comments into one.

gdb/ChangeLog
gdb/infcmd.c

index 6e96d13..7e52e25 100644 (file)
@@ -1,5 +1,10 @@
 2014-03-22  Doug Evans  <xdje42@gmail.com>
 
+       * infcmd.c: Whitespace fixes.
+       (interrupt_command): Merge two function comments into one.
+
+2014-03-22  Doug Evans  <xdje42@gmail.com>
+
        * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
        All uses updated.
 
index 16a1d54..920169d 100644 (file)
@@ -232,6 +232,7 @@ set_inferior_args_vector (int argc, char **argv)
 }
 
 /* Notice when `set args' is run.  */
+
 static void
 set_args_command (char *args, int from_tty, struct cmd_list_element *c)
 {
@@ -241,6 +242,7 @@ set_args_command (char *args, int from_tty, struct cmd_list_element *c)
 }
 
 /* Notice when `show args' is run.  */
+
 static void
 show_args_command (struct ui_file *file, int from_tty,
                   struct cmd_list_element *c, const char *value)
@@ -253,6 +255,7 @@ show_args_command (struct ui_file *file, int from_tty,
 \f
 /* Compute command-line string given argument vector.  This does the
    same shell processing as fork_inferior.  */
+
 char *
 construct_inferior_arguments (int argc, char **argv)
 {
@@ -373,6 +376,7 @@ construct_inferior_arguments (int argc, char **argv)
    background execution) has been added as *the last* of the arguments ARGS
    of a command.  If it has, it removes it and returns 1.  Otherwise it
    does nothing and returns 0.  */
+
 static int
 strip_bg_char (char **args)
 {
@@ -748,6 +752,7 @@ continue_1 (int all_threads)
 }
 
 /* continue [-a] [proceed-count] [&]  */
+
 static void
 continue_command (char *args, int from_tty)
 {
@@ -960,6 +965,7 @@ struct step_1_continuation_args
    to the user.  If count is > 1, we will need to do one more call to
    proceed(), via step_once().  Basically it is like step_once and
    step_1_continuation are co-recursive.  */
+
 static void
 step_1_continuation (void *args, int err)
 {
@@ -1187,6 +1193,7 @@ jump_command (char *arg, int from_tty)
 \f
 
 /* Go to line or address in current procedure.  */
+
 static void
 go_command (char *line_no, int from_tty)
 {
@@ -2693,12 +2700,12 @@ interrupt_target_1 (int all_threads)
     set_stop_requested (ptid, 1);
 }
 
-/* Stop the execution of the target while running in async mode, in
+/* interrupt [-a]
+   Stop the execution of the target while running in async mode, in
    the backgound.  In all-stop, stop the whole process.  In non-stop
    mode, stop the current thread only by default, or stop all threads
    if the `-a' switch is used.  */
 
-/* interrupt [-a]  */
 static void
 interrupt_command (char *args, int from_tty)
 {