diff options
Diffstat (limited to 'gdb/sparcobsd-tdep.c')
-rw-r--r-- | gdb/sparcobsd-tdep.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/sparcobsd-tdep.c b/gdb/sparcobsd-tdep.c index 3679534..88e4a78 100644 --- a/gdb/sparcobsd-tdep.c +++ b/gdb/sparcobsd-tdep.c @@ -1,6 +1,6 @@ /* Target-dependent code for OpenBSD/sparc. - Copyright (C) 2004 Free Software Foundation, Inc. + Copyright (C) 2004, 2005 Free Software Foundation, Inc. This file is part of GDB. @@ -30,6 +30,7 @@ #include "gdb_assert.h" +#include "obsd-tdep.h" #include "sparc-tdep.h" /* Signal trampolines. */ @@ -150,6 +151,8 @@ sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* OpenBSD/sparc is very similar to NetBSD/sparc ELF. */ sparc32nbsd_elf_init_abi (info, gdbarch); + set_gdbarch_skip_solib_resolver (gdbarch, obsd_skip_solib_resolver); + frame_unwind_append_sniffer (gdbarch, sparc32obsd_sigtramp_frame_sniffer); } |