Date: Wed, 26 Oct 2005 22:40:07 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_kdb.c Message-ID: <200510262240.j9QMe7l0011003@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2005-10-26 22:40:07 UTC FreeBSD src repository Modified files: sys/kern subr_kdb.c Log: Commit something we found useful at work at one point. Add sysctls for debug.kdb.panic and debug.kdb.trap alongside the existing debug.kdb.enter sysctl. 'panic' causes a panic, and 'trap' causes a page fault. We used these to ensure that crash dumps succeed from those two common failure modes. This avoids the need for creating a 'panic' kld module. Revision Changes Path 1.16 +40 -0 src/sys/kern/subr_kdb.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510262240.j9QMe7l0011003>