diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-05-19 19:58:41 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-05-19 19:58:41 +0000 |
commit | 9e086581c726753ae7459a4c77ea9b37c34c5500 (patch) | |
tree | 18cb4aec7982e5c6c740346600199e22b81c9566 /gdb/testsuite/gdb.base/call-rt-st.exp | |
parent | 1ceea51453d4ef2d739ce4dfe5d7a74c9a32dc64 (diff) | |
download | fsf-binutils-gdb-9e086581c726753ae7459a4c77ea9b37c34c5500.zip fsf-binutils-gdb-9e086581c726753ae7459a4c77ea9b37c34c5500.tar.gz fsf-binutils-gdb-9e086581c726753ae7459a4c77ea9b37c34c5500.tar.bz2 |
import gdb-1999-0519
Diffstat (limited to 'gdb/testsuite/gdb.base/call-rt-st.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/call-rt-st.exp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.base/call-rt-st.exp b/gdb/testsuite/gdb.base/call-rt-st.exp index 12ca14c..2c419ae 100644 --- a/gdb/testsuite/gdb.base/call-rt-st.exp +++ b/gdb/testsuite/gdb.base/call-rt-st.exp @@ -147,25 +147,25 @@ gdb_expect { timeout { fail "(timeout) print_one_large_struct(*list1)" } } -send_gdb "print print_one_double(*d1)\n" -gdb_expect { +if {![target_info exists gdb,skip_float_tests]} { + send_gdb "print print_one_double(*d1)\n" + gdb_expect { -re ".*Contents of one_double_t:\[ \r\n\]+1\\.111110\[ \r\n\]+.\[0-9\]+ = \{double1 = 1\\.11111\}.*$gdb_prompt $" { - pass "print print_one_double(*d1)" - } + pass "print print_one_double(*d1)" + } -re ".*$gdb_prompt $" { fail "print print_one_double(*d1)" } timeout { fail "(timeout) print_one_double(*d1)" } } - - -send_gdb "print print_two_floats(*f3)\n" -gdb_expect { + send_gdb "print print_two_floats(*f3)\n" + gdb_expect { -re ".*Contents of two_floats_t:\[ \r\n\]+-2\\.345000\[ \t]+1\\.000000\[ \r\n\]+.\[0-9\]+ = \{float1 = -2\\.34500003, float2 = 1\}.*$gdb_prompt $" { - pass "print print_two_floats(*f3)" - } + pass "print print_two_floats(*f3)" + } -re ".*$gdb_prompt $" { fail "print print_two_floats(*f3)" } timeout { fail "(timeout) print_two_floats(*f3)" } } +} send_gdb "print print_bit_flags(*flags)\n" gdb_expect { |