[PATCH] powerpc: fix booke user_disable_single_step()

Josh Boyer jwboyer at linux.vnet.ibm.com
Thu Jul 9 09:48:16 EST 2009


On Wed, Jul 08, 2009 at 06:46:18PM -0500, Dave Kleikamp wrote:
>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 at linux.vnet.ibm.com>

I'll test this first thing in the morning.  At first glance it looks pretty
good.

josh


More information about the Linuxppc-dev mailing list