Obvious function doc and formatting
authorSimon Marchi <simon.marchi@ericsson.com>
Mon, 4 Apr 2016 20:46:36 +0000 (16:46 -0400)
committerSimon Marchi <simon.marchi@ericsson.com>
Mon, 4 Apr 2016 20:46:36 +0000 (16:46 -0400)
gdb/ChangeLog:

* cli/cli-decode.c (help_cmd_list): Fix function doc and remove
trailing spaces.

gdb/ChangeLog
gdb/cli/cli-decode.c

index 3f40c3133cea079012f63196f253268dc3af1fe3..fc9448d5115ef613d6722ee65b49aa0f10bb68c0 100644 (file)
@@ -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
index 04ed6ab8e79bc6fa5b9203bec76f9fb7bc6498f0..8a8abdaf06aeb8a7db7152091ed4c50ae6722e97 100644 (file)
@@ -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)
This page took 0.049673 seconds and 4 git commands to generate.