powerpc: Fix booke user_disable_single_step()
authorDave Kleikamp <shaggy@linux.vnet.ibm.com>
Wed, 8 Jul 2009 13:46:18 +0000 (13:46 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 15 Jul 2009 07:41:45 +0000 (17:41 +1000)
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>

No differences found