aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/call-rt-st.exp
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2002-05-23 21:20:53 +0000
committerMichael Snyder <msnyder@vmware.com>2002-05-23 21:20:53 +0000
commit5bdb6d01dbdfe12559640d4a22211a6fe3c24ff0 (patch)
tree7b0ffbf335959877d5d88df6a087e936eecfec24 /gdb/testsuite/gdb.base/call-rt-st.exp
parent8dd76882445129d8adf64c743351a2d798d89b6f (diff)
downloadfsf-binutils-gdb-5bdb6d01dbdfe12559640d4a22211a6fe3c24ff0.zip
fsf-binutils-gdb-5bdb6d01dbdfe12559640d4a22211a6fe3c24ff0.tar.gz
fsf-binutils-gdb-5bdb6d01dbdfe12559640d4a22211a6fe3c24ff0.tar.bz2
2002-05-23 Michael Snyder <msnyder@redhat.com>
* gdb.base/all-bin.exp: Revise previous patch by just reducing the precision of the floating point test results. * 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.exp10
1 files changed, 2 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp
index 0386aa1..fb63913 100644
--- a/gdb/testsuite/gdb.base/call-rt-st.exp
+++ b/gdb/testsuite/gdb.base/call-rt-st.exp
@@ -175,14 +175,8 @@ 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)"] } {
- 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\\}"
- }
+ print_struct_call "print_one_double(*d1)" \
+ ".*Contents of one_double_t:\[ \r\n\]+1\\.111110\[ \r\n\]+.\[0-9\]+ = \\{double1 = 1\\.111\[0-9\]*\}"
}
if {![gdb_skip_float_test "print print_two_floats(*f3)"] && \