regs and we can step into!
This commit is contained in:
@@ -2,6 +2,26 @@
|
||||
|
||||
using namespace dbgui::backend;
|
||||
|
||||
Backend::~Backend() {
|
||||
|
||||
Backend::~Backend() {}
|
||||
|
||||
void Backend::send_state_change(TargetState new_state, StateChangeReason reason)
|
||||
{
|
||||
auto msg = std::make_unique<BackToFront::Msg>(
|
||||
BackToFront::MsgType::state_change,
|
||||
BackToFront::StateChange{new_state, reason});
|
||||
this->send_msg(std::move(msg));
|
||||
}
|
||||
|
||||
void Backend::send_proc_info(BackToFront::InitialProcessInfo &&info)
|
||||
{
|
||||
auto msg = std::make_unique<BackToFront::Msg>(
|
||||
BackToFront::MsgType::initial_proc_info, std::move(info));
|
||||
this->send_msg(std::move(msg));
|
||||
}
|
||||
|
||||
void Backend::send_reg_change(BackToFront::RegsChanged &&info)
|
||||
{
|
||||
auto msg = std::make_unique<BackToFront::Msg>(
|
||||
BackToFront::MsgType::regs_changed, std::move(info));
|
||||
this->send_msg(std::move(msg));
|
||||
}
|
||||
Reference in New Issue
Block a user