]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
S390: Use soft float in s390-tdbregs test case
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Thu, 18 Jan 2018 18:41:16 +0000 (19:41 +0100)
committerAndreas Arnez <arnez@linux.vnet.ibm.com>
Thu, 18 Jan 2018 18:41:16 +0000 (19:41 +0100)
commit25d4fd80936744adfa49f133524e3f342604a1cb
tree878434010509f259b0306fe6326774246b2e798d
parent4a17f7688fbab8f170144fa13ffcd06bc749e6ec
S390: Use soft float in s390-tdbregs test case

The GDB test case s390-tdbregs.exp verifies GDB's handling of the
"transaction diagnostic block".  For simplicity, the test case uses the
"transaction begin" (TBEGIN) instruction with the "allow floating-point
operation" flag set to zero.  But some GCC versions may indeed emit
floating point or vector instructions for this test case.  If this happens
in the transaction, it aborts, and an endless loop results.

This change tells the compiler to produce a soft-float binary, so no
floating-point or vector registers are touched.

gdb/testsuite/ChangeLog:

* gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/s390-tdbregs.exp