diff options
author | jkh <jkh@FreeBSD.org> | 1996-03-25 17:06:34 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-03-25 17:06:34 +0000 |
commit | 2f862644fc587fdd7916d765092abe6590870b27 (patch) | |
tree | 08d16053109160a17435945ff940d8fcfe318dd8 /sys/kern/subr_prf.c | |
parent | 86f3f18b7fc8ed719290acb202c768de8b232943 (diff) | |
download | FreeBSD-src-2f862644fc587fdd7916d765092abe6590870b27.zip FreeBSD-src-2f862644fc587fdd7916d765092abe6590870b27.tar.gz |
Bill Fenner <fenner@parc.xerox.com> comes up with a better fix to the
debugger_on_panic stuff.
Diffstat (limited to 'sys/kern/subr_prf.c')
-rw-r--r-- | sys/kern/subr_prf.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c index a78470f..d6c6dfd 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.32 1996/03/23 21:23:43 jkh Exp $ + * $Id: subr_prf.c,v 1.33 1996/03/23 21:41:00 jkh Exp $ */ #include "opt_ddb.h" @@ -120,18 +120,19 @@ panic(const char *fmt, ...) va_end(ap); printf("\n"); -#if defined(KGDB) || defined(DDB) +#if defined(DDB) || defined (KGDB) if (debugger_on_panic) { +#ifdef KGDB kgdb_panic(); +#endif #ifdef DDB Debugger ("panic"); #endif } - boot(bootopt); #endif + boot(bootopt); } - /* * Warn that a system table is full. */ |