Mon Jun 22 14:57:52 2009 UTC ()
Enable ddb(4) for sparc GENERIC-like kernels.
Discussed on port-sparc@.


(tsutsui)
diff -r1.213 -r1.214 src/sys/arch/sparc/conf/GENERIC
diff -r1.49 -r1.50 src/sys/arch/sparc/conf/KRUPS
diff -r1.27 -r1.28 src/sys/arch/sparc/conf/MRCOFFEE
diff -r1.46 -r1.47 src/sys/arch/sparc/conf/TADPOLE3GX

cvs diff -r1.213 -r1.214 src/sys/arch/sparc/conf/GENERIC (expand / switch to context diff)
--- src/sys/arch/sparc/conf/GENERIC 2009/05/05 23:58:50 1.213
+++ src/sys/arch/sparc/conf/GENERIC 2009/06/22 14:57:52 1.214
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.213 2009/05/05 23:58:50 macallan Exp $
+# $NetBSD: GENERIC,v 1.214 2009/06/22 14:57:52 tsutsui Exp $
 #
 # GENERIC machine description file
 # 
@@ -22,7 +22,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"GENERIC-$Revision: 1.213 $"
+#ident 		"GENERIC-$Revision: 1.214 $"
 
 maxusers	32
 
@@ -113,8 +113,8 @@
 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
 ## serial console break or keyboard reset, where the PROM would normally
 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options 	DDB			# kernel dynamic debugger
-#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
+options 	DDB			# kernel dynamic debugger
+options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
 
 ## You may also use gdb, on another computer connected to this machine over

cvs diff -r1.49 -r1.50 src/sys/arch/sparc/conf/KRUPS (expand / switch to context diff)
--- src/sys/arch/sparc/conf/KRUPS 2009/03/06 20:31:52 1.49
+++ src/sys/arch/sparc/conf/KRUPS 2009/06/22 14:57:52 1.50
@@ -1,4 +1,4 @@
-# $NetBSD: KRUPS,v 1.49 2009/03/06 20:31:52 joerg Exp $
+# $NetBSD: KRUPS,v 1.50 2009/06/22 14:57:52 tsutsui Exp $
 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
 #
 # Krups (JavaStation-NC) machine description file
@@ -8,7 +8,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"KRUPS-$Revision: 1.49 $"
+#ident 		"KRUPS-$Revision: 1.50 $"
 
 maxusers	32
 
@@ -117,8 +117,8 @@
 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
 ## serial console break or keyboard reset, where the PROM would normally
 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options 	DDB			# kernel dynamic debugger
-#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
+options 	DDB			# kernel dynamic debugger
+options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
 
 ## You may also use gdb, on another computer connected to this machine over

cvs diff -r1.27 -r1.28 src/sys/arch/sparc/conf/MRCOFFEE (expand / switch to context diff)
--- src/sys/arch/sparc/conf/MRCOFFEE 2009/03/06 20:31:52 1.27
+++ src/sys/arch/sparc/conf/MRCOFFEE 2009/06/22 14:57:52 1.28
@@ -1,4 +1,4 @@
-# $NetBSD: MRCOFFEE,v 1.27 2009/03/06 20:31:52 joerg Exp $
+# $NetBSD: MRCOFFEE,v 1.28 2009/06/22 14:57:52 tsutsui Exp $
 # From: NetBSD: GENERIC,v 1.197 2006/12/04 23:43:35 elad Exp
 #
 # Mr.Coffee (JavaStation 1) machine description file
@@ -12,7 +12,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"MRCOFFEE-$Revision: 1.27 $"
+#ident 		"MRCOFFEE-$Revision: 1.28 $"
 
 maxusers	32
 
@@ -88,8 +88,8 @@
 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
 ## serial console break or keyboard reset, where the PROM would normally
 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options 	DDB			# kernel dynamic debugger
-#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
+options 	DDB			# kernel dynamic debugger
+options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
 
 ## You may also use gdb, on another computer connected to this machine over

cvs diff -r1.46 -r1.47 src/sys/arch/sparc/conf/TADPOLE3GX (expand / switch to context diff)
--- src/sys/arch/sparc/conf/TADPOLE3GX 2009/03/06 20:31:52 1.46
+++ src/sys/arch/sparc/conf/TADPOLE3GX 2009/06/22 14:57:52 1.47
@@ -1,4 +1,4 @@
-# 	$NetBSD: TADPOLE3GX,v 1.46 2009/03/06 20:31:52 joerg Exp $
+# 	$NetBSD: TADPOLE3GX,v 1.47 2009/06/22 14:57:52 tsutsui Exp $
 
 include "arch/sparc/conf/std.sparc"
 
@@ -81,8 +81,8 @@
 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
 ## serial console break or keyboard reset, where the PROM would normally
 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
-#options 	DDB			# kernel dynamic debugger
-#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
+options 	DDB			# kernel dynamic debugger
+options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
 
 ## You may also use gdb, on another computer connected to this machine over