fix some comments

Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
cui fliter
2023-04-25 15:54:49 +08:00
committed by Alessandro Arzilli
parent a61ccea65a
commit e24a7b1174
2 changed files with 3 additions and 2 deletions

View File

@ -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)