gdb/testsuite/

* gdb.base/maint.exp: Make the test to command 'maint dump-me'
	unsupported if it is not registered.
This commit is contained in:
Yao Qi 2013-06-19 13:07:00 +00:00
parent 8847944f8c
commit 9bdd063664
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2013-06-19 Yao Qi <yao@codesourcery.com>
* gdb.base/maint.exp: Make the test to command 'maint dump-me'
unsupported if it is not registered.
2013-06-18 Tom Tromey <tromey@redhat.com>
* gdb.base/random-signal.c: New file.

View File

@ -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"