Bill Fenner <fenner@parc.xerox.com> comes up with a better fix to the
debugger_on_panic stuff.
This commit is contained in:
parent
86f3f18b7f
commit
2f862644fc
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user