diff options
author | Mark Kettenis <kettenis@gnu.org> | 2006-01-13 23:09:08 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2006-01-13 23:09:08 +0000 |
commit | ed944ce7dfffd0549fde07e2a03c3047c28429c6 (patch) | |
tree | bc14b8039166b0325a098c43c7e139e66b5307fa /gdb | |
parent | b3b1f268a8027cec777ff4a9d06dfa5fe85ac695 (diff) | |
download | gdb-ed944ce7dfffd0549fde07e2a03c3047c28429c6.zip gdb-ed944ce7dfffd0549fde07e2a03c3047c28429c6.tar.gz gdb-ed944ce7dfffd0549fde07e2a03c3047c28429c6.tar.bz2 |
* hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64,
and long_double_format accordingly.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/hppabsd-tdep.c | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 31aa05c..1a73ed9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-01-13 Mark Kettenis <kettenis@gnu.org> + + * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64, + and long_double_format accordingly. + 2006-01-12 Paul N. Hilfinger <hilfinger@adacore.com> * ada-exp.y (yyerror): Change message to ignore the argument, avoiding diff --git a/gdb/hppabsd-tdep.c b/gdb/hppabsd-tdep.c index 77c420e..7fb3c27 100644 --- a/gdb/hppabsd-tdep.c +++ b/gdb/hppabsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for HP PA-RISC BSD's. - Copyright (C) 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. This file is part of GDB. @@ -169,6 +169,10 @@ hppabsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); + /* OpenBSD and NetBSD have a 64-bit 'long double'. */ + set_gdbarch_long_double_bit (gdbarch, 64); + set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_big); + /* Core file support. */ set_gdbarch_regset_from_core_section (gdbarch, hppabsd_regset_from_core_section); @@ -177,7 +181,7 @@ hppabsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tdep->find_global_pointer = hppabsd_find_global_pointer; tdep->is_elf = 1; - /* OpenBSD and NetBSD uses SVR4-style shared libraries. */ + /* OpenBSD and NetBSD use SVR4-style shared libraries. */ set_solib_svr4_fetch_link_map_offsets (gdbarch, svr4_ilp32_fetch_link_map_offsets); } |