Rename CurrentPC -> PC

This commit is contained in:
Derek Parker
2015-04-23 10:40:33 -05:00
parent 383e9c1c37
commit 6df90f325d
7 changed files with 19 additions and 19 deletions

View File

@ -372,7 +372,7 @@ func offsetFor(name string, reader *dwarf.Reader, parentinstr []byte) (uint64, e
// Returns the value of the named symbol.
func (thread *ThreadContext) EvalSymbol(name string) (*Variable, error) {
pc, err := thread.CurrentPC()
pc, err := thread.PC()
if err != nil {
return nil, err
}
@ -976,7 +976,7 @@ func (thread *ThreadContext) readMemory(addr uintptr, size uintptr) ([]byte, err
// Fetches all variables of a specific type in the current function scope
func (thread *ThreadContext) variablesByTag(tag dwarf.Tag) ([]*Variable, error) {
pc, err := thread.CurrentPC()
pc, err := thread.PC()
if err != nil {
return nil, err
}