Files
BloomPatched/src/DebugServers/GdbRsp/CommandPackets/ContinueExecution.cpp

20 lines
541 B
C++
Raw Normal View History

2021-10-02 17:39:27 +01:00
#include "ContinueExecution.hpp"
2021-04-04 21:04:12 +01:00
#include <cstdint>
#include "src/DebugServers/GdbRsp/GdbRspDebugServer.hpp"
using namespace Bloom::DebugServers::Gdb::CommandPackets;
void ContinueExecution::dispatchToHandler(Gdb::GdbRspDebugServer& gdbRspDebugServer) {
gdbRspDebugServer.handleGdbPacket(*this);
}
2021-04-04 21:04:12 +01:00
void ContinueExecution::init() {
if (this->data.size() > 1) {
this->fromProgramCounter = static_cast<std::uint32_t>(
std::stoi(std::string(this->data.begin(), this->data.end()), nullptr, 16)
);
}
}