aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ;;