From: Yao Qi Date: Wed, 19 Jun 2013 13:07:00 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Tag: sid-snapshot-20130701~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9bdd063664c975392eebf4944ef11a3572d39414;p=platform%2Fupstream%2Fbinutils.git gdb/testsuite/ * gdb.base/maint.exp: Make the test to command 'maint dump-me' unsupported if it is not registered. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2228dc5..18faac3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-06-19 Yao Qi + + * gdb.base/maint.exp: Make the test to command 'maint dump-me' + unsupported if it is not registered. + 2013-06-18 Tom Tromey * gdb.base/random-signal.c: New file. 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"