Module Name:    src
Committed By:   christos
Date:           Thu Mar 24 00:38:40 UTC 2016

Modified Files:
        src/external/gpl3/gdb/dist/gdb: vaxbsd-nat.c
        src/external/gpl3/gdb/lib/libbfd/arch/vax: bfd_stdint.h
        src/external/gpl3/gdb/lib/libdecnumber/arch/vax: gstdint.h
        src/external/gpl3/gdb/lib/libgdb/arch/vax: config.h

Log Message:
adapt for vax.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c
cvs rdiff -u -r1.3 -r1.4 \
    src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h
cvs rdiff -u -r1.3 -r1.4 \
    src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c
diff -u src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c:1.8 src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c:1.9
--- src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c:1.8	Sun Aug 16 05:58:29 2015
+++ src/external/gpl3/gdb/dist/gdb/vaxbsd-nat.c	Wed Mar 23 20:38:40 2016
@@ -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 @@ vaxbsd_collect_gregset (const struct reg
     }
 }
 
-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 @@ supply_gregset (struct regcache *regcach
     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),

Index: src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h
diff -u src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h:1.3 src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h:1.4
--- src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h:1.3	Mon Aug 17 06:17:25 2015
+++ src/external/gpl3/gdb/lib/libbfd/arch/vax/bfd_stdint.h	Wed Mar 23 20:38:40 2016
@@ -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

Index: src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h
diff -u src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h:1.3 src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h:1.4
--- src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h:1.3	Mon Aug 17 06:17:25 2015
+++ src/external/gpl3/gdb/lib/libdecnumber/arch/vax/gstdint.h	Wed Mar 23 20:38:40 2016
@@ -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

Index: src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h
diff -u src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h:1.5 src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h:1.6
--- src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h:1.5	Wed Feb  3 17:13:42 2016
+++ src/external/gpl3/gdb/lib/libgdb/arch/vax/config.h	Wed Mar 23 20:38:40 2016
@@ -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

Reply via email to