diff options
author | gpalmer <gpalmer@FreeBSD.org> | 1996-02-28 21:42:15 +0000 |
---|---|---|
committer | gpalmer <gpalmer@FreeBSD.org> | 1996-02-28 21:42:15 +0000 |
commit | 1dec7bc8c62c5a84a1a6aa5fa2cd0d0e41af3bd0 (patch) | |
tree | a4bb0535e0edfdec311384ed23f8fc6d408ac997 /sys/kern/subr_prf.c | |
parent | 8dc4ec2da7d5b46c1a56e3247974abb9cdce0376 (diff) | |
download | FreeBSD-src-1dec7bc8c62c5a84a1a6aa5fa2cd0d0e41af3bd0.zip FreeBSD-src-1dec7bc8c62c5a84a1a6aa5fa2cd0d0e41af3bd0.tar.gz |
Add a new option: DDB_UNATTENDED. Stops machine dropping into DDB
when it panics, but leaving activation of DDB from the console
unaffected.
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index 7f0458d..d1d396a 100644 --- a/sys/kern/subr_prf.c +++ b/sys/kern/subr_prf.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)subr_prf.c 8.3 (Berkeley) 1/21/94 - * $Id: subr_prf.c,v 1.28 1996/01/25 00:17:22 bde Exp $ + * $Id: subr_prf.c,v 1.29 1996/01/29 03:18:05 gibbs Exp $ */ #include "opt_ddb.h" @@ -120,8 +120,10 @@ panic(const char *fmt, ...) kdbpanic(); #endif #ifdef DDB +#ifndef DDB_UNATTENDED Debugger ("panic"); #endif +#endif boot(bootopt); } |