summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.compile/compile-cplus.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.compile/compile-cplus.exp
parentf212f7feec305bb61407fff312f681add8c1b164 (diff)
downloadbinutils-gdb-4fe960e8f105c1c3c672a56f768bb65b2b8cc04e.tar.gz
[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.compile/compile-cplus.exp')
-rw-r--r--gdb/testsuite/gdb.compile/compile-cplus.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.compile/compile-cplus.exp b/gdb/testsuite/gdb.compile/compile-cplus.exp
index 0b7cb59727a..489236a8b49 100644
--- a/gdb/testsuite/gdb.compile/compile-cplus.exp
+++ b/gdb/testsuite/gdb.compile/compile-cplus.exp
@@ -24,7 +24,7 @@ if { [test_compiler_info gcc*] || [test_compiler_info clang*] } {
lappend options c++
}
-if { ![istarget x86_64-*-* ] || ![is_lp64_target] } {
+if { ![is_x86_64_m64_target] } {
verbose "Skipping x86_64 LOC_CONST test."
set srcfile3 ""
}