From 9f076e7a44d7fcf1f109014a58d8dc28fcea7d40 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 15 Apr 2004 15:10:01 +0000 Subject: [PATCH] * 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. --- gdb/ChangeLog | 5 +++++ gdb/NEWS | 1 + gdb/config/vax/nm-obsd.h | 28 ++++++++++++++++++++++++++++ gdb/config/vax/obsd.mh | 3 +++ gdb/configure.host | 1 + 5 files changed, 38 insertions(+) create mode 100644 gdb/config/vax/nm-obsd.h create mode 100644 gdb/config/vax/obsd.mh diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb236d17650..faca6dd62b7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2004-04-15 Mark Kettenis + * 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 68378fe48ed..b61036a9462 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 00000000000..ac44636408e --- /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 00000000000..cad18322e30 --- /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 660dafdbc9f..f3344ce3660 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 ;; -- 2.30.2