mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2002-05-19 Michael Chastain <mec@shout.net>
|
2002-05-19 Michael Chastain <mec@shout.net>
|
||||||
|
|
||||||
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
|
* gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
|
||||||
|
@ -189,10 +189,18 @@ send_gdb "print v_int+v_double\n"
|
|||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".*206.56565.*$gdb_prompt $" {
|
-re ".*206.56565.*$gdb_prompt $" {
|
||||||
pass "print value of v_int+v_double"
|
pass "print value of v_int+v_double"
|
||||||
}
|
}
|
||||||
|
-re ".*206.565643.*$gdb_prompt $" {
|
||||||
|
# D10V has 4-byte doubles
|
||||||
|
if [istarget "d10v*-*"] then {
|
||||||
|
pass "print value of v_int+v_double (D10V)"
|
||||||
|
} else {
|
||||||
|
fail "print value of v_int+v_double (precision)"
|
||||||
|
}
|
||||||
|
}
|
||||||
-re ".*$gdb_prompt $" { fail "print value of v_int+v_double" }
|
-re ".*$gdb_prompt $" { fail "print value of v_int+v_double" }
|
||||||
timeout { fail "(timeout) print value of v_int+" }
|
timeout { fail "(timeout) print value of v_int+v_double" }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -175,8 +175,14 @@ if ![gdb_skip_stdio_test "print print_one_large_struct(...)"] {
|
|||||||
|
|
||||||
if {![gdb_skip_float_test "print print_one_double(*d1)"] && \
|
if {![gdb_skip_float_test "print print_one_double(*d1)"] && \
|
||||||
![gdb_skip_stdio_test "print print_one_double(*d1)"] } {
|
![gdb_skip_stdio_test "print print_one_double(*d1)"] } {
|
||||||
print_struct_call "print_one_double(*d1)" \
|
if [istarget "d10v*-*"] then {
|
||||||
".*Contents of one_double_t:\[ \r\n\]+1\\.111110\[ \r\n\]+.\[0-9\]+ = \\{double1 = 1\\.11111\\}"
|
# 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)"] && \
|
if {![gdb_skip_float_test "print print_two_floats(*f3)"] && \
|
||||||
|
Reference in New Issue
Block a user