mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 20:20:40 +08:00
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:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user