Clean up gdb.trace test results on targets not supporting this feature.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.trace / tstatus.exp
index 3498b1c13c02165d69def4635d291655d3ca7c2d..44e599c88fa2f01d733556344ea3399ac1273d61 100644 (file)
@@ -18,6 +18,11 @@ standard_testfile actions.c
 set executable $testfile
 set expfile tstatus.exp
 
+if ![gdb_trace_common_supports_arch] {
+    unsupported "no trace-common.h support for arch"
+    return -1
+}
+
 if [prepare_for_testing "failed to prepare" $executable $srcfile \
        [list debug]] {
     return -1
This page took 0.024649 seconds and 4 git commands to generate.