aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/clztest.exp
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2023-01-26 10:09:44 +0100
committerTom de Vries <tdevries@suse.de>2023-01-26 10:09:44 +0100
commit4fe960e8f105c1c3c672a56f768bb65b2b8cc04e (patch)
tree6b13f760b063ff0f179183a66cf48ef31ae99248 /gdb/testsuite/gdb.dwarf2/clztest.exp
parentf212f7feec305bb61407fff312f681add8c1b164 (diff)
downloadgdb-4fe960e8f105c1c3c672a56f768bb65b2b8cc04e.zip
gdb-4fe960e8f105c1c3c672a56f768bb65b2b8cc04e.tar.gz
gdb-4fe960e8f105c1c3c672a56f768bb65b2b8cc04e.tar.bz2
[gdb/testsuite] Add and use is_x86_64_m64_target
Add new proc is_x86_64_m64_target and use it where appropriate. Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/clztest.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/clztest.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/clztest.exp b/gdb/testsuite/gdb.dwarf2/clztest.exp
index 75dfb15..a42b99a 100644
--- a/gdb/testsuite/gdb.dwarf2/clztest.exp
+++ b/gdb/testsuite/gdb.dwarf2/clztest.exp
@@ -22,9 +22,7 @@ set test "clztest"
require dwarf2_support
# This test can only be run on x86-64 targets.
-if {![istarget x86_64-*] || ![is_lp64_target]} {
- return 0
-}
+require is_x86_64_m64_target
if { [prepare_for_testing "failed to prepare" "${test}" ${test}.S \
{nodebug nopie additional_flags=-nostdlib}] } {