diff options
author | Philippe De Muyter <phdm@macqel.be> | 2000-03-30 23:32:30 +0000 |
---|---|---|
committer | Philippe De Muyter <phdm@macqel.be> | 2000-03-30 23:32:30 +0000 |
commit | 591b8fa3ef44f0ba57966561313f886eddf1349d (patch) | |
tree | 3b45ab4f9cd249dcdd1003e77849dbdd99f5dd42 /gdb/testsuite/gdb.base/call-ar-st.c | |
parent | 8b125cdefa39212dd7bc90ce8378832bce7a9351 (diff) | |
download | binutils-gdb-591b8fa3ef44f0ba57966561313f886eddf1349d.tar.gz |
* gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
values that can be represented exactly.
* gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
above change, and to not check against the directory part of the source
file name.
(step into print_long_arg_list): Likewise.
(print print_small_structs from print_long_arg_list): Likewise.
(print print_long_arg_list): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.base/call-ar-st.c')
-rw-r--r-- | gdb/testsuite/gdb.base/call-ar-st.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/call-ar-st.c b/gdb/testsuite/gdb.base/call-ar-st.c index 6d1b99984c1..19a430c0b66 100644 --- a/gdb/testsuite/gdb.base/call-ar-st.c +++ b/gdb/testsuite/gdb.base/call-ar-st.c @@ -625,8 +625,8 @@ three_char, five_char,int_char_combo, d1, d2,d3,f1,f2,f3) init_struct_rep(struct3, 5); init_struct_rep(struct4, 6); init_one_double ( d1, 10.5); - init_one_double ( d2, -3.34); - init_one_double ( d3, 675.09123); + init_one_double ( d2, -3.375); + init_one_double ( d3, 675.09375); init_two_floats ( f1, 45.234, 43.6); init_two_floats ( f2, 78.01, 122.10); init_two_floats ( f3, -1232.345, -199.21); @@ -1276,8 +1276,8 @@ int main () { /* Print a very long arg list */ - a = 22.22; - b = 33.333; + a = 22.25; + b = 33.375; c = 0; d = -25; e = 100; |