mirror of
https://github.com/go-delve/delve.git
synced 2025-11-01 20:20:40 +08:00
Rename: s/ThreadContext/Thread/
This commit is contained in:
@ -14,7 +14,7 @@ type stackLocation struct {
|
||||
|
||||
// Takes an offset from RSP and returns the address of the
|
||||
// instruction the currect function is going to return to.
|
||||
func (thread *ThreadContext) ReturnAddress() (uint64, error) {
|
||||
func (thread *Thread) ReturnAddress() (uint64, error) {
|
||||
regs, err := thread.Registers()
|
||||
if err != nil {
|
||||
return 0, err
|
||||
|
||||
Reference in New Issue
Block a user