diff options
Diffstat (limited to 'gdb/cli')
-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) |