Add usage for commands in printcmd.c
authorTom Tromey <tromey@adacore.com>
Wed, 20 Mar 2019 20:52:24 +0000 (14:52 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 29 Mar 2019 20:05:30 +0000 (14:05 -0600)
commit188e1fa9ac09b0a764e19c1afc0fb5fcdb688e65
tree7fbdb85711e8d4adcf4f41829a3e7b95f0bdcd5e
parent2880242dd0b8538b68aece7d9e8b1678dcdfd0ab
Add usage for commands in printcmd.c

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-29  Tom Tromey  <tromey@adacore.com>

* printcmd.c (_initialize_printcmd): Add usage lines.  Update some
help text.  Remove dead code.

gdb/testsuite/ChangeLog
2019-03-29  Tom Tromey  <tromey@adacore.com>

* gdb.base/help.exp: Tighten apropos regexp.
gdb/ChangeLog
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/help.exp
This page took 0.026756 seconds and 4 git commands to generate.