This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 01/10] Rationalize "backtrace" command line parsing
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Tom Tromey <tom at tromey dot com>
- Cc: palves at redhat dot com, gdb-patches at sourceware dot org
- Date: Mon, 10 Jul 2017 19:48:21 +0300
- Subject: Re: [RFA 01/10] Rationalize "backtrace" command line parsing
- Authentication-results: sourceware.org; auth=none
- References: <20170425194113.17862-1-tom@tromey.com> <20170425194113.17862-2-tom@tromey.com> <9cfa324d-f685-405f-92be-f74846da4e91@redhat.com> <87shi5me8i.fsf@tromey.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>, gdb-patches@sourceware.org
> Date: Sun, 09 Jul 2017 16:34:21 -0600
>
> >>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
>
> Pedro> It might be good to clarify "help bt", to show something around:
> Pedro> Usage: backtrace [QUALIFIERS]... COUNT
>
> How about the appended?
>
> Tom
>
> commit 46ab61faf8412739124639aac528d2b7df387632
> Author: Tom Tromey <tom@tromey.com>
> Date: Sun Jul 9 16:31:11 2017 -0600
>
> Improve "backtrace" help text
>
> This improves help text in stack.c in two ways. First, it removes
> trailing newlines from various help strings. I think these are never
> needed. Second, it adds a "Usage" line to the "backtrace" text, as
> suggested by Pedro.
>
> ChangeLog
> 2017-07-09 Tom Tromey <tom@tromey.com>
>
> * stack.c (_initialize_stack): Remove trailing newlines from help
> text. Add "Usage" line to "backtrace" help.
Fine with me, thanks.