提交 c267eda9 编写于 作者: D Derek Parker

Update docs for ClearBreakpoint

上级 2fcbc4bd
......@@ -246,7 +246,10 @@ func (dbp *Process) SetBreakpointByLocation(loc string) (*Breakpoint, error) {
return dbp.SetBreakpoint(addr)
}
// Clears a breakpoint in the current thread.
// Clears a breakpoint.
//
// If it is a hardware assisted breakpoint, iterate through all threads
// and clear the debug register. Otherwise, restore original instruction.
func (dbp *Process) ClearBreakpoint(addr uint64) (*Breakpoint, error) {
bp, ok := dbp.Breakpoints[addr]
if !ok {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册