frysk.rt
Class FunctionBreakpoint
java.lang.Object
frysk.rt.SourceBreakpoint
frysk.rt.FunctionBreakpoint
- All Implemented Interfaces:
- Observer, BreakpointObserver, Comparable
- Direct Known Subclasses:
- PLTBreakpoint, SymbolBreakpoint
public class FunctionBreakpoint
- extends SourceBreakpoint
Methods inherited from class frysk.rt.SourceBreakpoint |
addedTo, addFailed, addObserver, appliesTo, compareTo, containsPersistentBreakpoint, deletedFrom, deleteObserver, disableBreakpoint, enableBreakpoint, getAddrs, getId, getState, getTaskStateMap, getUserState, numberOfObservers, removeAllObservers, setAddrs, setState, setUserState, updateHit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected final String name
die
protected final DwflDie die
containsInlineInstances
private boolean containsInlineInstances
function
private Function function
FunctionBreakpoint
public FunctionBreakpoint(int id,
String name,
DwflDie die)
- Set a breakpoint based on a DwarfDie or just a name.
FunctionBreakpoint
public FunctionBreakpoint(int id,
String name,
ObjectDeclaration function)
getBreakpointRawAddresses
public LinkedList getBreakpointRawAddresses(Task task)
- Description copied from class:
SourceBreakpoint
- Get all the machine addresses for this breakpoint using the
stopped task in the process.
- Specified by:
getBreakpointRawAddresses
in class SourceBreakpoint
- Parameters:
task
- the stopped task
- Returns:
- list of addresses
getRawAddress
public long getRawAddress(Object addr)
- Description copied from class:
SourceBreakpoint
- Return the address to use as a breakpoint from the object stored
in the list of breakpoints.
- Specified by:
getRawAddress
in class SourceBreakpoint
- Parameters:
addr
- the object stored in the addrs list
- Returns:
- the raw address at which a breakpoint will be set
getName
public String getName()
containsInlineInstances
public boolean containsInlineInstances()
output
public PrintWriter output(PrintWriter writer)
- Specified by:
output
in class SourceBreakpoint