Added the apropos command

This commit is contained in:
Daniel Berlin
2000-03-23 23:21:27 +00:00
parent 0f4db1a159
commit 6837a0a2a9
6 changed files with 127 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2000-03-22 Daniel Berlin <dan@cgsoftware.com>
* gdb.texinfo: Add documentation for the apropos command.
2000-03-20 Michael Snyder <msnyder@cleaver.cygnus.com>
* gdb.texinfo: Add white space to prevent overprinting in

View File

@@ -1318,6 +1318,25 @@ Command name abbreviations are allowed if unambiguous.
With a command name as @code{help} argument, @value{GDBN} displays a
short paragraph on how to use that command.
@kindex apropos
@item apropos @var{args}
The @code{apropos @var{args}} command searches through all of the @value{GDBN}
commands, and their documentation, for the regular expression specified in
@var{args}. It prints out all matches found. For example:
@smallexample
apropos reload
@end smallexample
@noindent results in:
@smallexample
@group
set symbol-reloading -- Set dynamic symbol table reloading multiple times in one run
show symbol-reloading -- Show dynamic symbol table reloading multiple times in one run
@end group
@end smallexample
@kindex complete
@item complete @var{args}
The @code{complete @var{args}} command lists all the possible completions