aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8300-tdep.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2012-09-19 11:09:16 +0000
committerThomas Schwinge <tschwinge@gnu.org>2012-09-19 11:09:16 +0000
commitf92589cba1cb4e3ca65c1b97d797d7ddc5660226 (patch)
treee0a6d48bb2928458cc31530798b7ad30e4d5da15 /gdb/h8300-tdep.c
parentaa9259cc84069710fcf56dc73a04a1983636cd18 (diff)
downloadgdb-f92589cba1cb4e3ca65c1b97d797d7ddc5660226.zip
gdb-f92589cba1cb4e3ca65c1b97d797d7ddc5660226.tar.gz
gdb-f92589cba1cb4e3ca65c1b97d797d7ddc5660226.tar.bz2
gdb/
* h8300-tdep.c (h8300_gdbarch_init): Invoke set_gdbarch_double_format and set_gdbarch_long_double_format. * m68hc11-tdep.c (m68hc11_gdbarch_init): Invoke set_gdbarch_double_format. * sh-tdep.c (sh_gdbarch_init): Likewise.
Diffstat (limited to 'gdb/h8300-tdep.c')
-rw-r--r--gdb/h8300-tdep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index 7fc4daa..bcb769e 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -1351,7 +1351,9 @@ h8300_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_long_bit (gdbarch, 4 * TARGET_CHAR_BIT);
set_gdbarch_long_long_bit (gdbarch, 8 * TARGET_CHAR_BIT);
set_gdbarch_double_bit (gdbarch, 4 * TARGET_CHAR_BIT);
+ set_gdbarch_double_format (gdbarch, floatformats_ieee_single);
set_gdbarch_long_double_bit (gdbarch, 4 * TARGET_CHAR_BIT);
+ set_gdbarch_long_double_format (gdbarch, floatformats_ieee_single);
set_gdbarch_believe_pcc_promotion (gdbarch, 1);