This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Obvious function doc and formatting
- From: Simon Marchi <simark at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 4 Apr 2016 20:47:30 -0000
- Subject: [binutils-gdb] Obvious function doc and formatting
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2aa08bd1f93e62c25a51a1055d611afb8e34497f
commit 2aa08bd1f93e62c25a51a1055d611afb8e34497f
Author: Simon Marchi <simon.marchi@ericsson.com>
Date: Mon Apr 4 16:46:36 2016 -0400
Obvious function doc and formatting
gdb/ChangeLog:
* cli/cli-decode.c (help_cmd_list): Fix function doc and remove
trailing spaces.
Diff:
---
gdb/ChangeLog | 5 +++++
gdb/cli/cli-decode.c | 4 ++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3f40c31..fc9448d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
PR gdb/19820
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)