From: kettenis Date: Thu, 15 Apr 2004 15:10:01 +0000 (+0000) Subject: * NEWS (New native configurations): Mention OpenBSD/vax. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b945b220a19893dc4a0d39ae2c09d66fcf3b708e;p=pf3gnuchains%2Fpf3gnuchains3x.git * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb236d1765..faca6dd62b 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 68378fe48e..b61036a946 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 0000000000..ac44636408 --- /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 0000000000..cad18322e3 --- /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 660dafdbc9..f3344ce366 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 ;;