CVS commit: src/sys/dev/ic

2019-04-02 Thread Jason R Thorpe
Module Name:src
Committed By:   thorpej
Date:   Wed Apr  3 05:34:39 UTC 2019

Modified Files:
src/sys/dev/ic: tulipreg.h

Log Message:
After throwing away countless hours of my life on this driver, I am not
going to let an obvious typo go uncorrected.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/sys/dev/ic/tulipreg.h

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

Modified files:

Index: src/sys/dev/ic/tulipreg.h
diff -u src/sys/dev/ic/tulipreg.h:1.37 src/sys/dev/ic/tulipreg.h:1.38
--- src/sys/dev/ic/tulipreg.h:1.37	Mon Jan 16 17:58:02 2012
+++ src/sys/dev/ic/tulipreg.h	Wed Apr  3 05:34:39 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: tulipreg.h,v 1.37 2012/01/16 17:58:02 jakllsch Exp $	*/
+/*	$NetBSD: tulipreg.h,v 1.38 2019/04/03 05:34:39 thorpej Exp $	*/
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -135,7 +135,7 @@
  *	
  *	- ASIX AX88140
  *	
- *	  21433 clone with a few differences:
+ *	  21143 clone with a few differences:
  *
  *	  	- Specific broadcast bit in the OPMODE register.
  *	  	- Transmit buffer must be 32-bit aligned.



CVS commit: src/external/gpl3/gcc/lib/libgcc

2019-04-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Wed Apr  3 02:13:56 UTC 2019

Modified Files:
src/external/gpl3/gcc/lib/libgcc: Makefile.inc

Log Message:
fix error in previous


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/external/gpl3/gcc/lib/libgcc/Makefile.inc

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/gcc/lib/libgcc/Makefile.inc
diff -u src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.40 src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.41
--- src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.40	Tue Apr  2 21:29:46 2019
+++ src/external/gpl3/gcc/lib/libgcc/Makefile.inc	Wed Apr  3 02:13:56 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.40 2019/04/02 21:29:46 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.41 2019/04/03 02:13:56 mrg Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -76,7 +76,7 @@ EXTRA_FUNC_SIZES=	sf df xf
 
 .if ${LIBGCC_MACHINE_ARCH} != "x86_64" && \
 ${LIBGCC_MACHINE_ARCH} != "i386" && \
-${LIBGCC_MACHINE_ARCH} != "ia64" &&
+${LIBGCC_MACHINE_ARCH} != "ia64"
 EXTRA_FUNC_SIZES+=	tf
 .endif
 



CVS commit: src/sys/lib/libsa

2019-04-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr  2 22:25:10 UTC 2019

Modified Files:
src/sys/lib/libsa: Makefile bootparam.c ufs.c

Log Message:
fix sign-compare and sign-passing errors.


To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/lib/libsa/Makefile
cvs rdiff -u -r1.20 -r1.21 src/sys/lib/libsa/bootparam.c
cvs rdiff -u -r1.75 -r1.76 src/sys/lib/libsa/ufs.c

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

Modified files:

Index: src/sys/lib/libsa/Makefile
diff -u src/sys/lib/libsa/Makefile:1.89 src/sys/lib/libsa/Makefile:1.90
--- src/sys/lib/libsa/Makefile:1.89	Sun Mar 31 16:08:45 2019
+++ src/sys/lib/libsa/Makefile	Tue Apr  2 18:25:10 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.89 2019/03/31 20:08:45 christos Exp $
+#	$NetBSD: Makefile,v 1.90 2019/04/02 22:25:10 christos Exp $
 
 LIB=	sa
 LIBISPRIVATE?= yes
