after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.arch / i386-unwind.exp
index c329dd6f7d521a70f91e728f693f54b13309a188..69f802ab3d5fa819a8c37aa2ec9437c070996e5d 100644 (file)
@@ -46,18 +46,7 @@ gdb_load ${binfile}
 # We use gdb_run_cmd so this stands a chance to work for remote
 # targets too.
 gdb_run_cmd
-
-gdb_expect {
-    -re "Program received signal SIGTRAP.*$gdb_prompt $" {
-       pass "run past gdb1435"
-    }
-    -re ".*$gdb_prompt $" {
-       fail "run past gdb1435"
-    }
-    timeout {
-       fail "run past gdb1435 (timeout)"
-    }
-}
+gdb_test "" "Program received signal SIGTRAP.*" "run past gdb1435"
 
 gdb_test "backtrace 10" \
        "#1\[ \t]*$hex in gdb1435.*\r\n#2\[ \t\]*$hex in main.*" \
This page took 0.025334 seconds and 4 git commands to generate.