diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/jit-simple.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/jit-simple.exp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.base/jit-simple.exp b/gdb/testsuite/gdb.base/jit-simple.exp index 1c815bf..ce65964 100644 --- a/gdb/testsuite/gdb.base/jit-simple.exp +++ b/gdb/testsuite/gdb.base/jit-simple.exp @@ -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 |