after gdb_run_cmd, gdb_expect -> gdb_test_multiple/gdb_test
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / jit-simple.exp
index 1c815bf124b505ce6ba83b92b1e32f9ad6eb9cff..ce65964a0b3eef71fff15820063456d29b98caf9 100644 (file)
@@ -40,14 +40,7 @@ proc jit_run {msg} {
     global decimal gdb_prompt
 
     gdb_run_cmd
-    gdb_expect {
-       -re "Inferior .* exited.*$gdb_prompt $" {
-           pass $msg
-       }
-       -re ".*$gdb_prompt $" {
-           fail $msg
-       }
-    }
+    gdb_test "" "Inferior .* exited.*" $msg
 }
 
 # Test re-running an inferior with a JIT descriptor, where the JIT
This page took 0.025404 seconds and 4 git commands to generate.