* s390-tdep.c (s390_gdbarch_init): Register the function
authorJim Blandy <jimb@codesourcery.com>
Tue, 13 Nov 2001 17:26:46 +0000 (17:26 +0000)
committerJim Blandy <jimb@codesourcery.com>
Tue, 13 Nov 2001 17:26:46 +0000 (17:26 +0000)
`standard_coerce_float_to_double', since GCC for the S/390 follows
the standard rules for passing floats.

gdb/ChangeLog
gdb/s390-tdep.c

index d5c14c777e859cda4bda7b8df0cfa4e1da7d3af4..5e7641cc0676f9a1cb98d2bd8eccafcda8d49f11 100644 (file)
@@ -1,5 +1,9 @@
 2001-11-13  Jim Blandy  <jimb@redhat.com>
 
+       * s390-tdep.c (s390_gdbarch_init): Register the function
+       `standard_coerce_float_to_double', since GCC for the S/390 follows
+       the standard rules for passing floats.
+
        * valops.c (default_coerce_float_to_double,
        standard_coerce_float_to_double): Doc fixes.
 
index 5f34b395b7cc7428a0c966e6e60c391e55d7b036..e682880c97b50aa66bfa2abc4a313cb8596883dd 100644 (file)
@@ -1454,6 +1454,8 @@ s390_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
   set_gdbarch_sizeof_call_dummy_words (gdbarch,
                                        sizeof (s390_call_dummy_words));
   set_gdbarch_call_dummy_words (gdbarch, s390_call_dummy_words);
+  set_gdbarch_coerce_float_to_double (gdbarch,
+                                      standard_coerce_float_to_double);
 
   switch (info.bfd_arch_info->mach)
     {