From bc587a6bd2e261d0a7645d0f5466379fe44f5f8b Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 8 Sep 2011 17:20:43 +0000 Subject: [PATCH] * cli/cli-decode.c (add_cmd): Add comment. --- gdb/ChangeLog | 4 ++++ gdb/cli/cli-decode.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 46dc414bfb0..d8e2f4ea271 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-09-08 Doug Evans + + * cli/cli-decode.c (add_cmd): Add comment. + 2011-09-08 Jan Kratochvil PR breakpoints/12435 diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 622ee686784..95996e8ecce 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; -- 2.30.2