mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
proc: refactor common code in WriteBreakpoint (#2300)
Moves common backend code in WriteBreakpoint to proc.(*Target).SetBreakpoint.
This commit is contained in:
committed by
GitHub
parent
f5d5a681d0
commit
c40774d3d4
@ -33,7 +33,7 @@ type ProcessInternal interface {
|
||||
Detach(bool) error
|
||||
ContinueOnce() (trapthread Thread, stopReason StopReason, err error)
|
||||
|
||||
WriteBreakpoint(addr uint64) (file string, line int, fn *Function, originalData []byte, err error)
|
||||
WriteBreakpoint(*Breakpoint) error
|
||||
EraseBreakpoint(*Breakpoint) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user