aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/maint.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-06-19 13:07:00 +0000
committerYao Qi <yao@codesourcery.com>2013-06-19 13:07:00 +0000
commit9bdd063664c975392eebf4944ef11a3572d39414 (patch)
tree05aa87ce6f0752bd1fe6ef43cf2942e7dc139b10 /gdb/testsuite/gdb.base/maint.exp
parent8847944f8c434b7f254514251e29b6c6917acb1b (diff)
downloadgdb-9bdd063664c975392eebf4944ef11a3572d39414.zip
gdb-9bdd063664c975392eebf4944ef11a3572d39414.tar.gz
gdb-9bdd063664c975392eebf4944ef11a3572d39414.tar.bz2
gdb/testsuite/
* gdb.base/maint.exp: Make the test to command 'maint dump-me' unsupported if it is not registered.
Diffstat (limited to 'gdb/testsuite/gdb.base/maint.exp')
-rw-r--r--gdb/testsuite/gdb.base/maint.exp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp
index 260818e..afc321f 100644
--- a/gdb/testsuite/gdb.base/maint.exp
+++ b/gdb/testsuite/gdb.base/maint.exp
@@ -506,6 +506,10 @@ gdb_test_multiple "maint dump-me" "maint dump-me" {
-re "Should GDB dump core.*\\(y or n\\) $" {
gdb_test "n" ".*" "maint dump-me"
}
+ -re "Undefined maintenance command: .*$gdb_prompt $" {
+ # Command 'maint dump-me' is registered on non-win32 host.
+ unsupported "maint dump-me"
+ }
}
send_gdb "maint internal-error\n"