mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 17:56:45 +08:00
Rename: s/EvalSymbol/EvalVariable/
This commit is contained in:
@ -197,8 +197,8 @@ func parseG(thread *ThreadContext, gaddr uint64, deref bool) (*G, error) {
|
||||
return g, nil
|
||||
}
|
||||
|
||||
// Returns the value of the named symbol.
|
||||
func (thread *ThreadContext) EvalSymbol(name string) (*Variable, error) {
|
||||
// Returns the value of the named variable.
|
||||
func (thread *ThreadContext) EvalVariable(name string) (*Variable, error) {
|
||||
pc, err := thread.PC()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user