aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/config/i386/obsdaout.mh7
-rw-r--r--gdb/configure.host2
3 files changed, 13 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6b90c0c..a9c6009 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2004-02-21 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.
+
* config/i386/obsd.mh (MH_FLAGS): Remove.
Fix PR build/1549.
diff --git a/gdb/config/i386/obsdaout.mh b/gdb/config/i386/obsdaout.mh
new file mode 100644
index 0000000..8ab548b
--- /dev/null
+++ b/gdb/config/i386/obsdaout.mh
@@ -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
diff --git a/gdb/configure.host b/gdb/configure.host
index f775746..d637568 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -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 ;;