svn commit: r285040 - head/sys/arm64/conf
Andrew Turner
andrew at FreeBSD.org
Thu Jul 2 14:35:31 UTC 2015
Author: andrew
Date: Thu Jul 2 14:35:30 2015
New Revision: 285040
URL: https://svnweb.freebsd.org/changeset/base/285040
Log:
Enable kernel debugging on arm64, other than GDB as it fails to build.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm64/conf/GENERIC
Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC Thu Jul 2 14:31:47 2015 (r285039)
+++ head/sys/arm64/conf/GENERIC Thu Jul 2 14:35:30 2015 (r285040)
@@ -69,6 +69,19 @@ options RACCT # Resource accounting f
options RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
options RCTL # Resource limits
+# Debugging support. Always need this:
+options KDB # Enable kernel debugger support.
+options KDB_TRACE # Print a stack trace for a panic.
+# For full debugger support use (turn off in stable branch):
+options DDB # Support DDB.
+#options GDB # Support remote GDB.
+options DEADLKRES # Enable the deadlock resolver
+options INVARIANTS # Enable calls of extra sanity checking
+options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS
+options WITNESS # Enable checks to detect deadlocks and cycles
+options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed
+options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones
+
device virtio
device virtio_mmio
device virtio_blk
More information about the svn-src-all
mailing list