Add some documentation

This commit is contained in:
Derek Parker
2014-11-08 07:30:22 -06:00
parent 665ff49181
commit d2ebf4dc83
2 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,8 @@ func (thread *ThreadContext) CurrentPC() (uint64, error) {
return regs.PC(), nil
}
// PrintInfo prints out the thread status
// including: PC, tid, file, line, and function.
func (thread *ThreadContext) PrintInfo() error {
pc, err := thread.CurrentPC()
if err != nil {