51 StopPoint(), expression_(expression), frontend_(frontend),
52 isTriggered_(
false), lastCheckedCycle_(0) {
70 assert(conditionCopy != NULL);
#define assert(condition)
find Finds info of the inner loops in the false
virtual ConditionScript * copy() const
virtual std::vector< std::string > script() const
ClockCycleCount cycleCount() 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)
bool isTriggered_
Flag which tells whether the watch was triggered in current simulation cycle.
ClockCycleCount lastCheckedCycle_
The simulation clock cycle in which the expression was checked the last time.
virtual bool isTriggered() const
virtual StopPoint * copy() const
const SimulatorFrontend & frontend_
The simulator frontend which is used to fetch the current PC.
virtual const ExpressionScript & expression() const
Watch(const SimulatorFrontend &frontend, const ExpressionScript &expression)
virtual void setExpression(const ExpressionScript &expression)
ExpressionScript expression_
The expression that is watched.
virtual std::string description() const