aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2011-09-08 17:20:43 +0000
committerDoug Evans <dje@google.com>2011-09-08 17:20:43 +0000
commitbc587a6bd2e261d0a7645d0f5466379fe44f5f8b (patch)
tree7aeeb0312293a7d3c8321b1f3865913859d65e26 /gdb/cli
parentf124dd4f3f9511447b5782d334b3c66172db7451 (diff)
downloadgdb-bc587a6bd2e261d0a7645d0f5466379fe44f5f8b.zip
gdb-bc587a6bd2e261d0a7645d0f5466379fe44f5f8b.tar.gz
gdb-bc587a6bd2e261d0a7645d0f5466379fe44f5f8b.tar.bz2
* cli/cli-decode.c (add_cmd): Add comment.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-decode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 622ee68..95996e8 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -128,6 +128,7 @@ set_cmd_completer (struct cmd_list_element *cmd,
/* Add element named NAME.
+ Space for NAME and DOC must be allocated by the caller.
CLASS is the top level category into which commands are broken down
for "help" purposes.
FUN should be the function to execute the command;