From 5e5f5aff30d456fa0029fc64f52e7398555c264e Mon Sep 17 00:00:00 2001 From: Derek Parker Date: Sat, 1 Aug 2015 21:19:14 -0500 Subject: [PATCH] Cleanup comment in setBreakpoint --- proc/breakpoints.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proc/breakpoints.go b/proc/breakpoints.go index f5454377..c67dce3e 100644 --- a/proc/breakpoints.go +++ b/proc/breakpoints.go @@ -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 {