From 6837a0a2a98f17adfd4b3723b6130d3ae4ae258e Mon Sep 17 00:00:00 2001 From: Daniel Berlin Date: Thu, 23 Mar 2000 23:21:27 +0000 Subject: Added the apropos command --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdb.texinfo | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index b0f2654..48efadf 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2000-03-22 Daniel Berlin + + * gdb.texinfo: Add documentation for the apropos command. + 2000-03-20 Michael Snyder * gdb.texinfo: Add white space to prevent overprinting in diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 15a0820..7ccfe03 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -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 -- cgit v1.1