summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>2010-03-01 07:57:34 +0300
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-03-09 03:57:10 +0300
commit30124d11097e371e42052144d8a3f4a78d26e09f (patch)
treeb37404e0b2c653c099401eea7e9bc988eaa84bb1 /drivers/power
parenta8e6da093ea8642b1320fb5d64134366f2a8d0ac (diff)
downloadlinux-30124d11097e371e42052144d8a3f4a78d26e09f.tar.xz
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 'drivers/power')
0 files changed, 0 insertions, 0 deletions