aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparcobsd-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparcobsd-tdep.c')
-rw-r--r--gdb/sparcobsd-tdep.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/sparcobsd-tdep.c b/gdb/sparcobsd-tdep.c
index 47f64bb..7c3bcc9 100644
--- a/gdb/sparcobsd-tdep.c
+++ b/gdb/sparcobsd-tdep.c
@@ -147,14 +147,10 @@ sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
{
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
- /* OpenBSD doesn't support the 128-bit `long double' from the psABI. */
- set_gdbarch_long_double_bit (gdbarch, 64);
- set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_big);
+ /* OpenBSD/sparc is very similar to NetBSD/sparc ELF. */
+ sparc32nbsd_elf_init_abi (info, gdbarch);
frame_unwind_append_sniffer (gdbarch, sparc32obsd_sigtramp_frame_sniffer);
-
- set_solib_svr4_fetch_link_map_offsets
- (gdbarch, svr4_ilp32_fetch_link_map_offsets);
}