提交 5e5f5aff 编写于 作者: D Derek Parker

Cleanup comment in setBreakpoint

上级 1f473241
......@@ -124,7 +124,7 @@ func (dbp *Process) setBreakpoint(tid int, addr uint64, temp bool) (*Breakpoint,
return dbp.Breakpoints[addr], nil
}
// Fall back to software breakpoint. 0xCC is INT 3 trap interrupt.
// Fall back to software breakpoint.
thread := dbp.Threads[tid]
originalData := make([]byte, dbp.arch.BreakpointSize())
if _, err := readMemory(thread, uintptr(addr), originalData); err != nil {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册