aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-03-22 08:22:29 -0400
committerDoug Evans <xdje42@gmail.com>2014-03-22 08:22:29 -0400
commit6339bfc47d2f4f5b681220ee2e735ea7828ae2e0 (patch)
treeef66a3c991d0ad5fb7f4db54a070b84cbfb00426 /gdb
parent0a07590bf432ef8d03fcfdc7849a6f03ec05f2b5 (diff)
downloadgdb-6339bfc47d2f4f5b681220ee2e735ea7828ae2e0.zip
gdb-6339bfc47d2f4f5b681220ee2e735ea7828ae2e0.tar.gz
gdb-6339bfc47d2f4f5b681220ee2e735ea7828ae2e0.tar.bz2
* infcmd.c: Whitespace fixes.
(interrupt_command): Merge two function comments into one.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/infcmd.c11
2 files changed, 14 insertions, 2 deletions
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 <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.
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)
{