]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit8a0e9acfd153cf5c726f010b075a3d4d55f80895
tree8ba08c1f2ae8c13130ea1894035ffd42fa691a09
parent0b82e27444f4c186e931ecc97c9a8dae07128078
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