Module Name: src Committed By: kamil Date: Sun Jan 15 21:42:03 UTC 2017
Modified Files: src/sys/sys: siginfo.h Log Message: Introduce TRAP_HWWPT in <sys/siginfo> for hw assisted watchpoints TRAP_HWWPT is si_code of SIGTRAP and it will be used for hardware assisted watchpoints (vel breakpoints). Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/sys/siginfo.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/sys/siginfo.h diff -u src/sys/sys/siginfo.h:1.29 src/sys/sys/siginfo.h:1.30 --- src/sys/sys/siginfo.h:1.29 Sat Jan 14 06:36:52 2017 +++ src/sys/sys/siginfo.h Sun Jan 15 21:42:03 2017 @@ -1,4 +1,4 @@ -/* $NetBSD: siginfo.h,v 1.29 2017/01/14 06:36:52 kamil Exp $ */ +/* $NetBSD: siginfo.h,v 1.30 2017/01/15 21:42:03 kamil Exp $ */ /*- * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -213,6 +213,7 @@ typedef union siginfo { #define TRAP_EXEC 3 /* Process exec trap */ #define TRAP_CHLD 4 /* Process child trap */ #define TRAP_LWP 5 /* Process lwp trap */ +#define TRAP_HWWPT 6 /* Process hardware assisted watchpoint */ /* SIGCHLD */ #define CLD_EXITED 1 /* Child has exited */