diff options
Diffstat (limited to 'gdb/testsuite/gdb.btrace/tailcall-only.exp')
-rw-r--r-- | gdb/testsuite/gdb.btrace/tailcall-only.exp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.btrace/tailcall-only.exp b/gdb/testsuite/gdb.btrace/tailcall-only.exp index 50837bf..494e2e8 100644 --- a/gdb/testsuite/gdb.btrace/tailcall-only.exp +++ b/gdb/testsuite/gdb.btrace/tailcall-only.exp @@ -35,13 +35,15 @@ if [info exists COMPILE] { # make check RUNTESTFLAGS="gdb.btrace/tailcall-only.exp COMPILE=1" standard_testfile tailcall-only.c lappend opts debug optimize=-O2 -} elseif {[istarget "x86_64-*-*"] && [is_lp64_target]} { - standard_testfile x86_64-tailcall-only.S } elseif {[istarget "i?86-*-*"] || [istarget "x86_64-*-*"]} { - standard_testfile i686-tailcall-only.S + if {[is_amd64_regs_target]} { + standard_testfile x86_64-tailcall-only.S + } else { + standard_testfile i686-tailcall-only.S + } } else { verbose "Skipping ${testfile}." - return + return -1 } if [prepare_for_testing tailcall-only.exp $testfile $srcfile $opts] { |