Interface BreakTable
- All Known Implementing Classes:
BreakTableCallBack
A BreakTable keeps track of an arbitrary number of breakpoints for an emulator. Breakpoints are either associated with a particular user-defined pcode op, or with a specific machine address (as in a standard debugger). Through the BreakTable object, an emulator can invoke breakpoints through the two methods
- doPcodeOpBreak()
- doAddressBreak()
-
Method Summary
Modifier and TypeMethodDescriptionbooleandoAddressBreak(Address addr) Deprecated, for removal: This API element is subject to removal in a future version.Invoke any breakpoints associated with this machine addressbooleandoPcodeOpBreak(PcodeOpRaw curop) Deprecated, for removal: This API element is subject to removal in a future version.Invoke any breakpoints associated with this particular pcodeopvoidsetEmulate(Emulate emu) Deprecated, for removal: This API element is subject to removal in a future version.Associate a particular emulator with breakpoints in this table
-
Method Details
-
setEmulate
Deprecated, for removal: This API element is subject to removal in a future version.Associate a particular emulator with breakpoints in this tableBreakpoints may need access to the context in which they are invoked. This routine provides the context for all breakpoints in the table.
- Parameters:
emu- is the Emulate context
-
doPcodeOpBreak
Deprecated, for removal: This API element is subject to removal in a future version.Invoke any breakpoints associated with this particular pcodeopWithin the table, the first breakpoint which is designed to work with this particular kind of pcode operation is invoked. If there was a breakpoint and it was designed to replace the action of the pcode op, then true is returned.
- Parameters:
curop- is the instance of a pcode op to test for breakpoints- Returns:
- true if the action of the pcode op is performed by the breakpoint
-
doAddressBreak
Deprecated, for removal: This API element is subject to removal in a future version.Invoke any breakpoints associated with this machine addressWithin the table, the first breakpoint which is designed to work with at this address is invoked. If there was a breakpoint, and if it was designed to replace the action of the machine instruction, then true is returned.
- Parameters:
addr- is address to test for breakpoints- Returns:
- true is the machine instruction has been replaced by a breakpoint
-