ok?
Index: arch/alpha/alpha/machdep.c
===================================================================
RCS file: /cvs/src/sys/arch/alpha/alpha/machdep.c,v
retrieving revision 1.177
diff -u -p -r1.177 machdep.c
--- arch/alpha/alpha/machdep.c 13 Jan 2017 09:18:11 -0000 1.177
+++ arch/alpha/alpha/machdep.c 27 Apr 2017 05:05:06 -0000
@@ -684,9 +684,6 @@ nobootinfo:
* Look at arguments passed to us and compute boothowto.
*/
-#ifdef KADB
- boothowto |= RB_KDB;
-#endif
for (p = bootinfo.boot_flags; p && *p != '\0'; p++) {
/*
* Note that we'd really like to differentiate case here,
Index: kern/subr_prf.c
===================================================================
RCS file: /cvs/src/sys/kern/subr_prf.c,v
retrieving revision 1.88
diff -u -p -r1.88 subr_prf.c
--- kern/subr_prf.c 20 Apr 2017 14:13:00 -0000 1.88
+++ kern/subr_prf.c 27 Apr 2017 05:05:22 -0000
@@ -205,10 +205,6 @@ panic(const char *fmt, ...)
#ifdef KGDB
kgdb_panic();
#endif
-#ifdef KADB
- if (boothowto & RB_KDB)
- kdbpanic();
-#endif
#ifdef DDB
if (db_panic)
Debugger();