From: Doug Evans Date: Sat, 22 Mar 2014 12:22:29 +0000 (-0400) Subject: * infcmd.c: Whitespace fixes. X-Git-Tag: gdb-7.8-release~744 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6339bfc47d2f4f5b681220ee2e735ea7828ae2e0;p=external%2Fbinutils.git * infcmd.c: Whitespace fixes. (interrupt_command): Merge two function comments into one. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6e96d13..7e52e25 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2014-03-22 Doug Evans + * infcmd.c: Whitespace fixes. + (interrupt_command): Merge two function comments into one. + +2014-03-22 Doug Evans + * infcmd.c (interrupt_command): Renamed from interrupt_target_command. All uses updated. diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 16a1d54..920169d 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -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, /* 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) /* 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) {