aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-02-23 20:24:17 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-02-23 20:24:17 +0000
commit2417dd258951fe1c4325eb25fac3aa1222585937 (patch)
tree0a5b66bb0c2c5eefe22e2cc7b2a7243b6030a00c /gdb
parent4a9a3c54b799bbc85b284d6072ceef7229022cdf (diff)
downloadgdb-2417dd258951fe1c4325eb25fac3aa1222585937.zip
gdb-2417dd258951fe1c4325eb25fac3aa1222585937.tar.gz
gdb-2417dd258951fe1c4325eb25fac3aa1222585937.tar.bz2
* m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/m68hc11-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6ebce84..67a4b1c 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
+
+ * m68hc11-tdep.c (m68hc11_gdbarch_init): long double is 64-bit wide.
+
2003-02-22 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11-tdep.c (m68hc11_init_reggroups): New function.
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index 77baa3d..05ef436 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -1344,7 +1344,7 @@ m68hc11_gdbarch_init (struct gdbarch_info info,
set_gdbarch_int_bit (gdbarch, elf_flags & E_M68HC11_I32 ? 32 : 16);
set_gdbarch_float_bit (gdbarch, 32);
set_gdbarch_double_bit (gdbarch, elf_flags & E_M68HC11_F64 ? 64 : 32);
- set_gdbarch_long_double_bit (gdbarch, elf_flags & E_M68HC11_F64 ? 64 : 32);
+ set_gdbarch_long_double_bit (gdbarch, 64);
set_gdbarch_long_bit (gdbarch, 32);
set_gdbarch_ptr_bit (gdbarch, 16);
set_gdbarch_long_long_bit (gdbarch, 64);