mirror of
https://github.com/go-delve/delve.git
synced 2025-10-30 10:17:03 +08:00
Fix comment typos
This commit is contained in:
@ -3,7 +3,7 @@ package proc
|
||||
import "encoding/binary"
|
||||
|
||||
// Takes an offset from RSP and returns the address of the
|
||||
// instruction the currect function is going to return to.
|
||||
// instruction the current function is going to return to.
|
||||
func (thread *Thread) ReturnAddress() (uint64, error) {
|
||||
locations, err := thread.Stacktrace(2)
|
||||
if err != nil {
|
||||
|
||||
@ -81,7 +81,7 @@ func (c *Commands) Register(cmdstr string, cf cmdfunc, helpMsg string) {
|
||||
}
|
||||
|
||||
// Find will look up the command function for the given command input.
|
||||
// If it cannot find the command it will defualt to noCmdAvailable().
|
||||
// If it cannot find the command it will default to noCmdAvailable().
|
||||
// If the command is an empty string it will replay the last command.
|
||||
func (c *Commands) Find(cmdstr string) cmdfunc {
|
||||
// If <enter> use last command, if there was one.
|
||||
|
||||
Reference in New Issue
Block a user