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 | 843312d789c0b51e39b9dcf5e775c58a91464cdb (patch) | |
tree | 5601f1064cd0561f9cb2c30685327b9d6a0c7d16 /gdb/s390-tdep.c | |
parent | 071f41a9d316ce3b98c1c47c5574c65634829b0d (diff) | |
download | gdb-843312d789c0b51e39b9dcf5e775c58a91464cdb.tar.gz |
* 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 5f34b395b7c..e682880c97b 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) { |