Rename: s/EvalSymbol/EvalVariable/

This commit is contained in:
Derek Parker
2015-06-12 14:04:14 -05:00
parent f627044f67
commit fe19f3f20c
8 changed files with 21 additions and 21 deletions

View File

@ -426,14 +426,14 @@ func (d *Debugger) FunctionArguments(threadID int) ([]api.Variable, error) {
return vars, err
}
func (d *Debugger) EvalSymbolInThread(threadID int, symbol string) (*api.Variable, error) {
func (d *Debugger) EvalVariableInThread(threadID int, symbol string) (*api.Variable, error) {
var variable *api.Variable
err := d.withProcess(func(p *proctl.DebuggedProcess) error {
thread, found := p.Threads[threadID]
if !found {
return fmt.Errorf("couldn't find thread %d", threadID)
}
v, err := thread.EvalSymbol(symbol)
v, err := thread.EvalVariable(symbol)
if err != nil {
return err
}