From 41827fc34de3463891160a9d57df9f5c58c0b65f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 5 Jun 2018 09:23:48 -0600 Subject: [PATCH] Update "func" help text to GNU standards 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 * stack.c (_initialize_stack): Update "func" help text. --- gdb/ChangeLog | 4 ++++ gdb/stack.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2075f47f9a1..330abd76816 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2018-06-27 Tom Tromey + + * stack.c (_initialize_stack): Update "func" help text. + 2018-06-27 Tom Tromey * python/py-unwind.c (unwind_info_object) : Now a diff --git a/gdb/stack.c b/gdb/stack.c index 9426d4f1599..13d8cf22b5d 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -2556,8 +2556,8 @@ on this backtrace.")); if (dbx_commands) add_com ("func", class_stack, func_command, _("\ -Select the stack frame that contains .\n\ -Usage: func ")); +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, -- 2.30.2