On 04/17/2013 07:04 PM, Sergio Durigan Junior wrote: > Didn't you forget to delete the previous line? :-) > >> + { >> + /* The ppc Linux kernel causes a thread to inherit its parent >> + thread's debug state, and that includes any hardware >> + watchpoints or breakpoints that the parent thread may have set. >> + >> + For this reason, the debug state of the new thread is cleared >> + before trying to replicate any hardware watchpoints or >> + breakpoints contained in other threads. */ >> + >> + /* The ppc debug resource accounting is done through "slots". >> + Ask the kernel the deallocate this specific *point's slot. */ >> + ptrace (PPC_PTRACE_DELHWDEBUG, tid, 0, hw_breaks[i].slot); >> + >> + booke_insert_point (hw_breaks[i].hw_break, tid); >> + } > Heh, obviously! Updated patch attached. Thanks, Luis