load_lib "trace-support.exp"
+if {[skip_shlib_tests]} {
+ return 0
+}
+
standard_testfile
set executable $testfile
set expfile $testfile.exp
additional_flags=-DNUM_THREADS=$NUM_THREADS]
# Check that the target supports trace.
+if ![gdb_trace_common_supports_arch] {
+ unsupported "no trace-common.h support for arch"
+ return -1
+}
if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
untested "failed to compile"
return -1