This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix OpenBSD/i386 a.out shared library support
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 21 Feb 2004 22:22:17 +0100 (CET)
- Subject: [PATCH] Fix OpenBSD/i386 a.out shared library support
As promised. Committed.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* configure.host: Add i[34567]86-*-openbsd[0-2].* and
i[34567]86-*-openbsd3.[0-3].
* config/i386/obsdaout.mh: New file.
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.68
diff -u -p -r1.68 configure.host
--- configure.host 20 Feb 2004 18:46:34 -0000 1.68
+++ configure.host 21 Feb 2004 21:20:30 -0000
@@ -64,6 +64,8 @@ i[34567]86-*-linux*) gdb_host=linux ;;
i[34567]86-*-lynxos*) gdb_host=i386lynx ;;
i[34567]86-*-gnu*) gdb_host=i386gnu ;;
i[3456]86-*-nto*) gdb_host=nto ;;
+i[34567]86-*-openbsd[0-2].* | i[34567]86-*-openbsd3.[0-3])
+ gdb_host=obsdaout ;;
i[34567]86-*-openbsd*) gdb_host=obsd ;;
i[34567]86-*-sco3.2v5*) gdb_host=i386sco5 ;;
i[34567]86-*-sco3.2v4*) gdb_host=i386sco4 ;;
Index: config/i386/obsdaout.mh
===================================================================
RCS file: config/i386/obsdaout.mh
diff -N config/i386/obsdaout.mh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/i386/obsdaout.mh 21 Feb 2004 21:20:30 -0000
@@ -0,0 +1,7 @@
+# Host: OpenBSD/i386 a.out
+
+XM_FILE= xm-i386.h
+
+NAT_FILE= nm-obsd.h
+NATDEPFILES= fork-child.o infptrace.o inftarg.o i386bsd-nat.o i386obsd-nat.o \
+ solib.o solib-sunos.o