aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kdb.h
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2008-05-23 04:00:44 +0000
committerJohn Birrell <jb@FreeBSD.org>2008-05-23 04:00:44 +0000
commit238d4dad3f793843bec332ab955e53206c07f7a7 (patch)
treed8efff3a610843139f9f4b1694d6ca36a89d06db /sys/sys/kdb.h
parent4978b9f13cb87a3ad6b377439afef7e15ada1430 (diff)
downloadsrc-238d4dad3f793843bec332ab955e53206c07f7a7.tar.gz
src-238d4dad3f793843bec332ab955e53206c07f7a7.zip
DTrace can enter the debugger from a probe. Add a WHY definition for this.
Notes
Notes: svn path=/head/; revision=179228
Diffstat (limited to 'sys/sys/kdb.h')
-rw-r--r--sys/sys/kdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/kdb.h b/sys/sys/kdb.h
index c162852c0acf..9685d77c042f 100644
--- a/sys/sys/kdb.h
+++ b/sys/sys/kdb.h
@@ -106,6 +106,7 @@ extern const char * volatile kdb_why;
#define KDB_WHY_MAC "mac" /* MAC Framework. */
#define KDB_WHY_POWERPC "powerpc" /* Unhandled powerpc intr. */
#define KDB_WHY_UNIONFS "unionfs" /* Unionfs bug. */
+#define KDB_WHY_DTRACE "dtrace" /* DTrace action entered debugger. */
/* Return values for kdb_alt_break */
#define KDB_REQ_DEBUGGER 1 /* User requested Debugger */