17 static constexpr std::string_view
prefix =
"bp#";
20 [[nodiscard]] std::optional<uint16_t>
getAddress()
const {
return address; }
29 address = parseAddress(interp);
40 return e.getMessage();
46 auto tmp = addrStr.
eval(interp).
getInt(interp);
47 if ((tmp < 0) || (tmp > 0xffff)) {
54 std::optional<uint16_t> address;
CRTP base class for CPU break and watch points.
void evaluateAddress(Interpreter &interp)
static constexpr std::string_view prefix
TclObject getAddressString() const
std::optional< uint16_t > getAddress() const
void setAddress(Interpreter &interp, const TclObject &addr)
std::string parseAddressError(Interpreter &interp) const
TclObject eval(Interpreter &interp) const
int getInt(Interpreter &interp) const
This file implemented 3 utility functions: