mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
Obvious function doc and formatting
gdb/ChangeLog: * cli/cli-decode.c (help_cmd_list): Fix function doc and remove trailing spaces.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2016-04-04 Simon Marchi <simon.marchi@ericsson.com>
|
||||||
|
|
||||||
|
* cli/cli-decode.c (help_cmd_list): Fix function doc and remove
|
||||||
|
trailing spaces.
|
||||||
|
|
||||||
2016-04-01 Artemiy Volkov <artemiyv@acm.org>
|
2016-04-01 Artemiy Volkov <artemiyv@acm.org>
|
||||||
|
|
||||||
PR gdb/19820
|
PR gdb/19820
|
||||||
|
@ -1175,7 +1175,7 @@ print_help_for_command (struct cmd_list_element *c, const char *prefix,
|
|||||||
* all sublists of LIST.
|
* all sublists of LIST.
|
||||||
* PREFIX is the prefix to print before each command name.
|
* PREFIX is the prefix to print before each command name.
|
||||||
* STREAM is the stream upon which the output should be written.
|
* 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
|
* A non-negative class number to list only commands in that
|
||||||
* class.
|
* class.
|
||||||
* ALL_COMMANDS to list all commands in list.
|
* 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;
|
struct cmd_list_element *c;
|
||||||
|
|
||||||
for (c = list; c; c = c->next)
|
for (c = list; c; c = c->next)
|
||||||
{
|
{
|
||||||
if (c->abbrev_flag == 0
|
if (c->abbrev_flag == 0
|
||||||
&& (theclass == all_commands
|
&& (theclass == all_commands
|
||||||
|| (theclass == all_classes && c->func == NULL)
|
|| (theclass == all_classes && c->func == NULL)
|
||||||
|
Reference in New Issue
Block a user