21 Type type_,
unsigned beginAddr_,
unsigned endAddr_,
22 bool once_,
unsigned newId = -1)
24 , id((newId == unsigned(-1)) ? ++lastId : newId)
25 , beginAddr(beginAddr_), endAddr(endAddr_), type(type_)
27 assert(beginAddr <= endAddr);
32 [[nodiscard]]
unsigned getId()
const {
return id; }
43 static inline unsigned lastId = 0;
Base class for CPU break and watch points.
Base class for CPU breakpoints.
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])
unsigned getEndAddress() const
virtual ~WatchPoint()=default
unsigned getBeginAddress() const
This file implemented 3 utility functions: