diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2011-05-24 10:43:06 -0500 |
---|---|---|
committer | Jason Wessel <jason.wessel@windriver.com> | 2011-08-01 13:23:59 -0500 |
commit | 37f86b469d73fc2f2a925536fb99b8f513f641b7 (patch) | |
tree | f3f5a0c9d360e0bca2a6184b7063a4ab746dc433 /kernel/irq_work.c | |
parent | d613d828e8987a1f794378022f900b454fa95403 (diff) |
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>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions