diff --git a/pkg/proc/threads.go b/pkg/proc/threads.go index e078966b..8b55e4c7 100644 --- a/pkg/proc/threads.go +++ b/pkg/proc/threads.go @@ -2,6 +2,7 @@ package proc import ( "errors" + "github.com/go-delve/delve/pkg/dwarf/op" ) @@ -17,7 +18,7 @@ type Thread interface { // variable returned may or may not change to reflect the new CPU status // when the thread is resumed or the registers are changed by calling // SetPC/SetSP/etc. - // To insure that the the returned variable won't change call the Copy + // To insure that the returned variable won't change call the Copy // method of Registers. Registers() (Registers, error) diff --git a/pkg/proc/variables.go b/pkg/proc/variables.go index a41dac86..e77515ff 100644 --- a/pkg/proc/variables.go +++ b/pkg/proc/variables.go @@ -1839,7 +1839,7 @@ func (v *Variable) writeZero() error { return err } -// writeInterface writes the empty interface of type typeAddr and data as the data field. +// writeEmptyInterface writes the empty interface of type typeAddr and data as the data field. func (v *Variable) writeEmptyInterface(typeAddr uint64, data *Variable) error { dstType, dstData, _ := v.readInterface() if v.Unreadable != nil {