]> git.baikalelectronics.ru Git - kernel.git/commit
debug_core,kdb: fix crash when arch does not have single step
authorJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:25 +0000 (09:22 -0500)
committerJason Wessel <jason.wessel@windriver.com>
Thu, 5 Aug 2010 14:22:25 +0000 (09:22 -0500)
commit626c292faebb4b0b3a2eb112eca32e89fa10bc7f
tree83c6b8a61a1c8a8795504217518300417c49c6a6
parentbd85a26502109a326b1acca7337d1899c176e45f
debug_core,kdb: fix crash when arch does not have single step

When an arch such as mips and microblaze does not implement either HW
or software single stepping the debug core should re-enter kdb.  The
kdb code will properly ignore the single step operation.  Attempting
to single step the kernel without software or hardware support causes
unpredictable kernel crashes.

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
kernel/debug/debug_core.c