summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/conf/NOTES9
-rw-r--r--sys/i386/conf/LINT9
-rw-r--r--sys/i386/conf/NOTES9
-rw-r--r--sys/kern/subr_prf.c4
4 files changed, 27 insertions, 4 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 78f30ea..ce1bae2 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.239 1996/02/13 18:16:18 wollman Exp $
+# $Id: LINT,v 1.240 1996/02/23 15:47:41 phk Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -99,6 +99,13 @@ options SYSVMSG
#
options DDB
+#
+# Don't drop into DDB for a panic. Intended for unattended operation
+# where you may want to drop to DDB from the console, but still want
+# the machine to recover from a panic
+#
+options DDB_UNATTENDED
+
#
# KTRACE enables the system-call tracing facility ktrace(2).
#
diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT
index 78f30ea..ce1bae2 100644
--- a/sys/i386/conf/LINT
+++ b/sys/i386/conf/LINT
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.239 1996/02/13 18:16:18 wollman Exp $
+# $Id: LINT,v 1.240 1996/02/23 15:47:41 phk Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -99,6 +99,13 @@ options SYSVMSG
#
options DDB
+#
+# Don't drop into DDB for a panic. Intended for unattended operation
+# where you may want to drop to DDB from the console, but still want
+# the machine to recover from a panic
+#
+options DDB_UNATTENDED
+
#
# KTRACE enables the system-call tracing facility ktrace(2).
#
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 78f30ea..ce1bae2 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.239 1996/02/13 18:16:18 wollman Exp $
+# $Id: LINT,v 1.240 1996/02/23 15:47:41 phk Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -99,6 +99,13 @@ options SYSVMSG
#
options DDB
+#
+# Don't drop into DDB for a panic. Intended for unattended operation
+# where you may want to drop to DDB from the console, but still want
+# the machine to recover from a panic
+#
+options DDB_UNATTENDED
+
#
# KTRACE enables the system-call tracing facility ktrace(2).
#
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);
}
OpenPOWER on IntegriCloud