OSDN Git Service

2009-10-22 Michael Snyder <msnyder@vmware.com>
[pf3gnuchains/pf3gnuchains3x.git] / gdb / testsuite / gdb.reverse / sigall-reverse.exp
index fa49ad5..23c08bd 100644 (file)
@@ -262,16 +262,9 @@ gdb_test "continue" \
     "get signal TERM"
 gdb_test "continue" "Breakpoint.*handle_TERM.*" "send signal TERM"
 
-set testmsg "continue to sigall exit"
-gdb_test_multiple "continue" $testmsg {
-    -re ".*Do you want to stop the program.*$" {
-       send_gdb "yes\n"
-       exp_continue
-    }
-    -re "$gdb_prompt " {
-       pass $testmsg
-    }
-}
+gdb_test "continue" "Program received .*" "continue to sigall exit" \
+    "The next instruction is syscall exit_group.* program...y. or n. " \
+    "yes"
 
 test_one_sig_reverse TERM
 test_one_sig_reverse 63