From a2379359b4aef4f03b1be53bbc76518b9ff4cf2b Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Fri, 19 Dec 2003 06:45:03 +0000 Subject: [PATCH] 2003-12-18 Michael Chastain * hppa-tdep.c (hppa_gdbarch_init): Set long double floating point type to floatformat_ia64_quad_big. --- gdb/ChangeLog | 5 +++++ gdb/hppa-tdep.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 03da9d133e3..88be8e132f4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-12-18 Michael Chastain + + * hppa-tdep.c (hppa_gdbarch_init): Set long double floating + point type to floatformat_ia64_quad_big. + 2003-12-18 Kevin Buettner * frv-tdep.c (skip_prologue_using_sal): New function. Taken verbatim diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c index 361af71653c..1e5110378cb 100644 --- a/gdb/hppa-tdep.c +++ b/gdb/hppa-tdep.c @@ -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. */