diff options
Diffstat (limited to 'gdb/testsuite/gdb.arch')
-rw-r--r-- | gdb/testsuite/gdb.arch/s390-tdbregs.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.arch/s390-tdbregs.exp b/gdb/testsuite/gdb.arch/s390-tdbregs.exp index 53d6c50..47d9d38 100644 --- a/gdb/testsuite/gdb.arch/s390-tdbregs.exp +++ b/gdb/testsuite/gdb.arch/s390-tdbregs.exp @@ -26,7 +26,10 @@ if { ![istarget s390-*-*] && ![istarget s390x-*-* ] } { standard_testfile .c -if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } { +# Use soft float, so the compiler doesn't use floating-point or vector +# instructions. +if { [prepare_for_testing "failed to prepare" $testfile $srcfile \ + [list "debug" "additional_flags=-msoft-float"]] } { return -1 } |