]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.trace/backtrace.exp
Clean up gdb.trace test results on targets not supporting this feature.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.trace / backtrace.exp
index 6b41f8945b919c5b051233e29a465a595e8552f5..de4c8fe736980c22e1e676ffdd3bbe31a87f3746 100644 (file)
@@ -21,6 +21,11 @@ standard_testfile actions.c
 set executable $testfile
 set expfile $testfile.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 nowarnings]] {
     return -1