From 1b96f160727cb5c909f2e158ac85a32d1767c0bc Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Thu, 29 May 2003 14:41:54 +0000 Subject: Add kern.splassert=3. deraadt@ ok. --- sys/kern/subr_prf.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index bc1b60e9355..7294ec862ee 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prf.c,v 1.53 2003/05/27 21:03:49 henning Exp $ */ +/* $OpenBSD: subr_prf.c,v 1.54 2003/05/29 14:41:53 ho Exp $ */ /* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */ /*- @@ -240,6 +240,12 @@ splassert_fail(int wantipl, int haveipl, const char *func) case 2: #ifdef DDB db_stack_dump(); +#endif + break; + case 3: +#ifdef DDB + db_stack_dump(); + Debugger(); #endif break; default: -- cgit v1.2.3