openMSX
|
Base class for CPU breakpoints. More...
#include <WatchPoint.hh>
Public Types | |
enum class | Type { READ_IO , WRITE_IO , READ_MEM , WRITE_MEM } |
Public Member Functions | |
WatchPoint (TclObject command_, TclObject condition_, Type type_, unsigned beginAddr_, unsigned endAddr_, bool once_, unsigned newId=-1) | |
Begin and end address are inclusive (IOW range = [begin, end]) | |
virtual | ~WatchPoint ()=default |
unsigned | getId () const |
Type | getType () const |
unsigned | getBeginAddress () const |
unsigned | getEndAddress () const |
Public Member Functions inherited from openmsx::BreakPointBase | |
std::string_view | getCondition () const |
std::string_view | getCommand () const |
TclObject | getConditionObj () const |
TclObject | getCommandObj () const |
bool | onlyOnce () const |
bool | checkAndExecute (GlobalCliComm &cliComm, Interpreter &interp) |
Additional Inherited Members | |
Protected Member Functions inherited from openmsx::BreakPointBase | |
BreakPointBase (TclObject command_, TclObject condition_, bool once_) | |
Base class for CPU breakpoints.
For performance reasons every bp is associated with exactly one (immutable) address.
Definition at line 13 of file WatchPoint.hh.
|
strong |
Enumerator | |
---|---|
READ_IO | |
WRITE_IO | |
READ_MEM | |
WRITE_MEM |
Definition at line 16 of file WatchPoint.hh.
|
inline |
Begin and end address are inclusive (IOW range = [begin, end])
Definition at line 20 of file WatchPoint.hh.
|
virtualdefault |
|
inline |
Definition at line 34 of file WatchPoint.hh.
Referenced by openmsx::WatchIO::getDevice().
|
inline |
Definition at line 35 of file WatchPoint.hh.
|
inline |
Definition at line 32 of file WatchPoint.hh.
Referenced by openmsx::MSXCPUInterface::removeWatchPoint().
|
inline |
Definition at line 33 of file WatchPoint.hh.