mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
pkg/terminal: print DWARF location expression with whatis
Adds a configuration option (show-location-expr) that when activated will cause the whatis command to also print the DWARF location expression for a variable.
This commit is contained in:
@ -332,7 +332,7 @@ func (it *stackIterator) frameBase(fn *Function) int64 {
|
||||
if err != nil {
|
||||
return 0
|
||||
}
|
||||
fb, _, _ := it.bi.Location(e, dwarf.AttrFrameBase, it.pc, it.regs)
|
||||
fb, _, _, _ := it.bi.Location(e, dwarf.AttrFrameBase, it.pc, it.regs)
|
||||
return fb
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user