mirror of
https://github.com/go-delve/delve.git
synced 2025-10-28 04:35:19 +08:00
Initial refactor of source package
Major source cleanup, still not finished. Removes gross control flow.
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
package proc
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
)
|
||||
import "encoding/binary"
|
||||
|
||||
// Takes an offset from RSP and returns the address of the
|
||||
// instruction the currect function is going to return to.
|
||||
@ -78,7 +76,6 @@ func (dbp *Process) stacktrace(pc, sp uint64, depth int) ([]Location, error) {
|
||||
if fn != nil && fn.Name == "runtime.goexit" {
|
||||
break
|
||||
}
|
||||
|
||||
}
|
||||
return locations, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user