This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Add NetBSD/vax native support
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 14 Apr 2004 21:19:17 +0200 (CEST)
- Subject: [PATCH] Add NetBSD/vax native support
This adds NetBSD/vax ELF and a.out native support. ELF is well
tested, a.out isn't tested at all, but I'm fairly certain that it will
work.
Committed,
Mark
Index: ChangeLog
from 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.
Index: NEWS
===================================================================
RCS file: /cvs/src/src/gdb/NEWS,v
retrieving revision 1.141
diff -u -p -r1.141 NEWS
--- NEWS 5 Apr 2004 03:52:41 -0000 1.141
+++ NEWS 14 Apr 2004 19:15:54 -0000
@@ -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*
Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.72
diff -u -p -r1.72 configure.host
--- configure.host 5 Apr 2004 03:52:41 -0000 1.72
+++ configure.host 14 Apr 2004 19:15:54 -0000
@@ -122,6 +122,8 @@ sparc-*-solaris2* | sparcv9-*-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 ;;
Index: config/vax/nbsdaout.mh
===================================================================
RCS file: config/vax/nbsdaout.mh
diff -N config/vax/nbsdaout.mh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/vax/nbsdaout.mh 14 Apr 2004 19:15:54 -0000
@@ -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
Index: config/vax/nbsdelf.mh
===================================================================
RCS file: config/vax/nbsdelf.mh
diff -N config/vax/nbsdelf.mh
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/vax/nbsdelf.mh 14 Apr 2004 19:15:54 -0000
@@ -0,0 +1,3 @@
+# Host: NetBSD/vax ELF
+NATDEPFILES= vaxbsd-nat.o fork-child.o infptrace.o inftarg.o
+NAT_FILE= nm-nbsd.h
Index: config/vax/nm-nbsd.h
===================================================================
RCS file: config/vax/nm-nbsd.h
diff -N config/vax/nm-nbsd.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/vax/nm-nbsd.h 14 Apr 2004 19:15:54 -0000
@@ -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 */
Index: config/vax/nm-nbsdaout.h
===================================================================
RCS file: config/vax/nm-nbsdaout.h
diff -N config/vax/nm-nbsdaout.h
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ config/vax/nm-nbsdaout.h 14 Apr 2004 19:15:54 -0000
@@ -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 */