public class DebugSymsRequestor extends Object implements IDebugEntryRequestor
Constructor and Description |
---|
DebugSymsRequestor() |
Modifier and Type | Method and Description |
---|---|
void |
acceptCaughtException(String name,
DebugType type,
long address)
Caught Exception.
|
void |
acceptFloatConst(String name,
double value)
floating point constant.
|
void |
acceptIntegerConst(String name,
int value)
Integer constant.
|
void |
acceptParameter(String name,
DebugType type,
DebugParameterKind kind,
long offset)
Accept a parameter for the current function.
|
void |
acceptStatement(int line,
long address)
Statement in the compilation unit with a given address.
|
void |
acceptTypeConst(String name,
DebugType type,
int value)
Type constant: "const b = 0", b is a type enum.
|
void |
acceptTypeDef(String name,
DebugType type)
Type definition.
|
void |
acceptVariable(String name,
DebugType type,
DebugVariableKind kind,
long address)
Record a variable.
|
void |
enterCodeBlock(long offset)
Enter a code block in a function.
|
void |
enterCompilationUnit(String name,
long address)
Entering a compilation unit.
|
void |
enterFunction(String name,
DebugType type,
boolean isGlobal,
long address)
Enter a function.
|
void |
enterInclude(String name)
Entering new include file in a compilation unit.
|
void |
exitCodeBlock(long offset)
Exit of the current code block.
|
void |
exitCompilationUnit(long address)
Exit the current compilation unit.
|
void |
exitFunction(long address)
Exit the current function.
|
void |
exitInclude()
Exit the current include file.
|
DebugSym[] |
getEntries() |
DebugSym |
getEntry(long addr) |
DebugSym[] |
getSortedEntries() |
public DebugSym[] getSortedEntries()
public DebugSym[] getEntries()
public DebugSym getEntry(long addr)
public void enterCompilationUnit(String name, long address)
IDebugEntryRequestor
enterCompilationUnit
in interface IDebugEntryRequestor
address
- start of address of the cu.public void exitCompilationUnit(long address)
IDebugEntryRequestor
exitCompilationUnit
in interface IDebugEntryRequestor
address
- end of compilation unit.public void enterInclude(String name)
IDebugEntryRequestor
enterInclude
in interface IDebugEntryRequestor
public void exitInclude()
IDebugEntryRequestor
exitInclude
in interface IDebugEntryRequestor
public void enterFunction(String name, DebugType type, boolean isGlobal, long address)
IDebugEntryRequestor
enterFunction
in interface IDebugEntryRequestor
name
- of the function/methodtype
- type of the return value.isGlobal
- return the visiblity of the function.address
- the start address of the function.public void exitFunction(long address)
IDebugEntryRequestor
exitFunction
in interface IDebugEntryRequestor
address
- the address where the function ends.public void enterCodeBlock(long offset)
IDebugEntryRequestor
enterCodeBlock
in interface IDebugEntryRequestor
offset
- address of the block starts relative to the current function.public void exitCodeBlock(long offset)
IDebugEntryRequestor
exitCodeBlock
in interface IDebugEntryRequestor
offset
- the address of which the blocks ends relative to the current function.public void acceptStatement(int line, long address)
IDebugEntryRequestor
acceptStatement
in interface IDebugEntryRequestor
line
- lineno of the statement relative to the current compilation unit.address
- address of the statement relative to the current function.public void acceptIntegerConst(String name, int value)
IDebugEntryRequestor
acceptIntegerConst
in interface IDebugEntryRequestor
public void acceptFloatConst(String name, double value)
IDebugEntryRequestor
acceptFloatConst
in interface IDebugEntryRequestor
public void acceptTypeConst(String name, DebugType type, int value)
IDebugEntryRequestor
acceptTypeConst
in interface IDebugEntryRequestor
public void acceptParameter(String name, DebugType type, DebugParameterKind kind, long offset)
IDebugEntryRequestor
acceptParameter
in interface IDebugEntryRequestor
name
- of the parametertype
- of the parameterkind
- of the parameteroffset
- address of the parameter relative to the current function.public void acceptVariable(String name, DebugType type, DebugVariableKind kind, long address)
IDebugEntryRequestor
acceptVariable
in interface IDebugEntryRequestor
public void acceptCaughtException(String name, DebugType type, long address)
IDebugEntryRequestor
acceptCaughtException
in interface IDebugEntryRequestor
public void acceptTypeDef(String name, DebugType type)
IDebugEntryRequestor
acceptTypeDef
in interface IDebugEntryRequestor
name
- new nameCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.