aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc64obsd-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-12-26 19:31:22 +0000
committerMark Kettenis <kettenis@gnu.org>2005-12-26 19:31:22 +0000
commit4807909c00e91d9b9d173413ea62e3abb5695fe5 (patch)
tree6863e587daf89e9b46f4ea62cf60ca98dc700106 /gdb/sparc64obsd-tdep.c
parentdfe1ff2efe86bf104de15a9e331b9ea99c9e4660 (diff)
downloadgdb-4807909c00e91d9b9d173413ea62e3abb5695fe5.zip
gdb-4807909c00e91d9b9d173413ea62e3abb5695fe5.tar.gz
gdb-4807909c00e91d9b9d173413ea62e3abb5695fe5.tar.bz2
* sparc64obsd-tdep.c: Include "obsd-tdep.h".
(sparc64obsd_init_abi): Set skip_solib_resolver to obsd_skip_solib_resolver instead of find_solib_trampoline_target. * Makefile.in (sparc64obsd-tdep.o): Update dependencies. * config/sparc/obsd64.mt (TDEPFILES): Add obsd-tdep.o.
Diffstat (limited to 'gdb/sparc64obsd-tdep.c')
-rw-r--r--gdb/sparc64obsd-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/sparc64obsd-tdep.c b/gdb/sparc64obsd-tdep.c
index f45bc20..f5bf80d 100644
--- a/gdb/sparc64obsd-tdep.c
+++ b/gdb/sparc64obsd-tdep.c
@@ -31,6 +31,7 @@
#include "gdb_assert.h"
+#include "obsd-tdep.h"
#include "sparc64-tdep.h"
/* OpenBSD uses the traditional NetBSD core file format, even for
@@ -212,9 +213,9 @@ sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
sparc64_init_abi (info, gdbarch);
/* OpenBSD/sparc64 has SVR4-style shared libraries. */
- set_gdbarch_skip_trampoline_code (gdbarch, find_solib_trampoline_target);
set_solib_svr4_fetch_link_map_offsets
(gdbarch, svr4_lp64_fetch_link_map_offsets);
+ set_gdbarch_skip_solib_resolver (gdbarch, obsd_skip_solib_resolver);
}