mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: jmerkey@wolfmountaingroup.com
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2.6.27-rc4 26/27] mdb: add Kconfig.debug sections and documentation
Date: Wed, 20 Aug 2008 20:50:37 -0600	[thread overview]
Message-ID: <200808210250.m7L2obvH028351@wolfmountaingroup.com> (raw)

add Kconfig.debug sections and documentation 

add help sections for MAGIC_SYSRQ keyboard support.


Signed-off-by: Jeffrey Vernon Merkey (jmerkey@wolfmountaingroup.com)

--- a/lib/Kconfig.debug	2008-08-19 14:10:50.000000000 -0600
+++ b/lib/Kconfig.debug	2008-08-19 21:59:34.000000000 -0600
@@ -134,6 +134,43 @@
 	  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 MAGIC_SYSRQ
+	select KALLSYMS
+	select KALLSYMS_ALL
+	default m
+	help
+           Kernel Debugger for Linux written by Jeffrey Vernon
+           Merkey.  'echo j > /proc/sysrq-trigger' will activate the
+           debugger from the text based Linux Console, and the 'j'
+           character (alt-printscreen/sysrq + 'j') with MAGIC_SYSRQ
+           enabled to enter the debugger.  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.  To enable the MAGIC-SYSRQ key
+           type 'echo 1 > /proc/sys/kernel/sysrq'.
+
+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

                 reply	other threads:[~2008-08-21  3:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200808210250.m7L2obvH028351@wolfmountaingroup.com \
    --to=jmerkey@wolfmountaingroup.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®