This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] OpenBSD/amd64 configure.tgt tweak
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 9 Aug 2004 23:20:31 +0200 (CEST)
- Subject: [PATCH] OpenBSD/amd64 configure.tgt tweak
Without this, we'll end up with a 32-bit OSABI when debugging a
kernel.
Committed.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.tgt (x86_64-*-openbsd*): Set gdb_osabi to
GDB_OSABI_OPENBSD_ELF.
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.144
diff -u -p -r1.144 configure.tgt
--- configure.tgt 26 Jun 2004 10:06:34 -0000 1.144
+++ configure.tgt 9 Aug 2004 21:17:25 -0000
@@ -208,7 +208,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