From 17255776e924012eecd9c284984570f7661baa2c Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Sat, 18 May 2002 18:33:43 +0000 Subject: dump the stack on splassert failure (XXX - need some kind of rate limiting). --- sys/kern/subr_prf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 1a1fcc106f8..c417e06e494 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_prf.c,v 1.42 2002/05/18 18:24:21 art Exp $ */ +/* $OpenBSD: subr_prf.c,v 1.43 2002/05/18 18:33:42 art Exp $ */ /* $NetBSD: subr_prf.c,v 1.45 1997/10/24 18:14:25 chuck Exp $ */ /*- @@ -238,7 +238,7 @@ splassert_fail(int wantipl, int haveipl, const char *func) panic("spl assertion failure in %s", func); } else { #ifdef DDB - /* Will print stack trace RSN. */ + db_stack_dump(); #endif } } -- cgit v1.2.3