diff options
-rw-r--r-- | sys/kern/subr_prf.c | 8 |
1 files changed, 7 insertions, 1 deletions
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 $ */ /*- @@ -242,6 +242,12 @@ splassert_fail(int wantipl, int haveipl, const char *func) db_stack_dump(); #endif break; + case 3: +#ifdef DDB + db_stack_dump(); + Debugger(); +#endif + break; default: panic("spl assertion failure in %s", func); } |