]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.trace/deltrace.exp
Clean up gdb.trace test results on targets not supporting this feature.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.trace / deltrace.exp
index f4ff474fb16fe460b73e8797b9daa38553d58edb..c18df571ba9eaa13227cc1d5dc2f1684cb477b57 100644 (file)
@@ -22,6 +22,12 @@ gdb_exit
 gdb_start
 
 standard_testfile actions.c
+
+if ![gdb_trace_common_supports_arch] {
+    unsupported "no trace-common.h support for arch"
+    return -1
+}
+
 if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
          executable {debug nowarnings}] != "" } {
     untested "failed to compile"