diff --git a/proc/proc.go b/proc/proc.go index f51fc0f2b55d59e2cc93afd5ba001bc81f228295..cdc75e2530ad6ea10cf4e6dec7aad0888fc7083e 100644 --- a/proc/proc.go +++ b/proc/proc.go @@ -26,7 +26,8 @@ type Process struct { Pid int // Process Pid Process *os.Process // Pointer to process struct for the actual process we are debugging - // Breakpoint table. Hardware breakpoints are stored in proc/arch.go, as they are architecture dependant. + // Breakpoint table, hold information on software / hardware breakpoints. + // Maps instruction address to Breakpoint struct. Breakpoints map[uint64]*Breakpoint // List of threads mapped as such: pid -> *Thread