2008-08-05 07:09:52

by Jeffrey V. Merkey

[permalink] [raw]
Subject: [PATCH 2.6.27-rc1-git5 25/26] mdb: add Kconfig.debug sections

Centralized external definitions into include files and corrected
the file to conform to Linux coding practices. fixed word wrap
problems with patches.

add the sections to configure and enable the debugger

Signed-off-by: Jeffrey Vernon Merkey ([email protected])

--- a/lib/Kconfig.debug 2008-08-04 15:53:44.000000000 -0600
+++ b/lib/Kconfig.debug 2008-08-04 15:49:51.000000000 -0600
@@ -134,6 +134,31 @@
Say Y here if you are developing drivers or trying to debug and
identify kernel problems.

+config MDB
+ bool "Merkey's Kernel Debugger"
+ depends on DEBUG_KERNEL
+ select KALLSYMS
+ select KALLSYMS_ALL
+ help
+ NetWare style kernel debugger for Linux written by Jeffrey Vernon
+ Merkey.
+
+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