This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Update help of the "frame" command
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Simon Marchi <simon dot marchi at ericsson dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 9 Jan 2017 17:27:26 +0000
- Subject: Re: [PATCH] Update help of the "frame" command
- Authentication-results: sourceware.org; auth=none
- References: <20170106151610.28872-1-simon.marchi@ericsson.com>
On 17-01-06 10:16:10, Simon Marchi wrote:
> @@ -2666,9 +2666,7 @@ This is useful in command scripts."));
> Select and print a stack frame.\nWith no argument, \
> print the selected stack frame. (See also \"info frame\").\n\
> An argument specifies the frame to select.\n\
> -It can be a stack frame number or the address of the frame.\n\
> -With argument, nothing is printed if input is coming from\n\
> -a command file or a user-defined command."));
> +It can be a stack frame number or the address of the frame.\n"));
>
These two lines were added many years ago,
c906108c (Stan Shebs 1999-04-16 01:35:26 +0000 2632) It can be a stack frame number or the address of the frame.\n\
c906108c (Stan Shebs 1999-04-16 01:35:26 +0000 2633) With argument, nothing is printed if input is coming from\n\
Did you do some archaeology to see how GDB did at that time? and then
we may know these help doc is a leftover of some changes. If we can
find them, we are confident to remove these doc. I spent 30 minutes
on c906108c, but didn't find any evidence.
--
Yao (齐尧)