From: Dave Kleikamp Date: Wed, 8 Jul 2009 13:46:18 +0000 (+0000) Subject: powerpc: Fix booke user_disable_single_step() X-Git-Tag: v2.6.31-rc4~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28477fb1ed1a00c67b382ae8f37f35708e3bf5dd;p=pandora-kernel.git 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 Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed