summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/passc-dyn.exp
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-12-15 16:15:13 -0700
committerTom Tromey <tom@tromey.com>2023-01-13 13:18:56 -0700
commitfbee47e0b58b8f948d56b113cb48e1b7c884b980 (patch)
tree9383c0ad7e5feb8c85e256035851ea3ecf09a344 /gdb/testsuite/gdb.trace/passc-dyn.exp
parentf40c0f9cab7c24ca49615ca5a6efb51b85fcc82c (diff)
downloadbinutils-gdb-fbee47e0b58b8f948d56b113cb48e1b7c884b980.tar.gz
Use require gdb_trace_common_supports_arch
This changes some tests to use "require gdb_trace_common_supports_arch".
Diffstat (limited to 'gdb/testsuite/gdb.trace/passc-dyn.exp')
-rw-r--r--gdb/testsuite/gdb.trace/passc-dyn.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.trace/passc-dyn.exp b/gdb/testsuite/gdb.trace/passc-dyn.exp
index 78c5f070803..c005c79053b 100644
--- a/gdb/testsuite/gdb.trace/passc-dyn.exp
+++ b/gdb/testsuite/gdb.trace/passc-dyn.exp
@@ -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"