diff options
author | Michael Chastain <mec.gnu@mindspring.com> | 2003-12-19 06:45:03 +0000 |
---|---|---|
committer | Michael Chastain <mec.gnu@mindspring.com> | 2003-12-19 06:45:03 +0000 |
commit | aa0d60e039ff6bf0f83126447dd5590daba52fe6 (patch) | |
tree | e3d4479a74962bd6acdc6dfd424a5f50673df0f6 | |
parent | c20c711f680c0f30ec2f72c5fb708f90e1e31b19 (diff) | |
download | gdb-aa0d60e039ff6bf0f83126447dd5590daba52fe6.tar.gz |
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.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppa-tdep.c | 6 |
2 files changed, 11 insertions, 0 deletions
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 <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 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. */ |