diff options
author | Daniel Berlin <dberlin@dberlin.org> | 2000-03-23 23:21:27 +0000 |
---|---|---|
committer | Daniel Berlin <dberlin@dberlin.org> | 2000-03-23 23:21:27 +0000 |
commit | 6837a0a2a98f17adfd4b3723b6130d3ae4ae258e (patch) | |
tree | a963196cc70581c8324fbe357bc92bc868295e0f /gdb/doc | |
parent | 0f4db1a1596363685d1d8b466479d75203a286b9 (diff) | |
download | gdb-6837a0a2a98f17adfd4b3723b6130d3ae4ae258e.zip gdb-6837a0a2a98f17adfd4b3723b6130d3ae4ae258e.tar.gz gdb-6837a0a2a98f17adfd4b3723b6130d3ae4ae258e.tar.bz2 |
Added the apropos command
Diffstat (limited to 'gdb/doc')
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 19 |
2 files changed, 23 insertions, 0 deletions
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 <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 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 |