aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorLukas Durfina <ldurfina@tachyum.com>2019-11-21 08:37:28 +0100
committerSimon Marchi <simon.marchi@efficios.com>2019-11-21 10:36:44 -0500
commit2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173 (patch)
treef887e9170a6df356ac97794eba91018394fc7cda /gdb
parent87fb00ea229f69a659ea044588b88bec03ae3a9c (diff)
downloadgdb-2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173.zip
gdb-2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173.tar.gz
gdb-2e84f897e51ee67ab8d3ddf848c4a2bfebbd7173.tar.bz2
gdb/testsuite: skip gdb.arch/amd64-eval.exp when target is not x86_64
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.arch/amd64-eval.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 16027e4..1685525 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
+
+ * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
+
2019-11-21 Tom de Vries <tdevries@suse.de>
PR gdb/24956
diff --git a/gdb/testsuite/gdb.arch/amd64-eval.exp b/gdb/testsuite/gdb.arch/amd64-eval.exp
index 4b5c28e..dd24824 100644
--- a/gdb/testsuite/gdb.arch/amd64-eval.exp
+++ b/gdb/testsuite/gdb.arch/amd64-eval.exp
@@ -17,6 +17,11 @@
# This testcase exercises evaluation with amd64 calling conventions.
+if { ![istarget x86_64-*-* ] || ![is_lp64_target] } {
+ verbose "Skipping x86_64 eval test."
+ return
+}
+
standard_testfile .cc
if { [prepare_for_testing "failed to prepare" $testfile $srcfile \