Re: [PATCH] Enable hardware breakpoint upon re-registering

2012-11-06 Thread Michael Neuling
Aravinda Prasad wrote: > On powerpc, ptrace will disable hardware breakpoint request once the > breakpoint is hit. It is the responsibility of the caller to set it > again. However, when the caller sets the hardware breakpoint again > using ptrace(PTRACE_SET_DEBUGREG, child_pid, 0, addr), the har

[PATCH] Enable hardware breakpoint upon re-registering

2012-11-05 Thread Aravinda Prasad
On powerpc, ptrace will disable hardware breakpoint request once the breakpoint is hit. It is the responsibility of the caller to set it again. However, when the caller sets the hardware breakpoint again using ptrace(PTRACE_SET_DEBUGREG, child_pid, 0, addr), the hardware breakpoint is not enabled.