Thanks for the report Michael, and sorry about the breakage.  I
believe this patch should fix the build, and I am testing it now:

--- sys/kern/kern_sysctl.c      (revision 350714)
+++ sys/kern/kern_sysctl.c      (working copy)
@@ -55,6 +55,7 @@
 #include <sys/priv.h>
 #include <sys/proc.h>
 #include <sys/jail.h>
+#include <sys/kdb.h>
 #include <sys/lock.h>
 #include <sys/mutex.h>
 #include <sys/rmlock.h>
@@ -67,7 +68,6 @@
 #endif

 #ifdef DDB
-#include <sys/kdb.h>
 #include <ddb/ddb.h>
 #include <ddb/db_lex.h>
 #endif

On Wed, Aug 7, 2019 at 6:23 PM Michael Butler
<i...@protected-networks.net> wrote:
>
> As follows ..
>
> --- kern_sysctl.o ---
> /usr/src/sys/kern/kern_sysctl.c:1623:19: error: use of undeclared
> identifier 'kdb_active'
>         if (arg2 == 0 || kdb_active) {
>                          ^
> 1 error generated.
> *** [kern_sysctl.o] Error code 1
>
>         imb
>
>
_______________________________________________
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to