This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add usage for commands in printcmd.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]