diff options
author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | 2009-07-08 13:46:18 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-07-15 17:41:45 +1000 |
commit | 28477fb1ed1a00c67b382ae8f37f35708e3bf5dd (patch) | |
tree | 7dda6fa6262aa362175ffdb976da01d9aa7e0e68 /init | |
parent | e9e961c9a818a2f24711af493b907a8e40a69efc (diff) | |
download | op-kernel-dev-28477fb1ed1a00c67b382ae8f37f35708e3bf5dd.zip op-kernel-dev-28477fb1ed1a00c67b382ae8f37f35708e3bf5dd.tar.gz |
powerpc: Fix booke user_disable_single_step()
On booke processors, gdb is seeing spurious SIGTRAPs when setting a
watchpoint.
user_disable_single_step() simply quits when the DAC is non-zero. It should
be clearing the DBCR0_IC and DBCR0_BT bits from the dbcr0 register and
TIF_SINGLESTEP from the thread flag.
Signed-off-by: Dave Kleikamp <shaggy@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions