Re: [PATCH] powerpc: fix booke user_disable_single_step()

2009-07-08 Thread Josh Boyer
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 >T

[PATCH] powerpc: fix booke user_disable_single_step()

2009-07-08 Thread Dave Kleikamp
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 d