mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
* 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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user