From 4fe960e8f105c1c3c672a56f768bb65b2b8cc04e Mon Sep 17 00:00:00 2001 From: Tom de Vries Date: Thu, 26 Jan 2023 10:09:44 +0100 Subject: [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. --- gdb/testsuite/gdb.dwarf2/clztest.exp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gdb/testsuite/gdb.dwarf2/clztest.exp') 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}] } { -- cgit v1.1