提交 df2bf3cb 编写于 作者: D Derek Parker

Fix comment typos

上级 1727df4b
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册