This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Update "func" help text to GNU standards
- From: Tom Tromey <tromey at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 27 Jun 2018 21:09:23 -0000
- Subject: [binutils-gdb] Update "func" help text to GNU standards
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41827fc34de3463891160a9d57df9f5c58c0b65f
commit 41827fc34de3463891160a9d57df9f5c58c0b65f
Author: Tom Tromey <tom@tromey.com>
Date: Tue Jun 5 09:23:48 2018 -0600
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 <tom@tromey.com>
* stack.c (_initialize_stack): Update "func" help text.
Diff:
---
gdb/ChangeLog | 4 ++++
gdb/stack.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 2075f47..330abd7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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)
diff --git a/gdb/stack.c b/gdb/stack.c
index 9426d4f..13d8cf2 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 <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,