Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jul 2015 14:35:31 +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: r285040 - head/sys/arm64/conf
Message-ID:  <201507021435.t62EZVBk082001@repo.freebsd.org>

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



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