Go to the documentation of this file.
50 StopPoint(), address_(address), frontend_(frontend) {
68 assert(conditionCopy != NULL);
SimulatorFrontend & frontend_
The simulator frontend which is used to fetch the current PC.
bool conditional_
Tells whether the breakpoint is conditional or not.
UInt32 InstructionAddress
virtual InstructionAddress address() const
virtual void setAddress(InstructionAddress newAddress)
virtual void setEnabled(bool flag)
virtual void setIgnoreCount(unsigned int count)
virtual void setDisabledAfterTriggered(bool flag)
virtual ConditionScript * copy() const
bool enabled_
Tells whether the breakpoint is enabled or disabled.
InstructionAddress address_
The address of the breakpoint. A breakpoint is fired when PC equals this address.
ConditionScript * condition_
The condition which is used to determine whether the breakpoint should be fired or not.
virtual StopPoint * copy() const
static std::string toString(const T &source)
#define assert(condition)
InstructionAddress programCounter() const
virtual std::string description() const
Breakpoint(SimulatorFrontend &frontend, InstructionAddress address)
bool deletedAfterTriggered_
Tells if the breakpoint is deleted after it is triggered the next time.
bool disabledAfterTriggered_
Tells if the breakpoint is disabled after it is triggered the next time.
virtual bool isTriggered() const
virtual void removeCondition()
unsigned int ignoreCount_
The number of times the condition is to be ignored before enabling the breakpoint.
virtual std::string description() const =0
virtual void setDeletedAfterTriggered(bool flag)
virtual void setCondition(const ConditionScript &condition)