summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.dwarf2/trace-crash.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/trace-crash.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.dwarf2/trace-crash.exp')
-rw-r--r--gdb/testsuite/gdb.dwarf2/trace-crash.exp4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/trace-crash.exp b/gdb/testsuite/gdb.dwarf2/trace-crash.exp
index 06c0c67a35e..fc1966a016b 100644
--- a/gdb/testsuite/gdb.dwarf2/trace-crash.exp
+++ b/gdb/testsuite/gdb.dwarf2/trace-crash.exp
@@ -20,9 +20,7 @@ load_lib trace-support.exp
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
standard_testfile .S