Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 03/05/2006 19:08:39
Module Name:	src
Committed By:	christos
Date:		Sun Mar  5 19:08:39 UTC 2006

Modified Files:
	src/sys/arch/alpha/alpha: linux_syscall.c osf1_syscall.c syscall.c
	src/sys/arch/amd64/amd64: linux32_syscall.c linux_syscall.c
	    netbsd32_syscall.c syscall.c
	src/sys/arch/arm/arm: linux_syscall.c syscall.c
	src/sys/arch/i386/i386: freebsd_syscall.c ibcs2_syscall.c
	    linux_syscall.c mach_syscall.c svr4_syscall.c syscall.c
	src/sys/arch/m68k/m68k: linux_syscall.c m68k_syscall.c sunos_syscall.c
	src/sys/arch/mips/mips: syscall.c
	src/sys/arch/powerpc/powerpc: syscall.c
	src/sys/arch/sh3/sh3: syscall.c
	src/sys/arch/sh5/sh5: syscall.c
	src/sys/arch/sparc/sparc: syscall.c
	src/sys/arch/sparc64/sparc64: syscall.c
	src/sys/sys: proc.h

Log Message:
Add a proc_is_traced_p() macro and use it, instead of copying the same code
in many places. Idea from thorpej.


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/sys/arch/alpha/alpha/linux_syscall.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/alpha/alpha/osf1_syscall.c
cvs rdiff -r1.19 -r1.20 src/sys/arch/alpha/alpha/syscall.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/amd64/amd64/linux32_syscall.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/amd64/amd64/linux_syscall.c
cvs rdiff -r1.9 -r1.10 src/sys/arch/amd64/amd64/netbsd32_syscall.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/amd64/amd64/syscall.c
cvs rdiff -r1.15 -r1.16 src/sys/arch/arm/arm/linux_syscall.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/arm/arm/syscall.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/i386/i386/freebsd_syscall.c
cvs rdiff -r1.30 -r1.31 src/sys/arch/i386/i386/ibcs2_syscall.c
cvs rdiff -r1.34 -r1.35 src/sys/arch/i386/i386/linux_syscall.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/i386/i386/mach_syscall.c
cvs rdiff -r1.29 -r1.30 src/sys/arch/i386/i386/svr4_syscall.c
cvs rdiff -r1.35 -r1.36 src/sys/arch/i386/i386/syscall.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/m68k/m68k/linux_syscall.c
cvs rdiff -r1.18 -r1.19 src/sys/arch/m68k/m68k/m68k_syscall.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/m68k/m68k/sunos_syscall.c
cvs rdiff -r1.25 -r1.26 src/sys/arch/mips/mips/syscall.c
cvs rdiff -r1.26 -r1.27 src/sys/arch/powerpc/powerpc/syscall.c
cvs rdiff -r1.3 -r1.4 src/sys/arch/sh3/sh3/syscall.c
cvs rdiff -r1.16 -r1.17 src/sys/arch/sh5/sh5/syscall.c
cvs rdiff -r1.6 -r1.7 src/sys/arch/sparc/sparc/syscall.c
cvs rdiff -r1.12 -r1.13 src/sys/arch/sparc64/sparc64/syscall.c
cvs rdiff -r1.214 -r1.215 src/sys/sys/proc.h

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