This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] OpenBSD/vax native support
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 15 Apr 2004 17:10:43 +0200 (CEST)
- Subject: [PATCH] OpenBSD/vax native support
Committed,
Mark
Index: ChangeLog
from 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.
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.142
diff -u -p -r1.142 NEWS
--- NEWS 14 Apr 2004 19:19:11 -0000 1.142
+++ NEWS 15 Apr 2004 15:08:46 -0000
@@ -6,6 +6,7 @@
* New native configurations
NetBSD/vax vax-*-netbsd*
+OpenBSD/vax vax-*-openbsd*
* REMOVED configurations and files
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.73
diff -u -p -r1.73 configure.host
--- configure.host 14 Apr 2004 19:19:11 -0000 1.73
+++ configure.host 15 Apr 2004 15:08:46 -0000
@@ -124,6 +124,7 @@ sparc-*-solaris2* | sparcv9-*-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 ;;
Index: config/vax/nm-obsd.h
===================================================================
RCS file: config/vax/nm-obsd.h
diff -N config/vax/nm-obsd.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/vax/nm-obsd.h 15 Apr 2004 15:08:46 -0000
@@ -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 */
Index: config/vax/obsd.mh
===================================================================
RCS file: config/vax/obsd.mh
diff -N config/vax/obsd.mh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/vax/obsd.mh 15 Apr 2004 15:08:46 -0000
@@ -0,0 +1,3 @@
+# Host: OpenBSD/vax
+NATDEPFILES= vaxbsd-nat.o fork-child.o infptrace.o inftarg.o
+NAT_FILE= nm-obsd.h