Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 15:45:23 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r305771 - in head/sys: arm64/include conf
Message-ID:  <201609131545.u8DFjNmr031130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609131545.u8DFjNmr031130>