Skip to contentSkip to conversation

mdb: debugger KConfig material

PATCH In review [email protected] 1 participant 1 message Aug 16, 2008 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 27/28 mdb: debugger KConfig material

add debugger KConfig materials.

lib/Kconfig.debug +33 -0
@@ -134,6 +134,39 @@
 	  Say Y here if you are developing drivers or trying to debug and
 	  identify kernel problems.
 
+config MDB
+	tristate "Merkey's Kernel Debugger"
+	depends on DEBUG_KERNEL
+	select KALLSYMS
+	select KALLSYMS_ALL
+	default m
+	help
+           Kernel Debugger for Linux written by Jeffrey Vernon
+	    Merkey.  The [Pause/Break] keystroke will activate the debugger
+           from the text based Linux Console, X is not supported.  
+           This debugger is minimal and text based.  Excellent help can 
+           be obtained from the debugger by typing "Help Help" or 
+           "help" from the debugger command console.  If you compiled 
+           MDB as a module you may need to load the debugger with 
+           the 'modprobe mdb' before you can access the debugger 
+           from the Linux Console.  
+
+config MDB_CONSOLE_REDIRECTION
+	bool "MDB Console Redirection Support"
+	depends on MDB
+	default y
+	help
+           Reset any Console Redirection to default system settings (0)
+           when the MDB debugger is active.  The Debugger will restore
+           the redirection to the custom settings when the debugger
+           is exited.  This feature is useful on systems which by default
+           redirect printk output and the screen debugger output to a log
+           file or system device, which can prevent the debugger screen from
+           being visible.  Enabling this feature does not affect or disable
+           remote operations via serial port.  It is recommended to enable
+           this feature by default if intensive debugging is intended for
+           the target system.
+
 config DEBUG_SHIRQ
 	bool "Debug shared IRQ handlers"
 	depends on DEBUG_KERNEL && GENERIC_HARDIRQS