linux/kernel/debug/kdb
Jason Wessel a37372f6c3 kdb: Prevent kernel oops with kdb_defcmd
The kdb_defcmd can only be used to display the available command aliases
while using the kernel debug shell.  If you try to define a new macro
while the kernel debugger is active it will oops.  The debug shell
macros must use pre-allocated memory set aside at the time kdb_init()
is run, and the kdb_defcmd is restricted to only working at the time
that the kdb_init sequence is being run, which only occurs if you
actually activate the kernel debugger.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2013-03-02 08:52:19 -06:00
..
.gitignore
kdb_bp.c kdb: Add message about CONFIG_DEBUG_RODATA on failure to install breakpoint 2012-03-22 15:07:16 -05:00
kdb_bt.c kdb: Fix dmesg/bta scroll to quit with 'q' 2012-10-12 06:37:35 -05:00
kdb_cmds kdb: cleanup unused variables missed in the original kdb merge 2011-08-01 13:23:58 -05:00
kdb_debugger.c kdb: Setup basic kdb state before invoking commands via kgdb 2013-03-02 08:52:17 -06:00
kdb_io.c kdb,vt_console: Fix missed data due to pager overruns 2012-10-12 06:37:35 -05:00
kdb_keyboard.c KDB: Fix usability issues relating to the 'enter' key. 2012-03-22 15:07:15 -05:00
kdb_main.c kdb: Prevent kernel oops with kdb_defcmd 2013-03-02 08:52:19 -06:00
kdb_private.h printk: Remove kdb_syslog_data 2012-07-21 10:34:00 -07:00
kdb_support.c kdb: remove the second argument of k[un]map_atomic() 2012-03-20 21:48:26 +08:00
Makefile kgdboc,keyboard: Keyboard driver for kdb with kgdb 2010-05-20 21:04:24 -05:00