From c3877fe58123c68f1694522ad5b6c8ccfc55948c Mon Sep 17 00:00:00 2001 From: Randolph Chung Date: Wed, 26 May 2004 05:51:39 +0000 Subject: 2004-05-25 Randolph Chung * hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on hppa-linux. --- gdb/hppa-linux-tdep.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/hppa-linux-tdep.c') diff --git a/gdb/hppa-linux-tdep.c b/gdb/hppa-linux-tdep.c index 8f3c632a152..f1639247bb8 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); -- cgit v1.2.1