diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2010-03-01 04:57:34 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-03-09 11:57:10 +1100 |
commit | 30124d11097e371e42052144d8a3f4a78d26e09f (patch) | |
tree | b37404e0b2c653c099401eea7e9bc988eaa84bb1 /arch/powerpc/kernel/module.c | |
parent | a8e6da093ea8642b1320fb5d64134366f2a8d0ac (diff) |
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/kernel/module.c')
0 files changed, 0 insertions, 0 deletions