diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-05 09:23:48 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-06-27 15:09:05 -0600 |
commit | 41827fc34de3463891160a9d57df9f5c58c0b65f (patch) | |
tree | bf5bfb7be3de5dc44c866f47369017f33c2c140b /gdb | |
parent | 0c6aef226ede6ef6547adb170fb5afb002e96257 (diff) | |
download | gdb-41827fc34de3463891160a9d57df9f5c58c0b65f.zip gdb-41827fc34de3463891160a9d57df9f5c58c0b65f.tar.gz gdb-41827fc34de3463891160a9d57df9f5c58c0b65f.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | 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, |