diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-11-28 12:53:55 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2017-11-28 12:53:55 +0000 |
commit | 212ff84f4a0e7ebe6bb2a141e29e0e66556acce5 (patch) | |
tree | 24a952bda6deb118ec0bd766fdc257073727a06e /sys/kern/subr_kdb.c | |
parent | be84f91cf4bf126f72771271e5ff462837d1bbd6 (diff) | |
download | src-test2-212ff84f4a0e7ebe6bb2a141e29e0e66556acce5.tar.gz src-test2-212ff84f4a0e7ebe6bb2a141e29e0e66556acce5.zip |
Notes
Diffstat (limited to 'sys/kern/subr_kdb.c')
-rw-r--r-- | sys/kern/subr_kdb.c | 11 |
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. */ |