summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2004-08-14 21:02:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2004-08-14 21:02:46 +0000
commit05ae89554abd9b61b75d4b43d376301dffa5030a (patch)
tree8358e8a2df62de5b50bc8830f186be90803a67b6 /gnu/usr.bin/binutils/gdb
parenta5eff0875927f710d6135592da4ab9309e59ecda (diff)
Set default ABI to "OpenBSD ELF" on amd64.
ok tedu@
Diffstat (limited to 'gnu/usr.bin/binutils/gdb')
-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