[Blackfin] arch: fix bug - kgdb causing kernel panic
authorSonic Zhang <sonic.zhang@analog.com>
Wed, 26 Dec 2007 04:00:10 +0000 (12:00 +0800)
committerBryan Wu <bryan.wu@analog.com>
Wed, 26 Dec 2007 04:00:10 +0000 (12:00 +0800)
commitb39f4ce974114ce8960d8bfa063c1f61e29d67cf
tree1cd3070c59cf43ffbaff2d324d204a3085428e3f
parent76a7f4049277691b9b800a23dc09009374cdaa21
[Blackfin] arch: fix bug - kgdb causing kernel panic

ignore soft bp except when single step except occurs.
Narrow the condition to ignore soft bp.
If soft bp occurs in the single step handler or the soft bp handler,
return immediately. This could happen when gdb client set soft bps in
kernel code that in the path of kgdb core code.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>