aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;