@@ -15,9 +15,11 @@ CPPFLAGS=	-I${SADIR} ${SACPPFLAGS} ${SAM
 #COPTS+= -ansi -pedantic -Wall
 
 # For testing
-# WARNS=5
-# COPTS+=-ffreestanding
-# CPPFLAGS+= -I${.CURDIR}/../../ -I${.CURDIR}
+#WARNS=6
+#NOSSP=yes
+#NOFORTIFY=yes
+#COPTS+=-ffreestanding -Wpointer-sign
+#CPPFLAGS+= -I${.CURDIR}/../../ -I${.CURDIR}
 
 .if defined(SA_EXTRADIR)
 .-include "${SA_EXTRADIR}/Makefile.inc"

Index: src/sys/lib/libsa/bootparam.c
diff -u src/sys/lib/libsa/bootparam.c:1.20 src/sys/lib/libsa/bootparam.c:1.21
--- src/sys/lib/libsa/bootparam.c:1.20	Sun Mar 31 16:08:45 2019
+++ src/sys/lib/libsa/bootparam.c	Tue Apr  2 18:25:10 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: bootparam.c,v 1.20 2019/03/31 20:08:45 christos Exp $	*/
+/*	$NetBSD: bootparam.c,v 1.21 2019/04/02 22:25:10 christos Exp $	*/
 
 /*
  * Copyright (c) 1995 Gordon W. Ross
@@ -61,7 +61,7 @@ n_short		bp_server_port;	/* net order */
 
 uint32_t	hostnamelen;
 char		domainname[FNAME_SIZE]; /* our DNS domain */
-int		domainnamelen;
+uint32_t	domainnamelen;
 
 /*
  * RPC definitions for bootparamd
@@ -247,7 +247,7 @@ bp_getfile(int sockfd, char *key, struct
 	char *send_tail, *recv_head;
 	/* misc... */
 	struct iodesc *d;
-	int sn_len, path_len;
+	uint32_t sn_len, path_len;
 	ssize_t rlen;
 
 	if (!(d = socktodesc(sockfd))) {
@@ -296,7 +296,7 @@ bp_getfile(int sockfd, char *key, struct
 	 */
 
 	/* server name */
-	sn_len = FNAME_SIZE-1;
+	sn_len = FNAME_SIZE - 1;
 	if (xdr_string_decode(_head, serv_name, _len)) {
 		RPC_PRINTF(("%s: bad server name\n", __func__));
 		return -1;
@@ -391,7 +391,7 @@ xdr_inaddr_encode(char **pkt, struct in_
 	xi->atype = htonl(1);
 	uia.l = ia.s_addr;
 	cp = uia.c;
-	ip = xi->addr;
+	ip = (uint32_t *)xi->addr;
 	/*
 	 * Note: the htonl() calls below DO NOT
 	 * imply that uia.l is in host order.
@@ -427,7 +427,7 @@ xdr_inaddr_decode(char **pkt, struct in_
 	}
 
 	cp = uia.c;
-	ip = xi->addr;
+	ip = (uint32_t *)xi->addr;
 	/*
 	 * Note: the ntohl() calls below DO NOT
 	 * imply that uia.l is in host order.

Index: src/sys/lib/libsa/ufs.c
diff -u src/sys/lib/libsa/ufs.c:1.75 src/sys/lib/libsa/ufs.c:1.76
--- src/sys/lib/libsa/ufs.c:1.75	Sun Mar 31 16:08:45 2019
+++ src/sys/lib/libsa/ufs.c	Tue Apr  2 18:25:10 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: ufs.c,v 1.75 2019/03/31 20:08:45 christos Exp $	*/
+/*	$NetBSD: ufs.c,v 1.76 2019/04/02 22:25:10 christos Exp $	*/
 
 /*-
  * Copyright (c) 1993
@@ -422,7 +422,7 @@ buf_read_file(struct open_file *f, char 
 	off = ufs_blkoff(fs, fp->f_seekp);
 	file_block = ufs_lblkno(fs, fp->f_seekp);
 #ifdef LIBSA_LFS
-	block_size = (size_t)dblksize(fs, >f_di, file_block);
+	block_size = (size_t)dblksize(fs, >f_di, (uint64_t)file_block);
 #else
 	block_size = (size_t)ffs_sblksize(fs, (int64_t)fp->f_di.di_size, file_block);
 #endif



CVS commit: src/external/gpl3/gcc

2019-04-02 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue Apr  2 21:29:46 UTC 2019

Modified Files:
src/external/gpl3/gcc: README.gcc7
src/external/gpl3/gcc/dist/libgcc: config.host
src/external/gpl3/gcc/lib/libgcc: Makefile.inc
src/external/gpl3/gcc/lib/libgcc/arch/ia64: defs.mk

Log Message:
make ia64 build with gcc7:
- catch up tmake_file list for ia64-netbsd to gcc 7 standards
- don't build the "tf" extra size version on ia64 like x86.
- regen mknative files


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gcc/README.gcc7
cvs rdiff -u -r1.22 -r1.23 src/external/gpl3/gcc/dist/libgcc/config.host
cvs rdiff -u -r1.39 -r1.40 src/external/gpl3/gcc/lib/libgcc/Makefile.inc
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk

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/gcc/README.gcc7
diff -u src/external/gpl3/gcc/README.gcc7:1.13 src/external/gpl3/gcc/README.gcc7:1.14
--- src/external/gpl3/gcc/README.gcc7:1.13	Mon Mar  4 01:16:33 2019
+++ src/external/gpl3/gcc/README.gcc7	Tue Apr  2 21:29:46 2019
@@ -1,4 +1,4 @@
-$NetBSD: README.gcc7,v 1.13 2019/03/04 01:16:33 mrg Exp $
+$NetBSD: README.gcc7,v 1.14 2019/04/02 21:29:46 mrg Exp $
 
 new stuff (from gcc 5):
 	cc1objcplus
@@ -39,9 +39,9 @@ earmv7		y	?	y	y		?		?	?	y
 earmv7eb	y	?	y	y		?		?	?	y
 earmv7hf	y	?	y	y		?		?	?	y
 earmv7hfeb	y	?	y	y		?		?	?	y
-hppa		y	y	y	y		y		?	?	y
+hppa		y	y	y	y		y		?	?	?
 i386		y	y	y	y		y		y	y	y
-ia64		y	?	?	y		n[2]		?	?	?
+ia64		y	y	y	y		y		?	?	?
 m68000		y	y	y	y		y		?	?	y
 m68k		y	y	y	y		y		y	?	y
 mipseb		y	y	y	y		y		?	?	y
@@ -64,7 +64,6 @@ coldfire	?	N/A	?	?		?		N/A	N/A
 	-	---	--	--			---
 architecture	tools	kernels	libgcc	native-gcc	make release	runs	atf
 
-[2] - libgcc_s.so: undefined reference to `__netf2'
 [3] - vax dynamic seems busted, but /rescue works
 [9] - /usr/src6/external/gpl3/gcc/dist/libgcc/libgcc2.c:2036:1: error: unrecognizable insn:
 

Index: src/external/gpl3/gcc/dist/libgcc/config.host
diff -u src/external/gpl3/gcc/dist/libgcc/config.host:1.22 src/external/gpl3/gcc/dist/libgcc/config.host:1.23
--- src/external/gpl3/gcc/dist/libgcc/config.host:1.22	Thu Feb  7 10:45:48 2019
+++ src/external/gpl3/gcc/dist/libgcc/config.host	Tue Apr  2 21:29:46 2019
@@ -802,7 +802,7 @@ ia64*-*-linux*)
 	;;
 ia64*-*-netbsd*)
 	extra_parts="${extra_parts} crtfastmath.o"
-	tmake_file="${tmake_file} ia64/t-ia64 ia64/t-ia64-elf t-crtfm ia64/t-softfp t-softfp ia64/t-eh-ia64"
+	tmake_file="${tmake_file} ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat"
 	;;
 ia64*-*-hpux*)
 	tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux"

Index: src/external/gpl3/gcc/lib/libgcc/Makefile.inc
diff -u src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.39 src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.40
--- src/external/gpl3/gcc/lib/libgcc/Makefile.inc:1.39	Thu Jan 31 06:47:21 2019
+++ src/external/gpl3/gcc/lib/libgcc/Makefile.inc	Tue Apr  2 21:29:46 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile.inc,v 1.39 2019/01/31 06:47:21 mrg Exp $
+#	$NetBSD: Makefile.inc,v 1.40 2019/04/02 21:29:46 mrg Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -74,7 +74,9 @@ LIB2FUNCS_ALL+= \
 
 EXTRA_FUNC_SIZES=	sf df xf
 
-.if ${LIBGCC_MACHINE_ARCH} != "x86_64" && ${LIBGCC_MACHINE_ARCH} != "i386"
+.if ${LIBGCC_MACHINE_ARCH} != "x86_64" && \
+${LIBGCC_MACHINE_ARCH} != "i386" && \
+${LIBGCC_MACHINE_ARCH} != "ia64" &&
 EXTRA_FUNC_SIZES+=	tf
 .endif
 

Index: src/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk
diff -u src/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk:1.7 src/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk:1.8
--- src/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk:1.7	Mon Feb  4 02:58:40 2019
+++ src/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk	Tue Apr  2 21:29:46 2019
@@ -1,13 +1,13 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.97 2019/02/01 09:27:23 mrg Exp 
+# Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
 G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include 
 G_INTERNAL_CFLAGS=-g -O2 -O2  -DIN_GCC-W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include  -DHAVE_CC_TLS 
-G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/ia64/tf-signs.c 

CVS commit: src/external/bsd/jemalloc/include/jemalloc/internal

2019-04-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr  2 21:19:20 UTC 2019

Modified Files:
src/external/bsd/jemalloc/include/jemalloc/internal:
jemalloc_internal_defs.h

Log Message:
Vax ain't having any of that newfangled TLS crap (yet).


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.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/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h
diff -u src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.4 src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.5
--- src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h:1.4	Fri Mar 29 09:04:00 2019
+++ src/external/bsd/jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h	Tue Apr  2 17:19:20 2019
@@ -151,7 +151,9 @@
 /* #undef JEMALLOC_MUTEX_INIT_CB */
 
 /* Non-empty if the tls_model attribute is supported. */
+#ifndef __vax__
 #define JEMALLOC_TLS_MODEL __attribute__((tls_model("initial-exec")))
+#endif
 
 /*
  * JEMALLOC_DEBUG enables assertions and other sanity checks, and disables
@@ -233,7 +235,9 @@
 /* #undef JEMALLOC_RETAIN */
 
 /* TLS is used to map arenas and magazine caches to threads. */
+#ifndef __vax__
 #define JEMALLOC_TLS 
+#endif
 
 /*
  * Used to mark unreachable code to quiet "end of non-void" compiler warnings.



CVS commit: src/sys/arch/arm/arm

2019-04-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Apr  2 20:00:36 UTC 2019

Modified Files:
src/sys/arch/arm/arm: armv6_start.S

Log Message:
Whitespace police


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/arm/arm/armv6_start.S

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

Modified files:

Index: src/sys/arch/arm/arm/armv6_start.S
diff -u src/sys/arch/arm/arm/armv6_start.S:1.8 src/sys/arch/arm/arm/armv6_start.S:1.9
--- src/sys/arch/arm/arm/armv6_start.S:1.8	Sat Feb  9 07:20:21 2019
+++ src/sys/arch/arm/arm/armv6_start.S	Tue Apr  2 20:00:36 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: armv6_start.S,v 1.8 2019/02/09 07:20:21 skrll Exp $	*/
+/*	$NetBSD: armv6_start.S,v 1.9 2019/04/02 20:00:36 jmcneill Exp $	*/
 
 /*-
  * Copyright (c) 2012, 2017, 2018 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
 #define START_CONSADDR	CONADDR
 #endif
 
-#if defined( VERBOSE_INIT_ARM)
+#if defined(VERBOSE_INIT_ARM)
 #define XPUTC(n)	mov r0, n; bl uartputc
 #define VPRINTF(string)	bl generic_vprint; .asciz string; .align 2
 #define VPRINTX(regno)	mov r0, regno; bl generic_printx



CVS commit: src/external/gpl3/gdb/lib/libgdb/arch/vax

2019-04-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr  2 14:17:56 UTC 2019

Modified Files:
src/external/gpl3/gdb/lib/libgdb/arch/vax: defs.mk init.c
src/external/gpl3/gdb/lib/libgdb/arch/vax/build-gnulib: config.h

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/external/gpl3/gdb/lib/libgdb/arch/vax/defs.mk
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gdb/lib/libgdb/arch/vax/init.c
cvs rdiff -u -r1.6 -r1.7 \
src/external/gpl3/gdb/lib/libgdb/arch/vax/build-gnulib/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/lib/libgdb/arch/vax/defs.mk
diff -u src/external/gpl3/gdb/lib/libgdb/arch/vax/defs.mk:1.12 src/external/gpl3/gdb/lib/libgdb/arch/vax/defs.mk:1.13
--- src/external/gpl3/gdb/lib/libgdb/arch/vax/defs.mk:1.12	Thu Nov 30 10:26:57 2017
+++ src/external/gpl3/gdb/lib/libgdb/arch/vax/defs.mk	Tue Apr  2 10:17:55 2019
@@ -1,7 +1,7 @@
 # This file is automatically generated.  DO NOT EDIT!
 # Generated from: NetBSD: mknative-gdb,v 1.7 2016/10/16 04:37:42 mrg Exp 
-# Generated from: NetBSD: mknative.common,v 1.15 2017/11/29 03:32:28 christos Exp 
+# Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
 G_INTERNAL_CFLAGS=   -I. -I${GNUHOSTDIST}/gdb -I${GNUHOSTDIST}/gdb/common -I${GNUHOSTDIST}/gdb/config -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I${GNUHOSTDIST}/gdb/../include/opcode -I${GNUHOSTDIST}/gdb/../opcodes/.. -I${GNUHOSTDIST}/gdb/../readline/.. -I${GNUHOSTDIST}/gdb/../zlib -I../bfd -I${GNUHOSTDIST}/gdb/../bfd -I${GNUHOSTDIST}/gdb/../include -I../libdecnumber -I${GNUHOSTDIST}/gdb/../libdecnumber -I./../intl -I${GNUHOSTDIST}/gdb/gnulib/import -Ibuild-gnulib/import   -DTUI=1  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-narrowing -Wformat-nonliteral 
-G_LIBGDB_OBS=vax-tdep.o solib-svr4.o ser-base.o ser-unix.o ser-pipe.o ser-tcp.o fork-child.o inf-ptrace.o nbsd-nat.o vax-bsd-nat.o bsd-kvm.o ax-gdb.o ax-general.o ctf.o dcache.o remote.o remote-fileio.o remote-notif.o tracefile.o tracefile-tfile.o tracepoint.o  cli-cmds.o cli-decode.o cli-dump.o cli-interp.o cli-logging.o cli-script.o cli-setshow.o cli-utils.o mi-cmd-break.o mi-cmd-catch.o mi-cmd-disas.o mi-cmd-env.o mi-cmd-file.o mi-cmd-info.o mi-cmd-stack.o mi-cmd-target.o mi-cmd-var.o mi-cmds.o mi-console.o mi-getopt.o mi-interp.o mi-main.o mi-out.o mi-parse.o mi-symbol-cmds.o tui.o tui-command.o tui-data.o tui-disasm.o tui-file.o tui-hooks.o tui-interp.o tui-io.o tui-layout.o tui-out.o tui-regs.o tui-source.o tui-stack.o tui-win.o tui-windata.o tui-wingeneral.o tui-winsource.o python.o guile.o elfread.o stap-probe.o dtrace-probe.o posix-hdep.o posix-strerror.o ada-exp.o c-exp.o cp-name-parser.o d-exp.o f-exp.o go-exp.o m2-exp.o p-exp.o rust-exp.o ada-lang.o ada-tasks.o ada-typep
 rint.o ada-valprint.o ada-varobj.o addrmap.o agent.o annotate.o arch-utils.o auto-load.o auxv.o bcache.o bfd-target.o block.o blockframe.o break-catch-sig.o break-catch-syscall.o break-catch-throw.o breakpoint.o btrace.o btrace-common.o buffer.o build-id.o buildsym.o c-lang.o c-typeprint.o c-valprint.o c-varobj.o charset.o cleanups.o cli-out.o coff-pe-read.o coffread.o common-agent.o common-debug.o common-exceptions.o common-regcache.o common-utils.o complaints.o completer.o continuations.o copying.o corefile.o corelow.o cp-abi.o cp-namespace.o cp-support.o cp-valprint.o d-lang.o d-namespace.o d-valprint.o dbxread.o debug.o demangle.o dfp.o dictionary.o disasm.o disasm-selftests.o doublest.o dummy-frame.o dwarf2-frame.o dwarf2-frame-tailcall.o dwarf2expr.o dwarf2loc.o dwarf2read.o environ.o errors.o eval.o event-loop.o event-top.o exceptions.o exec.o expprint.o extension.o f-lang.o f-typeprint.o f-valprint.o fileio.o filestuff.o filesystem.o findcmd.o findvar.o format.o frame.o fram
 e-base.o frame-unwind.o gcore.o gdb_bfd.o gdb-dlfcn.o gdb_obstack.o gdb_usleep.o gdb_vecs.o gdbarch.o gdbtypes.o gnu-v2-abi.o gnu-v3-abi.o go-lang.o go-typeprint.o go-valprint.o inf-child.o inf-loop.o infcall.o infcmd.o inferior.o infrun.o inline-frame.o interps.o jit.o language.o linespec.o location.o m2-lang.o m2-typeprint.o m2-valprint.o macrocmd.o macroexp.o macroscope.o macrotab.o main.o maint.o mdebugread.o mem-break.o memattr.o memory-map.o memrange.o mi-common.o minidebug.o minsyms.o mipsread.o namespace.o new-op.o objc-lang.o objfiles.o observer.o opencl-lang.o osabi.o osdata.o p-lang.o p-typeprint.o p-valprint.o parse.o print-utils.o printcmd.o probe.o progspace.o prologue-value.o psymtab.o ptid.o record.o record-btrace.o record-full.o regcache.o reggroups.o registry.o reverse.o rsp-low.o run-time-clock.o rust-lang.o selftest.o selftest-arch.o sentinel-frame.o ser-event.o serial.o signals.o signals-state-save-restore.o 

CVS commit: src/external/gpl3/gdb/dist/gdb/config/vax

2019-04-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue Apr  2 14:17:36 UTC 2019

Modified Files:
src/external/gpl3/gdb/dist/gdb/config/vax: nbsdelf.mh

Log Message:
add a missing file


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/gdb/dist/gdb/config/vax/nbsdelf.mh

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/config/vax/nbsdelf.mh
diff -u src/external/gpl3/gdb/dist/gdb/config/vax/nbsdelf.mh:1.5 src/external/gpl3/gdb/dist/gdb/config/vax/nbsdelf.mh:1.6
--- src/external/gpl3/gdb/dist/gdb/config/vax/nbsdelf.mh:1.5	Thu Nov 30 10:26:55 2017
+++ src/external/gpl3/gdb/dist/gdb/config/vax/nbsdelf.mh	Tue Apr  2 10:17:36 2019
@@ -1,4 +1,5 @@
 # Host: NetBSD/vax ELF
-NATDEPFILES= fork-child.o inf-ptrace.o nbsd-nat.o vax-bsd-nat.o bsd-kvm.o
+NATDEPFILES= fork-child.o inf-ptrace.o nbsd-nat.o vax-bsd-nat.o bsd-kvm.o \
+	vax-nbsd-tdep.o
 
 LOADLIBES= -lkvm



CVS commit: src/doc

2019-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  2 11:43:50 UTC 2019

Modified Files:
src/doc: TODO.npf

Log Message:
The case for PF was handled some time ago and pulled up to netbsd-8.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/doc/TODO.npf

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

Modified files:

Index: src/doc/TODO.npf
diff -u src/doc/TODO.npf:1.5 src/doc/TODO.npf:1.6
--- src/doc/TODO.npf:1.5	Wed Aug  1 08:54:48 2018
+++ src/doc/TODO.npf	Tue Apr  2 11:43:50 2019
@@ -8,7 +8,7 @@ Another TODO list is available here:
 
 -- add more examples
 
--- modify the doc of IPF and PF to indicate they are deprecated, and that
+-- modify the doc of IPF to indicate it is deprecated, and that
NPF should be used instead
 
 == NPFCTL ==



CVS commit: src/share/misc

2019-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  2 11:33:15 UTC 2019

Modified Files:
src/share/misc: acronyms.comp

Log Message:
CDL, LBNF, TBNF


To generate a diff of this commit:
cvs rdiff -u -r1.240 -r1.241 src/share/misc/acronyms.comp

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

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.240 src/share/misc/acronyms.comp:1.241
--- src/share/misc/acronyms.comp:1.240	Tue Apr  2 11:26:53 2019
+++ src/share/misc/acronyms.comp	Tue Apr  2 11:33:15 2019
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.240 2019/04/02 11:26:53 sevan Exp $
+$NetBSD: acronyms.comp,v 1.241 2019/04/02 11:33:15 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -207,6 +207,7 @@ CCNUMA	cache-coherent non-uniform memory
 CD	cache disable
 CD	compact disc
 CDDA	compact disc digital audio
+CDL	compiler description language
 CDMA	code division multiple access
 CDP	Cisco Discovery Protocol
 CDRAM	cache dynamic random access memory
@@ -752,6 +753,7 @@ LAN	local area network
 LAPIC	local advanced programmable interrupt controller
 LAR	load access rights
 LBA	logical block addressing
+LBNF	labeled backus-naur form
 LBS	location-based service
 LCD	liquid crystal display
 LCP	link control protocol
@@ -1430,6 +1432,7 @@ TAOCP	The Art of Computer Programming
 TAP	Test Anything Protocol
 TAS	test and set
 TB	terabyte
+TBNF	transitional backus-naur form
 TCB	trace capture buffer
 TCB	trusted computing base
 TCC	thermal control circuit



CVS commit: src/share/misc

2019-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  2 11:26:53 UTC 2019

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add RBNF


To generate a diff of this commit:
cvs rdiff -u -r1.239 -r1.240 src/share/misc/acronyms.comp

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

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.239 src/share/misc/acronyms.comp:1.240
--- src/share/misc/acronyms.comp:1.239	Tue Apr  2 11:25:15 2019
+++ src/share/misc/acronyms.comp	Tue Apr  2 11:26:53 2019
@@ -1,4 +1,4 @@
-$NetBSD: acronyms.comp,v 1.239 2019/04/02 11:25:15 sevan Exp $
+$NetBSD: acronyms.comp,v 1.240 2019/04/02 11:26:53 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
@@ -1184,6 +1184,7 @@ RAS	remote access service
 RAS	restartable atomic sequence
 RAS	row address strobe
 RBF	radial basis function
+RBNF	routing backus-naur form
 RBT	red-black tree
 RC	release candidate
 RC	remote control



CVS commit: src/share/misc

2019-04-02 Thread Sevan Janiyan
Module Name:src
Committed By:   sevan
Date:   Tue Apr  2 11:25:15 UTC 2019

Modified Files:
src/share/misc: acronyms.comp

Log Message:
Add ABNF and EBNF


To generate a diff of this commit:
cvs rdiff -u -r1.238 -r1.239 src/share/misc/acronyms.comp

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

Modified files:

Index: src/share/misc/acronyms.comp
diff -u src/share/misc/acronyms.comp:1.238 src/share/misc/acronyms.comp:1.239
--- src/share/misc/acronyms.comp:1.238	Tue Apr  2 00:48:10 2019
+++ src/share/misc/acronyms.comp	Tue Apr  2 11:25:15 2019
@@ -1,10 +1,11 @@
-$NetBSD: acronyms.comp,v 1.238 2019/04/02 00:48:10 uwe Exp $
+$NetBSD: acronyms.comp,v 1.239 2019/04/02 11:25:15 sevan Exp $
 3WHS	three-way handshake
 8VSB	8-state vestigial side band modulation
 AA	anti-aliasing
 AAA	authentication, authorization, [and] accounting
 AAT	average access time
 ABI	application binary interface
+ABNF	augmented backus-naur form
 ABR	available bit rate
 ABRT	automatic bug reporting tool
 AC	alternating current
@@ -436,6 +437,7 @@ EAP	Extensible Authentication Protocol
 EAPOL	EAP over Lan
 EBCDIC	Extended Binary Coded Decimal Interchange Code
 EBDA	Extended BIOS Data Area
+EBNF	extended backus-naur form
 EBR	extended boot record
 EC	elliptic curve
 ECC	elliptic curve cryptography



CVS commit: src/distrib/utils/embedded/files

2019-04-02 Thread Jared D. McNeill
Module Name:src
Committed By:   jmcneill
Date:   Tue Apr  2 10:00:32 UTC 2019

Modified Files:
src/distrib/utils/embedded/files: armv7_boot.cmd

Log Message:
Turn off efiboot until we figure out why it fails on some boards.


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/distrib/utils/embedded/files/armv7_boot.cmd

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

Modified files:

Index: src/distrib/utils/embedded/files/armv7_boot.cmd
diff -u src/distrib/utils/embedded/files/armv7_boot.cmd:1.12 src/distrib/utils/embedded/files/armv7_boot.cmd:1.13
--- src/distrib/utils/embedded/files/armv7_boot.cmd:1.12	Sat Mar 30 13:37:45 2019
+++ src/distrib/utils/embedded/files/armv7_boot.cmd	Tue Apr  2 10:00:32 2019
@@ -2,19 +2,59 @@ if test "${board}" = "am335x" ; then
 	setenv kernel netbsd-BEAGLEBONE.ub
 	setenv mmcpart 0:1
 	setenv bootargs root=ld0a
-else
-	setenv use_efi 1
 fi
-
+if test "${board}" = "de0-nano-soc" ; then
+	setenv kernel netbsd-GENERIC.ub
+	setenv bootargs 'root=ld0a'
+	setenv mmcpart 0:1
+	setenv use_fdt 1
+fi
+if test "${soc}" = "exynos" ; then
+	setenv kernel netbsd-GENERIC.ub
+	setenv bootargs 'root=ld1a'
+	setenv mmcpart 2:1
+	setenv use_fdt 1
+fi
+if test "${soc}" = "sunxi" ; then
+	setenv kernel netbsd-GENERIC.ub
+	setenv bootargs 'root=ld0a'
+	setenv mmcpart 0:1
+	setenv use_fdt 1
+fi
+if test "${soc}" = "tegra" ; then
+	setenv kernel netbsd-GENERIC.ub
+	setenv bootargs root=ld1a
+	setenv mmcpart 1:1
+	setenv use_fdt 1
+fi
+if test "${soc}" = "tegra124" ; then
+	setenv kernel netbsd-GENERIC.ub
+	setenv bootargs root=ld0a
+	setenv mmcpart 1:1
+	setenv use_fdt 1
+fi
 if test "${soc}" = "tegra210" ; then
+	setenv kernel netbsd-GENERIC.ub
+	setenv bootargs root=ld0a
+	setenv mmcpart 1:1
+	setenv use_fdt 1
+	setenv fdtfile ${soc}-${board}.dtb
 	# enable PCIe
 	pci enum
 fi
 
-if test "${use_efi}" = "1" ; then
-	setenv boot_scripts
-	setenv boot_script_dhcp
-	run distro_bootcmd
+if test "${kernel}" = "" ; then
+	echo '>>>'
+	echo '>>> Target device is not supported by this script.'
+	echo '>>>'
+	exit
+fi
+
+if test "${use_fdt}" = "1" ; then
+	fatload mmc ${mmcpart} ${kernel_addr_r} ${kernel}
+	fatload mmc ${mmcpart} ${fdt_addr_r} ${fdtfile}
+	fdt addr ${fdt_addr_r}
+	bootm ${kernel_addr_r} - ${fdt_addr_r}
 else
 	fatload mmc ${mmcpart} ${kernel_addr_r} ${kernel}
 	bootm ${kernel_addr_r} ${bootargs}