summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
committerphk <phk@FreeBSD.org>1996-05-02 09:34:51 +0000
commit7bfc0101cb7b18e50bfb65137a0be725c51d26cb (patch)
treedc9ce6f01e6fe69eb3e4d0a274e9b8a8982294fc /sys/kern
parente4ee69bc24265771337795e724a2f50a50cbc78b (diff)
downloadFreeBSD-src-7bfc0101cb7b18e50bfb65137a0be725c51d26cb.zip
FreeBSD-src-7bfc0101cb7b18e50bfb65137a0be725c51d26cb.tar.gz
KGDB is dead. It may come back one day if somebody does it.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_prf.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index d6c6dfd..c718a65 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.33 1996/03/23 21:41:00 jkh Exp $
+ * $Id: subr_prf.c,v 1.34 1996/03/25 17:06:34 jkh Exp $
*/
#include "opt_ddb.h"
@@ -61,7 +61,7 @@
*/
#include <machine/stdarg.h>
-#if defined(DDB) || defined (KGDB)
+#if defined(DDB)
#ifdef DDB_UNATTENDED
static int debugger_on_panic = 0;
#else
@@ -120,16 +120,10 @@ panic(const char *fmt, ...)
va_end(ap);
printf("\n");
-#if defined(DDB) || defined (KGDB)
- if (debugger_on_panic) {
-#ifdef KGDB
- kgdb_panic();
-#endif
-#ifdef DDB
+#if defined(DDB)
+ if (debugger_on_panic)
Debugger ("panic");
#endif
- }
-#endif
boot(bootopt);
}
OpenPOWER on IntegriCloud