2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
authorMichael Chastain <mec@google.com>
Fri, 19 Dec 2003 06:45:03 +0000 (06:45 +0000)
committerMichael Chastain <mec@google.com>
Fri, 19 Dec 2003 06:45:03 +0000 (06:45 +0000)
* hppa-tdep.c (hppa_gdbarch_init): Set long double floating
point type to floatformat_ia64_quad_big.

gdb/ChangeLog
gdb/hppa-tdep.c

index 03da9d1..88be8e1 100644 (file)
@@ -1,3 +1,8 @@
+2003-12-18  Michael Chastain  <mec.gnu@mindspring.com>
+
+       * hppa-tdep.c (hppa_gdbarch_init): Set long double floating
+       point type to floatformat_ia64_quad_big.
+
 2003-12-18  Kevin Buettner  <kevinb@redhat.com>
 
        * frv-tdep.c (skip_prologue_using_sal): New function.  Taken verbatim
index 361af71..1e51103 100644 (file)
@@ -5092,6 +5092,11 @@ hppa_fetch_pointer_argument (struct frame_info *frame, int argi,
    So all these compilers use either ILP32 or LP64 model.
    TODO: gcc has more options so it needs more investigation.
 
+   For floating point types, see:
+
+     http://docs.hp.com/hpux/pdf/B3906-90006.pdf
+     HP-UX floating-point guide, hpux 11.00
+
    -- chastain 2003-12-18  */
 
 static struct gdbarch *
@@ -5180,6 +5185,7 @@ hppa_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
      and LP64, but might show differences some day.  */
   set_gdbarch_long_long_bit (gdbarch, 64);
   set_gdbarch_long_double_bit (gdbarch, 128);
+  set_gdbarch_long_double_format (gdbarch, &floatformat_ia64_quad_big);
 
   /* The following gdbarch vector elements do not depend on the address
      size, or in any other gdbarch element previously set.  */