Rename thread.Process -> thread.dbp

Process is an incorrect name for the DebuggedProcess struct that the
thread is "a part" of. Also, no need to export that field.
This commit is contained in:
Derek Parker
2015-05-27 12:16:45 -05:00
parent 8f4f54d22a
commit 49667f2302
10 changed files with 95 additions and 72 deletions

View File

@ -19,7 +19,7 @@ func (thread *ThreadContext) ReturnAddress() (uint64, error) {
if err != nil {
return 0, err
}
locations, err := thread.Process.stacktrace(regs.PC(), regs.SP(), 1)
locations, err := thread.dbp.stacktrace(regs.PC(), regs.SP(), 1)
if err != nil {
return 0, err
}