proc: fix 2 typos

This commit is contained in:
aarzilli 2016-01-10 12:47:54 +01:00
parent 0188dc2c8b
commit 32a0c752eb
2 changed files with 2 additions and 2 deletions

@ -12,7 +12,7 @@ type Arch interface {
GStructOffset() uint64 GStructOffset() uint64
} }
// AMD64 represents hte AMD64 CPU architecture. // AMD64 represents the AMD64 CPU architecture.
type AMD64 struct { type AMD64 struct {
ptrSize int ptrSize int
breakInstruction []byte breakInstruction []byte

@ -300,7 +300,7 @@ func (scope *EvalScope) PtrSize() int {
return scope.Thread.dbp.arch.PtrSize() return scope.Thread.dbp.arch.PtrSize()
} }
// ChanRecvBlocked eturns whether the goroutine is blocked on // ChanRecvBlocked returns whether the goroutine is blocked on
// a channel read operation. // a channel read operation.
func (g *G) ChanRecvBlocked() bool { func (g *G) ChanRecvBlocked() bool {
return g.WaitReason == chanRecv return g.WaitReason == chanRecv