Update "func" help text to GNU standards
authorTom Tromey <tom@tromey.com>
Tue, 5 Jun 2018 15:23:48 +0000 (09:23 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Jun 2018 21:09:05 +0000 (15:09 -0600)
In my earlier series to change help text to follow the GNU standards
for metasyntactic variables, I missed one: the "func" command.  This
patch updates its help text.

Tested by the buildbot.

gdb/ChangeLog
2018-06-27  Tom Tromey  <tom@tromey.com>

* stack.c (_initialize_stack): Update "func" help text.

gdb/ChangeLog
gdb/stack.c

index 2075f47..330abd7 100644 (file)
@@ -1,5 +1,9 @@
 2018-06-27  Tom Tromey  <tom@tromey.com>
 
+       * stack.c (_initialize_stack): Update "func" help text.
+
+2018-06-27  Tom Tromey  <tom@tromey.com>
+
        * python/py-unwind.c (unwind_info_object) <saved_regs>: Now a
        std::vector.
        (unwind_infopy_str, pyuw_create_unwind_info)
index 9426d4f..13d8cf2 100644 (file)
@@ -2556,8 +2556,8 @@ on this backtrace."));
 
   if (dbx_commands)
     add_com ("func", class_stack, func_command, _("\
-Select the stack frame that contains <func>.\n\
-Usage: func <name>"));
+Select the stack frame that contains NAME.\n\
+Usage: func NAME"));
 
   add_setshow_enum_cmd ("frame-arguments", class_stack,
                        print_frame_arguments_choices, &print_frame_arguments,