@@ -17,10 +17,7 @@ load_lib trace-support.exp
standard_testfile
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
return -1
@@ -22,10 +22,7 @@ gdb_exit
gdb_start
standard_testfile
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -25,10 +25,7 @@ gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
@@ -21,10 +21,7 @@ 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
-}
+require gdb_trace_common_supports_arch
if [prepare_for_testing "failed to prepare" $executable $srcfile \
[list debug nowarnings nopie]] {
@@ -16,10 +16,7 @@ load_lib "trace-support.exp"
require !skip_shlib_tests
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
standard_testfile
set libfile1 "change-loc-1"
@@ -23,10 +23,7 @@ gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
@@ -31,10 +31,7 @@ set options [list debug [gdb_target_symbol_prefix_flags] \
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
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
untested "failed to compile"
return -1
@@ -23,10 +23,7 @@ set expfile $testfile.exp
# Some targets have leading underscores on assembly symbols.
set additional_flags [gdb_target_symbol_prefix_flags]
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if [prepare_for_testing "failed to prepare" $executable $srcfile \
[list debug $additional_flags]] {
@@ -23,10 +23,7 @@ gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
@@ -17,10 +17,7 @@ load_lib trace-support.exp
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug}] } {
return -1
@@ -16,10 +16,7 @@
load_lib trace-support.exp
require !skip_shlib_tests
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
standard_testfile pending.c
set libfile1 "pendshr1"
@@ -18,10 +18,7 @@ load_lib mi-support.exp
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
@@ -22,10 +22,7 @@ gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -21,10 +21,7 @@ load_lib "trace-support.exp"
gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -21,10 +21,7 @@ load_lib "trace-support.exp"
gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -16,10 +16,7 @@ load_lib "trace-support.exp"
require !skip_shlib_tests
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
standard_testfile
set libfile1 "pendshr1"
@@ -22,10 +22,7 @@ gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings nopie}] != "" } {
untested "failed to compile"
@@ -22,10 +22,7 @@ gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -23,10 +23,7 @@ gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" "$binfile" \
executable {debug nowarnings nopie}] != "" } {
@@ -21,10 +21,7 @@ set expfile $testfile.exp
# Some targets have leading underscores on assembly symbols.
set additional_flags [gdb_target_symbol_prefix_flags]
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if [prepare_for_testing "failed to prepare" $executable $srcfile \
[list debug $additional_flags]] {
@@ -23,10 +23,7 @@ set expfile $testfile.exp
# Some targets have leading underscores on assembly symbols.
set additional_flags [gdb_target_symbol_prefix_flags]
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if [prepare_for_testing "failed to prepare" $executable $srcfile \
[list debug $additional_flags]] {
@@ -24,10 +24,7 @@ set expfile $testfile.exp
set options [list debug [gdb_target_symbol_prefix_flags]]
# Check that the target supports trace.
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile executable $options] != "" } {
untested "failed to compile"
return -1
@@ -21,10 +21,7 @@ set expfile $testfile.exp
# Some targets have leading underscores on assembly symbols.
set additional_flags [gdb_target_symbol_prefix_flags]
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \
executable [list debug $additional_flags] ] != "" } {
@@ -21,10 +21,7 @@ load_lib "trace-support.exp"
gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -18,10 +18,7 @@ standard_testfile actions.c
set executable $testfile
set expfile tstatus.exp
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if [prepare_for_testing "failed to prepare" $executable $srcfile \
[list debug]] {
@@ -19,10 +19,7 @@ load_lib "trace-support.exp"
gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -23,10 +23,7 @@ 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
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "$srcdir/$subdir/$srcfile" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"
@@ -22,10 +22,7 @@ gdb_exit
gdb_start
standard_testfile actions.c
-if ![gdb_trace_common_supports_arch] {
- unsupported "no trace-common.h support for arch"
- return -1
-}
+require gdb_trace_common_supports_arch
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" $binfile \
executable {debug nowarnings}] != "" } {
untested "failed to compile"