mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 01:27:16 +08:00
proc,service: export declaration line of variables
Adds a field, DeclLine, to Variable containing the declaration line number of the variable.
This commit is contained in:
@ -227,6 +227,8 @@ type Variable struct {
|
||||
|
||||
// LocationExpr describes the location expression of this variable's address
|
||||
LocationExpr string
|
||||
// DeclLine is the line number of this variable's declaration
|
||||
DeclLine int64
|
||||
}
|
||||
|
||||
// LoadConfig describes how to load values from target's memory
|
||||
|
||||
Reference in New Issue
Block a user