diff --git a/proctl/proctl_linux_amd64.go b/proctl/proctl_linux_amd64.go index 0d915734ff9f907bcd41896c15024dc87f2aacf2..a87627e4b780502da1b97bfc6294edc1f5425611 100644 --- a/proctl/proctl_linux_amd64.go +++ b/proctl/proctl_linux_amd64.go @@ -276,6 +276,8 @@ func (dbp *DebuggedProcess) Next() error { } if _, ok := dbp.BreakPoints[pc-1]; ok { + // Decrement the PC to be before + // the breakpoint instruction. pc-- }