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/testsuite/gdb.base | |
parent | 0f4db1a1596363685d1d8b466479d75203a286b9 (diff) | |
download | gdb-6837a0a2a98f17adfd4b3723b6130d3ae4ae258e.zip gdb-6837a0a2a98f17adfd4b3723b6130d3ae4ae258e.tar.gz gdb-6837a0a2a98f17adfd4b3723b6130d3ae4ae258e.tar.bz2 |
Added the apropos command
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r-- | gdb/testsuite/gdb.base/help.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/help.exp b/gdb/testsuite/gdb.base/help.exp index c78bd89..9515132 100644 --- a/gdb/testsuite/gdb.base/help.exp +++ b/gdb/testsuite/gdb.base/help.exp @@ -540,3 +540,9 @@ gdb_test "help x" "Examine memory: x/FMT ADDRESS..*\[\r\n\]+ADDRESS is an expres gdb_test "help info bogus-gdb-command" "Undefined info command: \"bogus-gdb-command\". Try \"help info\"." "help info bogus-gdb-command" # test help gotcha gdb_test "help gotcha" "Undefined command: \"gotcha\". Try \"help\"." "help gotcha" +# test apropos regex +gdb_test "apropos \\\(print\[\^ bsiedf\\\".\]\\\)" "handle -- Specify how to handle a signal" +# test apropos >1 word string +gdb_test "apropos handle a signal" "handle -- Specify how to handle a signal" +# test apropos apropos +gdb_test "apropos apropos" "apropos -- Search for commands matching a REGEXP" |