breakpoints

This commit is contained in:
T0b1
2023-06-04 22:08:49 +02:00
parent 343a30289c
commit 78e7f5cca7
12 changed files with 341 additions and 17 deletions

View File

@@ -4,11 +4,12 @@ using namespace dbgui::backend;
Backend::~Backend() {}
void Backend::send_state_change(TargetState new_state, StateChangeReason reason)
void Backend::send_state_change(TargetState new_state, StateChangeReason reason,
uint64_t extra)
{
auto msg = std::make_unique<BackToFront::Msg>(
BackToFront::MsgType::state_change,
BackToFront::StateChange{new_state, reason});
BackToFront::StateChange{new_state, reason, extra});
this->send_msg(std::move(msg));
}