X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Ftestsuite%2Fgdb.gdb%2Fselftest.exp;h=9f25a48bae2d7e4c8381d4fa8c471e4ac1aaa411;hb=5836a818eccb180d75c92ce4c861abb6fe8dec23;hp=706fca99aff6aebd0904b18e285ba18065640da9;hpb=b8cc7b2e9afab37eb9a7cff0d3ae4ebbcf7d494f;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 706fca99af..9f25a48bae 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -444,26 +444,9 @@ proc test_with_self { executable } { } set description "send SIGINT signal to child process" - gdb_test_multiple "signal SIGINT" "$description" { - -re "^signal SIGINT\r\nContinuing with signal SIGINT.\r\nQuit\r\n.* $" { - pass "$description" - } - } - - set description "send ^C to child process again" - send_gdb "\003" - gdb_expect { - -re "Program received signal SIGINT.*$gdb_prompt $" { - pass "$description" - } - -re ".*$gdb_prompt $" { - fail "$description" - } - timeout { - fail "$description (timeout)" - } - } - + gdb_test "signal SIGINT" \ + "Continuing with signal SIGINT.*" \ + "$description" # get a stack trace #