aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/NEWS1
-rw-r--r--gdb/config/vax/nm-obsd.h28
-rw-r--r--gdb/config/vax/obsd.mh3
-rw-r--r--gdb/configure.host1
5 files changed, 38 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cb236d1..faca6dd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2004-04-15 Mark Kettenis <kettenis@gnu.org>
+ * NEWS (New native configurations): Mention OpenBSD/vax.
+ * configure.host: Add vax-*-openbsd*.
+ * config/vax/obsd.mh: New file.
+ * config/vax/nm-obsd.h: New file.
+
* vax-tdep.c: Include "regset.h".
(vax_supply_gregset): New function.
(vax_gregset): New variable.
diff --git a/gdb/NEWS b/gdb/NEWS
index 68378fe..b61036a 100644
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -6,6 +6,7 @@
* New native configurations
NetBSD/vax vax-*-netbsd*
+OpenBSD/vax vax-*-openbsd*
* REMOVED configurations and files
diff --git a/gdb/config/vax/nm-obsd.h b/gdb/config/vax/nm-obsd.h
new file mode 100644
index 0000000..ac44636
--- /dev/null
+++ b/gdb/config/vax/nm-obsd.h
@@ -0,0 +1,28 @@
+/* Native-dependent definitions for OpenBSD/vax.
+
+ Copyright 2004 Free Software Foundation, Inc.
+
+ This file is part of GDB.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#ifndef NM_OBSD_H
+#define NM_OBSD_H
+
+/* Get generic BSD native definitions. */
+#include "config/nm-bsd.h"
+
+#endif /* nm-obsd.h */
diff --git a/gdb/config/vax/obsd.mh b/gdb/config/vax/obsd.mh
new file mode 100644
index 0000000..cad1832
--- /dev/null
+++ b/gdb/config/vax/obsd.mh
@@ -0,0 +1,3 @@
+# Host: OpenBSD/vax
+NATDEPFILES= vaxbsd-nat.o fork-child.o infptrace.o inftarg.o
+NAT_FILE= nm-obsd.h
diff --git a/gdb/configure.host b/gdb/configure.host
index 660dafd..f3344ce 100644
--- a/gdb/configure.host
+++ b/gdb/configure.host
@@ -124,6 +124,7 @@ sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*)
vax-*-netbsdelf*) gdb_host=nbsdelf ;;
vax-*-netbsd*) gdb_host=nbsdaout ;;
+vax-*-openbsd*) gdb_host=obsd ;;
vax-*-bsd*) gdb_host=vaxbsd ;;
vax-*-ultrix2*) gdb_host=vaxult2 ;;
vax-*-ultrix*) gdb_host=vaxult ;;