diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-11-13 17:26:46 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-11-13 17:26:46 +0000 |
commit | 0adb2abaa621ef0ef840d2a5605e3fb76dc1770c (patch) | |
tree | c61dfb0d386cbe1afd02ab66ebf0a8f1e038be15 /gdb/s390-tdep.c | |
parent | 641225a4002addcb0db809e7a534fcf718ed1a86 (diff) | |
download | fsf-binutils-gdb-0adb2abaa621ef0ef840d2a5605e3fb76dc1770c.zip fsf-binutils-gdb-0adb2abaa621ef0ef840d2a5605e3fb76dc1770c.tar.gz fsf-binutils-gdb-0adb2abaa621ef0ef840d2a5605e3fb76dc1770c.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/s390-tdep.c')
-rw-r--r-- | gdb/s390-tdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/s390-tdep.c b/gdb/s390-tdep.c index 5f34b39..e682880 100644 --- a/gdb/s390-tdep.c +++ b/gdb/s390-tdep.c @@ -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) { |