Clean up gdb.trace test results on targets not supporting this feature.
[binutils-gdb.git] / gdb / testsuite / gdb.trace / while-stepping.exp
index 29bdf2d15130e36052106d2b81b35fb0bdaec144..45d162013421d5a3f079a02f9d4784112b89a8f7 100644 (file)
@@ -22,6 +22,10 @@ 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"