diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-05-23 15:42:44 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-05-23 15:42:44 +0000 |
commit | b61a87338a562c80b0af226b85ade74aa451636b (patch) | |
tree | 0ddba2cb95edd04b844fdc9877053f3ba847052f /gdb/testsuite/gdb.base/call-rt-st.exp | |
parent | 13ae64f3c752ec57e71471d8820c72823a8d827e (diff) | |
download | fsf-binutils-gdb-b61a87338a562c80b0af226b85ade74aa451636b.zip fsf-binutils-gdb-b61a87338a562c80b0af226b85ade74aa451636b.tar.gz fsf-binutils-gdb-b61a87338a562c80b0af226b85ade74aa451636b.tar.bz2 |
2002-05-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/all-bin.exp: Allow for reduced floating point precision.
* gdb.base/call-rt-st.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.base/call-rt-st.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/call-rt-st.exp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp index 033b5ef..0386aa1 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.exp +++ b/gdb/testsuite/gdb.base/call-rt-st.exp @@ -175,8 +175,14 @@ if ![gdb_skip_stdio_test "print print_one_large_struct(...)"] { if {![gdb_skip_float_test "print print_one_double(*d1)"] && \ ![gdb_skip_stdio_test "print print_one_double(*d1)"] } { - print_struct_call "print_one_double(*d1)" \ - ".*Contents of one_double_t:\[ \r\n\]+1\\.111110\[ \r\n\]+.\[0-9\]+ = \\{double1 = 1\\.11111\\}" + if [istarget "d10v*-*"] then { + # D10V has 4-byte doubles + print_struct_call "print_one_double(*d1)" \ + ".*Contents of one_double_t:\[ \r\n\]+1\\.111110\[ \r\n\]+.\[0-9\]+ = \\{double1 = 1\\.11110997\\}" + } else { + print_struct_call "print_one_double(*d1)" \ + ".*Contents of one_double_t:\[ \r\n\]+1\\.111110\[ \r\n\]+.\[0-9\]+ = \\{double1 = 1\\.11111\\}" + } } if {![gdb_skip_float_test "print print_two_floats(*f3)"] && \ |