frysk.debuginfo
Class ObjectDeclarationSearchEngine
java.lang.Object
frysk.debuginfo.ObjectDeclarationSearchEngine
- Direct Known Subclasses:
- ExprSearchEngine
public class ObjectDeclarationSearchEngine
- extends Object
This engine implements the c++ scoping rules and uses when searching for
a variable by name:
1. Search the inner-most scope containing the current pc indicated by the
given frame, and return the first encounter.
ObjectDeclarationSearchEngine
public ObjectDeclarationSearchEngine(Task task)
getObject
public LinkedList getObject(String name)
- Get the DwarfDie for a function symbol
XXX: this code has been moved here from DebugInfo
should be modified to
- use frysk search (
ObjectDeclarationSearchEngine
)
- handle # syntax
...
handles:
[file#]name
getObjectInScope
public ObjectDeclaration getObjectInScope(DebugInfoFrame frame,
String name)
- Returns the object with the given name that is currently
in scope. The scope is decided by the current frame
object.
getObjectUsingBinaryInfo
public ObjectDeclaration getObjectUsingBinaryInfo(DebugInfoFrame frame,
String name)