summaryrefslogtreecommitdiff
path: root/sys/kern/subr_kdb.c
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2017-11-28 12:53:55 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2017-11-28 12:53:55 +0000
commit212ff84f4a0e7ebe6bb2a141e29e0e66556acce5 (patch)
tree24a952bda6deb118ec0bd766fdc257073727a06e /sys/kern/subr_kdb.c
parentbe84f91cf4bf126f72771271e5ff462837d1bbd6 (diff)
downloadsrc-test2-212ff84f4a0e7ebe6bb2a141e29e0e66556acce5.tar.gz
src-test2-212ff84f4a0e7ebe6bb2a141e29e0e66556acce5.zip
Notes
Diffstat (limited to 'sys/kern/subr_kdb.c')
-rw-r--r--sys/kern/subr_kdb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c
index ec168590e0e9..1382af32d1d9 100644
--- a/sys/kern/subr_kdb.c
+++ b/sys/kern/subr_kdb.c
@@ -509,6 +509,17 @@ kdb_reenter(void)
/* NOTREACHED */
}
+void
+kdb_reenter_silent(void)
+{
+
+ if (!kdb_active || kdb_jmpbufp == NULL)
+ return;
+
+ longjmp(kdb_jmpbufp, 1);
+ /* NOTREACHED */
+}
+
/*
* Thread related support functions.
*/