]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin arch: Fix bug - hardware breakpoint doesn't always work in kgdb
authorSonic Zhang <sonic.zhang@analog.com>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:22 +0000 (17:48 +0800)
commitfc4b71d7047bc9301613e85f8708289981ca3df1
tree8ba08c1f2ae8c13130ea1894035ffd42fa691a09
parent20540c67f3409f243bfaf9ed985a61fd6670be56
Blackfin arch: Fix bug - hardware breakpoint doesn't always work in kgdb

Hardware breakpoint doesn't always work in kgdb. It works at the first
two times, but if you repeatedly trigger that hardware breakpoint, it
would slip over that point once in two times.

Fix it by always setting hw bp skip to 0. gdb does skip after hw bp trap.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/kernel/kgdb.c