* NEWS (New native configurations): Mention NetBSD/vax.
authorMark Kettenis <kettenis@gnu.org>
Wed, 14 Apr 2004 19:19:12 +0000 (19:19 +0000)
committerMark Kettenis <kettenis@gnu.org>
Wed, 14 Apr 2004 19:19:12 +0000 (19:19 +0000)
* 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
gdb/NEWS
gdb/config/vax/nbsdaout.mh [new file with mode: 0644]
gdb/config/vax/nbsdelf.mh [new file with mode: 0644]
gdb/config/vax/nm-nbsd.h [new file with mode: 0644]
gdb/config/vax/nm-nbsdaout.h [new file with mode: 0644]
gdb/configure.host

index 2a09d996cea6e90a160ab6899edf3c024eeb30e5..e2d26f13f8bd3c5b0b24c4968b9935106b7cbf20 100644 (file)
@@ -1,5 +1,12 @@
 2004-04-14  Mark Kettenis  <kettenis@gnu.org>
 
+       * 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*.
index b7554e75a4997cfdb1122699dab722d79a2ab401..68378fe48edcf39e543259185ac72c4c13cda13a 100644 (file)
--- 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 (file)
index 0000000..ad31e39
--- /dev/null
@@ -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 (file)
index 0000000..899bff8
--- /dev/null
@@ -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 (file)
index 0000000..a946865
--- /dev/null
@@ -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 (file)
index 0000000..f611b9a
--- /dev/null
@@ -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 */
index 919edc0afa99b19c5249783dc125944bd67f1e39..660dafdbc9f1ae7515209c2f36431b57b8f4bf05 100644 (file)
@@ -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 ;;