Thu Mar 24 00:38:40 2016 UTC ()
adapt for vax.


(christos)
diff -r1.8 -r1.9 src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c
diff -r1.3 -r1.4 src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h
diff -r1.3 -r1.4 src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h
diff -r1.5 -r1.6 src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h

cvs diff -r1.8 -r1.9 src/external/gpl3/gdb/dist/gdb/Attic/vaxbsd-nat.c (expand / switch to context diff)
--- src/external/gpl3/gdb/dist/gdb/Attic/vaxbsd-nat.c 2015/08/16 09:58:29 1.8
+++ src/external/gpl3/gdb/dist/gdb/Attic/vaxbsd-nat.c 2016/03/24 00:38:40 1.9
@@ -17,6 +17,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
+#define _KERNTYPES
 #include "defs.h"
 #include "inferior.h"
 #include "regcache.h"
@@ -63,7 +64,7 @@
     }
 }
 
-void
+static void
 supply_gregset (struct regcache *regcache, const gregset_t *gregs)
 {
   if (ptrace (PT_SETREGS, ptid_get_pid (inferior_ptid),
@@ -71,7 +72,7 @@
     perror_with_name (_("Couldn't write registers"));
 }
 
-void
+static void
 fill_gregset (const struct regcache *regcache, gregset_t *gregs, int regnum)
 {
   if (ptrace (PT_GETREGS, ptid_get_pid (inferior_ptid),

cvs diff -r1.3 -r1.4 src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h (expand / switch to context diff)
--- src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h 2015/08/17 10:17:25 1.3
+++ src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h 2016/03/24 00:38:40 1.4
@@ -2,7 +2,7 @@
 /* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-/* generated for  vax--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
+/* generated for  vax--netbsdelf-gcc (NetBSD nb1 20160317) 5.3.0 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1

cvs diff -r1.3 -r1.4 src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h (expand / switch to context diff)
--- src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h 2015/08/17 10:17:25 1.3
+++ src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h 2016/03/24 00:38:40 1.4
@@ -2,7 +2,7 @@
 /* Generated from: NetBSD: mknative-gdb,v 1.6 2013/10/03 18:58:37 christos Exp  */
 /* Generated from: NetBSD: mknative.common,v 1.11 2014/02/17 21:39:43 christos Exp  */
 
-/* generated for  vax--netbsdelf-gcc (NetBSD nb1 20141012) 4.8.4 20141009 (prerelease) */
+/* generated for  vax--netbsdelf-gcc (NetBSD nb1 20160317) 5.3.0 */
 
 #ifndef GCC_GENERATED_STDINT_H
 #define GCC_GENERATED_STDINT_H 1

cvs diff -r1.5 -r1.6 src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h (expand / switch to context diff)
--- src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h 2016/02/03 22:13:42 1.5
+++ src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h 2016/03/24 00:38:40 1.6
@@ -219,7 +219,7 @@
 #define HAVE_INTTYPES_H 1
 
 /* Define to 1 if your system has the kinfo_getvmmap function. */
-/* #undef HAVE_KINFO_GETVMMAP */
+#define HAVE_KINFO_GETVMMAP 1
 
 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
 #define HAVE_LANGINFO_CODESET 1