aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>2010-03-01 04:57:34 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-03-09 11:57:10 +1100
commit30124d11097e371e42052144d8a3f4a78d26e09f (patch)
treeb37404e0b2c653c099401eea7e9bc988eaa84bb1 /arch/powerpc/include
parentpowerpc: Reduce printk from pseries_mach_cpu_die() (diff)
downloadlinux-dev-30124d11097e371e42052144d8a3f4a78d26e09f.tar.xz
linux-dev-30124d11097e371e42052144d8a3f4a78d26e09f.zip
powerpc/booke: Fix breakpoint/watchpoint one-shot behavior
Another fix for the extended ptrace patches in the -next tree. The handling of breakpoints and watchpoints is inconsistent. When a breakpoint or watchpoint is hit, the interrupt handler is clearing the proper bits in the dbcr* registers, but leaving the dac* and iac* registers alone. The ptrace code to delete the break/watchpoints checks the dac* and iac* registers for zero to determine if they are enabled. Instead, they should check the dbcr* bits. Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include')
0 files changed, 0 insertions, 0 deletions