This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add usage for commands in printcmd.c
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at adacore dot com>
- Date: Wed, 27 Mar 2019 23:21:12 -0700
- Subject: Re: [PATCH] Add usage for commands in printcmd.c
- References: <20190320205641.24345-1-tromey@adacore.com>
On Wed, 20 Mar 2019 14:56:41 -0600
Tom Tromey <tromey@adacore.com> wrote:
> I noticed that the help for "info addr" did not include a "usage"
> line; and when adding it I went through and fixed a few minor issues
> in printcmd.c:
>
> * Added usage lines to all commands
> * Updated the help text for some commands
> * Changed some help to use upper case metasyntactic variables
> * Removed some dead code
>
> Regression tested on x86-64 Fedora 29.
>
> gdb/ChangeLog
> 2019-03-20 Tom Tromey <tromey@adacore.com>
>
> * printcmd.c (_initialize_printcmd): Add usage lines. Update some
> help text. Remove dead code.
>
> gdb/testsuite/ChangeLog
> 2019-03-20 Tom Tromey <tromey@adacore.com>
>
> * gdb.base/help.exp: Tighten apropos regexp.
LGTM.
Kevin