summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.btrace/vdso.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.btrace/vdso.exp')
-rw-r--r--gdb/testsuite/gdb.btrace/vdso.exp9
1 files changed, 6 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.btrace/vdso.exp b/gdb/testsuite/gdb.btrace/vdso.exp
index d5f6d99e967..283d920f7f3 100644
--- a/gdb/testsuite/gdb.btrace/vdso.exp
+++ b/gdb/testsuite/gdb.btrace/vdso.exp
@@ -20,15 +20,18 @@
#
# Test that we can access the vdso memory during replay for stepping.
-# check for btrace support
-if { [skip_btrace_tests] } { return -1 }
+if { [skip_btrace_tests] } {
+ unsupported "target does not support record-btrace"
+ return -1
+}
-# start inferior
standard_testfile
if [prepare_for_testing "failed to prepare" $testfile $srcfile] {
return -1
}
+
if ![runto_main] {
+ untested "failed to run to main"
return -1
}