Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Introduce TRAP_HWWPT in <sys/siginfo> for hw assiste...



details:   https://anonhg.NetBSD.org/src/rev/67009b76e891
branches:  trunk
changeset: 820918:67009b76e891
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sun Jan 15 21:42:03 2017 +0000

description:
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>

diffstat:

 sys/sys/siginfo.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7a6cb296777d -r 67009b76e891 sys/sys/siginfo.h
--- a/sys/sys/siginfo.h Sun Jan 15 21:27:38 2017 +0000
+++ b/sys/sys/siginfo.h Sun Jan 15 21:42:03 2017 +0000
@@ -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 @@
 #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                     */



Home | Main Index | Thread Index | Old Index