aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-tdep.c
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2003-12-19 06:45:03 +0000
committerMichael Chastain <mec@google.com>2003-12-19 06:45:03 +0000
commita2379359b4aef4f03b1be53bbc76518b9ff4cf2b (patch)
treed1c7785c8d3387bd383c166a602e0c526fafd2f7 /gdb/hppa-tdep.c
parent35f075b6eafd3a2d7bc241589102ee5ecb176de3 (diff)
downloadgdb-a2379359b4aef4f03b1be53bbc76518b9ff4cf2b.zip
gdb-a2379359b4aef4f03b1be53bbc76518b9ff4cf2b.tar.gz
gdb-a2379359b4aef4f03b1be53bbc76518b9ff4cf2b.tar.bz2
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.
Diffstat (limited to 'gdb/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 361af71..1e51103 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. */