summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-rw-r--r--gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt2
-rw-r--r--gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt b/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt
index 8514db18698..499044b7cc8 100644
--- a/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt
+++ b/gnu/usr.bin/binutils/gdb/config/sparc/obsd64.mt
@@ -1,5 +1,5 @@
# Target: OpenBSD/sparc64
TDEPFILES= sparc64-tdep.o sparc64nbsd-tdep.o sparc64obsd-tdep.o \
sparc-tdep.o sparcnbsd-tdep.o sparcobsd-tdep.o nbsd-tdep.o \
- corelow.o solib.o solib-svr4.o
+ obsd-tdep.o corelow.o solib.o solib-svr4.o
DEPRECATED_TM_FILE= solib.h
diff --git a/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c b/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c
index de8a152e2a6..b10c2706fef 100644
--- a/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c
+++ b/gnu/usr.bin/binutils/gdb/sparc64obsd-tdep.c
@@ -1,6 +1,6 @@
/* Target-dependent code for OpenBSD/sparc64.
- Copyright 2004 Free Software Foundation, Inc.
+ Copyright 2004, 2005 Free Software Foundation, Inc.
This file is part of GDB.
@@ -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
@@ -203,9 +204,9 @@ sparc64obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
/* OpenBSD/sparc64 has SVR4-style shared libraries... */
set_gdbarch_in_solib_call_trampoline (gdbarch, in_plt_section);
- 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);
}