linux/kernel/debug/kdb
Jason Wessel 37f86b469d kdb,kgdb: Allow arbitrary kgdb magic knock sequences
The first packet that gdb sends when the kernel is in kdb mode seems
to change with every release of gdb.  Instead of continuing to add
many different gdb packets, change kdb to automatically look for any
thing that looks like a gdb packet.

Example 1 cold start test:
echo g > /proc/sysrq-trigger
$D#44+

Example 2 cold start test:
echo g > /proc/sysrq-trigger
$3#33

The second one should re-enter kdb's shell right away and is purely a
test.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
2011-08-01 13:23:59 -05:00
..
.gitignore kdb: core for kgdb back end (1 of 2) 2010-05-20 21:04:20 -05:00
kdb_bp.c gcc-4.6: kernel/*: Fix unused but set warnings 2010-09-05 14:36:58 +02:00
kdb_bt.c kdb: cleanup unused variables missed in the original kdb merge 2011-08-01 13:23:58 -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: Remove all references to DOING_KGDB2 2011-08-01 13:23:59 -05:00
kdb_io.c kdb,kgdb: Allow arbitrary kgdb magic knock sequences 2011-08-01 13:23:59 -05:00
kdb_keyboard.c kgdboc,keyboard: Keyboard driver for kdb with kgdb 2010-05-20 21:04:24 -05:00
kdb_main.c kdb: Remove all references to DOING_KGDB2 2011-08-01 13:23:59 -05:00
kdb_private.h kdb: Remove all references to DOING_KGDB2 2011-08-01 13:23:59 -05:00
kdb_support.c Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile kgdboc,keyboard: Keyboard driver for kdb with kgdb 2010-05-20 21:04:24 -05:00