aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-04-22 23:34:57 +0000
committerK. Richard Pixley <rich@cygnus>1993-04-22 23:34:57 +0000
commitf936e20d33e67235e5683daa45dfdb60d7b03bec (patch)
treed8d83d82f7e5ea8b79f0d9f85164a268a6bba321 /gdb/command.c
parent3127785acd09dd55cf9821b419870d0683893f9e (diff)
downloadgdb-f936e20d33e67235e5683daa45dfdb60d7b03bec.zip
gdb-f936e20d33e67235e5683daa45dfdb60d7b03bec.tar.gz
gdb-f936e20d33e67235e5683daa45dfdb60d7b03bec.tar.bz2
comment changes only
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdb/command.c b/gdb/command.c
index 092f860..4eac4a6 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -45,7 +45,9 @@ parse_binary_operation PARAMS ((char *));
static void
print_doc_line PARAMS ((FILE *, char *));
-/* Add element named NAME to command list *LIST.
+/* Add element named NAME.
+ CLASS is the top level category into which commands are broken down
+ for "help" purposes.
FUN should be the function to execute the command;
it will get a character string as argument, with leading
and trailing blanks already eliminated.
@@ -53,7 +55,9 @@ print_doc_line PARAMS ((FILE *, char *));
DOC is a documentation string for the command.
Its first line should be a complete sentence.
It should start with ? for a command that is an abbreviation
- or with * for a command that most users don't need to know about. */
+ or with * for a command that most users don't need to know about.
+
+ Add this command to command list *LIST. */
struct cmd_list_element *
add_cmd (name, class, fun, doc, list)