gdb/testsuite: skip gdb.arch/amd64-eval.exp when target is not x86_64

This commit is contained in:
Lukas Durfina
2019-11-21 08:37:28 +01:00
committed by Simon Marchi
parent 87fb00ea22
commit 2e84f897e5
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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 \