aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-04-14 19:19:12 +0000
committerMark Kettenis <kettenis@gnu.org>2004-04-14 19:19:12 +0000
commit6f606e1ce7ab5344f1d4cfa9cafd6631f2acd2b3 (patch)
tree94dda40855a8226aacb3f2032b464888ee128e1b
parent9c5519a5d090054c6cd9c030ee05232cd853b147 (diff)
downloadgdb-6f606e1ce7ab5344f1d4cfa9cafd6631f2acd2b3.zip
gdb-6f606e1ce7ab5344f1d4cfa9cafd6631f2acd2b3.tar.gz
gdb-6f606e1ce7ab5344f1d4cfa9cafd6631f2acd2b3.tar.bz2
* 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.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/NEWS4
-rw-r--r--gdb/config/vax/nbsdaout.mh4
-rw-r--r--gdb/config/vax/nbsdelf.mh3
-rw-r--r--gdb/config/vax/nm-nbsd.h28
-rw-r--r--gdb/config/vax/nm-nbsdaout.h30
-rw-r--r--gdb/configure.host2
7 files changed, 78 insertions, 0 deletions
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 <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*.
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 ;;