summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/gdb/config/i386/obsd64.mt2
-rw-r--r--gnu/usr.bin/binutils/gdb/configure.tgt4
2 files changed, 4 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gdb/config/i386/obsd64.mt b/gnu/usr.bin/binutils/gdb/config/i386/obsd64.mt
index 16be0798e7f..e2bbf4151fc 100644
--- a/gnu/usr.bin/binutils/gdb/config/i386/obsd64.mt
+++ b/gnu/usr.bin/binutils/gdb/config/i386/obsd64.mt
@@ -1,5 +1,5 @@
# Target: OpenBSD/amd64
TDEPFILES= amd64-tdep.o amd64obsd-tdep.o \
- i386-tdep.o i387-tdep.o i386bsd-tdep.o \
+ i386-tdep.o i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \
corelow.o solib.o solib-svr4.o
TM_FILE= tm-nbsd.h
diff --git a/gnu/usr.bin/binutils/gdb/configure.tgt b/gnu/usr.bin/binutils/gdb/configure.tgt
index cfd238a0ee2..ed05b780685 100644
--- a/gnu/usr.bin/binutils/gdb/configure.tgt
+++ b/gnu/usr.bin/binutils/gdb/configure.tgt
@@ -223,7 +223,9 @@ x86_64-*-linux*) gdb_target=linux64
build_gdbserver=yes
;;
x86_64-*-netbsd*) gdb_target=nbsd64 ;;
-x86_64-*-openbsd*) gdb_target=obsd64 ;;
+x86_64-*-openbsd*) gdb_target=obsd64
+ gdb_osabi=GDB_OSABI_OPENBSD_ELF
+ ;;
esac