Decimal128, printcmds.exp, dfp-exprs.exp

Christophe LYON christophe.lyon@st.com
Fri Mar 20 15:08:00 GMT 2009


Hi all,

On one of our internal targets, I observe some failures in the GDB 
testsuite in printcmds.exp and dfp-exprs.exp tests.
The failures in printcmds.exp occur only when the target is configured 
as big-endian, while endianness has no influence on the failure in 
dfp-exprs.exp.

More precisely,
* in dfp-exprs.exp:
p (_Decimal128) 3.7df
$89 = 2.00000000000000000000000800002422E+257
(gdb) FAIL: gdb.base/dfp-exprs.exp: p (_Decimal128) 3.7df

* in printcmds.exp:
printf "%DDf\n",1.234567890123456789012345678901234dl
1.234567890123454789012345678901234
(gdb) FAIL: gdb.base/printcmds.exp: printf 
"%DDf\n",1.234567890123456789012345678901234dl

My understanding is that none of these tests uses the underlying target, 
so what can make them fail?

Thanks,

Christophe.



More information about the Gdb mailing list