From 6f606e1ce7ab5344f1d4cfa9cafd6631f2acd2b3 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 14 Apr 2004 19:19:12 +0000 Subject: [PATCH] * NEWS (New native configurations): Mention NetBSD/vax. * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*. * config/vax/nbsdelf.mh: New file. * config/vax/nbsdaout.mh: New file. * config/vax/nm-nbsd.h: New file. * config/vax/nm-nbsdaout.h: New file. --- gdb/ChangeLog | 7 +++++++ gdb/NEWS | 4 ++++ gdb/config/vax/nbsdaout.mh | 4 ++++ gdb/config/vax/nbsdelf.mh | 3 +++ gdb/config/vax/nm-nbsd.h | 28 ++++++++++++++++++++++++++++ gdb/config/vax/nm-nbsdaout.h | 30 ++++++++++++++++++++++++++++++ gdb/configure.host | 2 ++ 7 files changed, 78 insertions(+) create mode 100644 gdb/config/vax/nbsdaout.mh create mode 100644 gdb/config/vax/nbsdelf.mh create mode 100644 gdb/config/vax/nm-nbsd.h create mode 100644 gdb/config/vax/nm-nbsdaout.h diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2a09d99..e2d26f1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2004-04-14 Mark Kettenis + * NEWS (New native configurations): Mention NetBSD/vax. + * configure.host: Add vax-*-netbsdelf* and vax-*-netbsd*. + * config/vax/nbsdelf.mh: New file. + * config/vax/nbsdaout.mh: New file. + * config/vax/nm-nbsd.h: New file. + * config/vax/nm-nbsdaout.h: New file. + * vaxnbsd-tdep.c: New file. * Makefile.in (vaxnbsd-tdep.o): New dependency. * configure.tgt: Add vax-*-netbsd* and vax-*-openbsd*. diff --git a/gdb/NEWS b/gdb/NEWS index b7554e7..68378fe 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -3,6 +3,10 @@ *** Changes since GDB 6.1: +* New native configurations + +NetBSD/vax vax-*-netbsd* + * REMOVED configurations and files Sun 3, running SunOS 3 m68*-*-sunos3* diff --git a/gdb/config/vax/nbsdaout.mh b/gdb/config/vax/nbsdaout.mh new file mode 100644 index 0000000..ad31e39 --- /dev/null +++ b/gdb/config/vax/nbsdaout.mh @@ -0,0 +1,4 @@ +# Host: NetBSD/vax a.out +NATDEPFILES= vaxbsd-nat.o fork-child.o infptrace.o inftarg.o \ + solib.o solib-sunos.o +NAT_FILE= nm-nbsdaout.h diff --git a/gdb/config/vax/nbsdelf.mh b/gdb/config/vax/nbsdelf.mh new file mode 100644 index 0000000..899bff8 --- /dev/null +++ b/gdb/config/vax/nbsdelf.mh @@ -0,0 +1,3 @@ +# Host: NetBSD/vax ELF +NATDEPFILES= vaxbsd-nat.o fork-child.o infptrace.o inftarg.o +NAT_FILE= nm-nbsd.h diff --git a/gdb/config/vax/nm-nbsd.h b/gdb/config/vax/nm-nbsd.h new file mode 100644 index 0000000..a946865 --- /dev/null +++ b/gdb/config/vax/nm-nbsd.h @@ -0,0 +1,28 @@ +/* Native-dependent definitions for NetBSD/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_NBSD_H +#define NM_NBSD_H + +/* Get generic NetBSD native definitions. */ +#include "config/nm-nbsd.h" + +#endif /* nm-nbsd.h */ diff --git a/gdb/config/vax/nm-nbsdaout.h b/gdb/config/vax/nm-nbsdaout.h new file mode 100644 index 0000000..f611b9a --- /dev/null +++ b/gdb/config/vax/nm-nbsdaout.h @@ -0,0 +1,30 @@ +/* Native-dependent definitions for NetBSD/vax a.out. + + 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_NBSDAOUT_H +#define NM_NBSDAOUT_H + +#include "vax/nm-nbsd.h" + +/* Get generic NetBSD a.out native definitions. */ +#include "config/nm-nbsdaout.h" + +#endif /* nm-nbsdaout.h */ diff --git a/gdb/configure.host b/gdb/configure.host index 919edc0..660dafd 100644 --- a/gdb/configure.host +++ b/gdb/configure.host @@ -122,6 +122,8 @@ sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) gdb_host=sol2 ;; +vax-*-netbsdelf*) gdb_host=nbsdelf ;; +vax-*-netbsd*) gdb_host=nbsdaout ;; vax-*-bsd*) gdb_host=vaxbsd ;; vax-*-ultrix2*) gdb_host=vaxult2 ;; vax-*-ultrix*) gdb_host=vaxult ;; -- 2.7.4