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