aboutsummaryrefslogtreecommitdiff
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
parentf124dd4f3f9511447b5782d334b3c66172db7451 (diff)
downloadgdb-bc587a6bd2e261d0a7645d0f5466379fe44f5f8b.zip
gdb-bc587a6bd2e261d0a7645d0f5466379fe44f5f8b.tar.gz
gdb-bc587a6bd2e261d0a7645d0f5466379fe44f5f8b.tar.bz2
* cli/cli-decode.c (add_cmd): Add comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/cli/cli-decode.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 46dc414..d8e2f4e 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-09-08 Doug Evans <dje@google.com>
+
+ * cli/cli-decode.c (add_cmd): Add comment.
+
2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
PR breakpoints/12435
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;