public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH obv] Obvious function doc and formatting
@ 2016-04-04 20:48 Simon Marchi
  0 siblings, 0 replies; only message in thread
From: Simon Marchi @ 2016-04-04 20:48 UTC (permalink / raw)
  To: gdb-patches; +Cc: Simon Marchi

FYI, I just pushed this as obvious.

gdb/ChangeLog:

	* cli/cli-decode.c (help_cmd_list): Fix function doc and remove
	trailing spaces.
---
 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)
-- 
2.8.0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-04 20:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-04 20:48 [PATCH obv] Obvious function doc and formatting Simon Marchi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).