This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Decimal128, printcmds.exp, dfp-exprs.exp
- From: Christophe LYON <christophe dot lyon at st dot com>
- To: gdb at sourceware dot org
- Date: Fri, 20 Mar 2009 16:08:44 +0100
- Subject: Decimal128, printcmds.exp, dfp-exprs.exp
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.