2004-05-25 Randolph Chung <tausq@debian.org>
authorRandolph Chung <tausq@debian.org>
Wed, 26 May 2004 05:51:39 +0000 (05:51 +0000)
committerRandolph Chung <tausq@debian.org>
Wed, 26 May 2004 05:51:39 +0000 (05:51 +0000)
* hppa-linux-tdep.c (hppa_linux_init_abi): sizeof(long double) == 8 on
hppa-linux.

gdb/ChangeLog
gdb/hppa-linux-tdep.c

index ecf0fa2951337e9943364822597b938d01ee0d63..ca13e954460e983e1bd2eec411b46ee1e4b32706 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 8f3c632a152e7b8d8e2be1c6bf54425351894f25..f1639247bb8d216f77f7b5c45413185b44993239 100644 (file)
@@ -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);