svn commit: r305771 - in head/sys: arm64/include conf

Andrew Turner andrew at FreeBSD.org
Tue Sep 13 15:45:24 UTC 2016


Author: andrew
Date: Tue Sep 13 15:45:22 2016
New Revision: 305771
URL: https://svnweb.freebsd.org/changeset/base/305771

Log:
  Fix the arm64 kernel build when DDB is disabled, debug_monitor.c depends on
  DDB, and is unused when it's disabled.
  
  Obtained from:	ABT Systems Ltd
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm64/include/debug_monitor.h
  head/sys/conf/files.arm64

Modified: head/sys/arm64/include/debug_monitor.h
==============================================================================
--- head/sys/arm64/include/debug_monitor.h	Tue Sep 13 15:41:05 2016	(r305770)
+++ head/sys/arm64/include/debug_monitor.h	Tue Sep 13 15:45:22 2016	(r305771)
@@ -32,7 +32,7 @@
 #ifndef _MACHINE_DEBUG_MONITOR_H_
 #define	_MACHINE_DEBUG_MONITOR_H_
 
-#ifdef KDB
+#ifdef DDB
 
 #include <machine/db_machdep.h>
 

Modified: head/sys/conf/files.arm64
==============================================================================
--- head/sys/conf/files.arm64	Tue Sep 13 15:41:05 2016	(r305770)
+++ head/sys/conf/files.arm64	Tue Sep 13 15:45:22 2016	(r305771)
@@ -62,7 +62,7 @@ arm64/arm64/cpufunc_asm.S	standard
 arm64/arm64/db_disasm.c		optional	ddb
 arm64/arm64/db_interface.c	optional	ddb
 arm64/arm64/db_trace.c		optional	ddb
-arm64/arm64/debug_monitor.c	optional	kdb
+arm64/arm64/debug_monitor.c	optional	ddb
 arm64/arm64/disassem.c		optional	ddb
 arm64/arm64/dump_machdep.c	standard
 arm64/arm64/elf_machdep.c	standard


More information about the svn-src-head mailing list