* gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
authorThiago Jung Bauermann <bauerman@br.ibm.com>
Mon, 7 Jan 2008 22:34:49 +0000 (22:34 +0000)
committerThiago Jung Bauermann <bauerman@br.ibm.com>
Mon, 7 Jan 2008 22:34:49 +0000 (22:34 +0000)
commitf6867ce08c6c5de1aebddf2ee445074c72df1391
tree63551fe1be95cc1213361cf34334b93c37bcb8f3
parent4ef30785ea2e7824937174f9914d021488f3abbd
* gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
for expressions with decimal float values.
(test_dfp_conversions): New function to test casts to and from
decimal float types.
Call test_dfp_conversions.
* gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
elements.
(main): Initialize ds.float4 and ds.double8 elements.
* gdb.base/dfp-test.exp (d32_set_tests): Fix typo.  Adjust expect
string to new error message.
(d64_set_tests): Likewise.
(d128_set_tests): Likewise.
Add tests for expressions with decimal float variables.  Add tests for
conversions to and from decimal float types.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dfp-exprs.exp
gdb/testsuite/gdb.base/dfp-test.c
gdb/testsuite/gdb.base/dfp-test.exp