diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2016-04-04 16:46:36 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2016-04-04 16:46:36 -0400 |
commit | 2aa08bd1f93e62c25a51a1055d611afb8e34497f (patch) | |
tree | 4b1b8be0ec8202126d95964c1243eb42fa3968fa /gdb/cli/cli-decode.c | |
parent | 7beb7f68a0514c489f8305b79ce3938a6a4e54f9 (diff) | |
download | gdb-2aa08bd1f93e62c25a51a1055d611afb8e34497f.zip gdb-2aa08bd1f93e62c25a51a1055d611afb8e34497f.tar.gz gdb-2aa08bd1f93e62c25a51a1055d611afb8e34497f.tar.bz2 |
Obvious function doc and formatting
gdb/ChangeLog:
* cli/cli-decode.c (help_cmd_list): Fix function doc and remove
trailing spaces.
Diffstat (limited to 'gdb/cli/cli-decode.c')
-rw-r--r-- | gdb/cli/cli-decode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 04ed6ab..8a8abda 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -1175,7 +1175,7 @@ print_help_for_command (struct cmd_list_element *c, const char *prefix, * all sublists of LIST. * PREFIX is the prefix to print before each command name. * STREAM is the stream upon which the output should be written. - * CLASS should be: + * THECLASS should be: * A non-negative class number to list only commands in that * class. * ALL_COMMANDS to list all commands in list. @@ -1192,7 +1192,7 @@ help_cmd_list (struct cmd_list_element *list, enum command_class theclass, struct cmd_list_element *c; for (c = list; c; c = c->next) - { + { if (c->abbrev_flag == 0 && (theclass == all_commands || (theclass == all_classes && c->func == NULL) |