Clean up gdb.trace test results on targets not supporting this feature.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.trace / while-dyn.exp
index 0fb6b47b0b1c84c8d8bf4487ffd1fc03da8c9cd0..95718797fa04579ac9d81d3a6aab4e7dbb8cf8ec 100644 (file)
@@ -23,6 +23,10 @@ gdb_start
 
 standard_testfile actions.c
 set executable $testfile
+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"
This page took 0.024766 seconds and 4 git commands to generate.