diff options
author | Randolph Chung <tausq@debian.org> | 2004-05-26 05:51:39 +0000 |
---|---|---|
committer | Randolph Chung <tausq@debian.org> | 2004-05-26 05:51:39 +0000 |
commit | 3a7d1c27ef88aff067cccf0725f1a1d8a0fc9317 (patch) | |
tree | 5d110a4b1f628909179d86aeafc04bd55d38909d /gdb | |
parent | 436134168cc33aacf5f55033f64b2ac3504b376b (diff) | |
download | gdb-3a7d1c27ef88aff067cccf0725f1a1d8a0fc9317.zip gdb-3a7d1c27ef88aff067cccf0725f1a1d8a0fc9317.tar.gz gdb-3a7d1c27ef88aff067cccf0725f1a1d8a0fc9317.tar.bz2 |
2004-05-25 Randolph Chung <tausq@debian.org>
* hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
hppa-linux.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-linux-tdep.c | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ecf0fa2..ca13e95 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-05-25 Randolph Chung <tausq@debian.org> + * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on + hppa-linux. + +2004-05-25 Randolph Chung <tausq@debian.org> + * hppa-hpux-tdep.c (offsetof): Define. (hppa_hpux_pc_in_sigtramp, hppa32_hpux_frame_saved_pc_in_sigtramp) (hppa32_hpux_frame_base_before_sigtramp) diff --git a/gdb/hppa-linux-tdep.c b/gdb/hppa-linux-tdep.c index 8f3c632..f163924 100644 --- a/gdb/hppa-linux-tdep.c +++ b/gdb/hppa-linux-tdep.c @@ -493,6 +493,11 @@ hppa_linux_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* GNU/Linux uses the dynamic linker included in the GNU C Library. */ set_gdbarch_skip_solib_resolver (gdbarch, glibc_skip_solib_resolver); + /* On hppa-linux, currently, sizeof(long double) == 8. There has been + some discussions to support 128-bit long double, but it requires some + more work in gcc and glibc first. */ + set_gdbarch_long_double_bit (gdbarch, 64); + #if 0 /* Dwarf-2 unwinding support. Not yet working. */ set_gdbarch_dwarf_reg_to_regnum (gdbarch, hppa_dwarf_reg_to_regnum); |