| commit | 28477fb1ed1a00c67b382ae8f37f35708e3bf5dd | [log] [tgz] |
|---|---|---|
| author | Dave Kleikamp <shaggy@linux.vnet.ibm.com> | Wed Jul 08 13:46:18 2009 +0000 |
| committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Jul 15 17:41:45 2009 +1000 |
| tree | 7dda6fa6262aa362175ffdb976da01d9aa7e0e68 | |
| parent | e9e961c9a818a2f24711af493b907a8e40a69efc [diff] |
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>