This commit is contained in:
Nav
2024-08-27 22:04:59 +01:00
parent 7bcb81b7c8
commit b1db8196c0
4 changed files with 8 additions and 8 deletions

View File

@@ -29,8 +29,8 @@
#include "CommandPackets/BloomVersion.hpp"
#include "CommandPackets/BloomVersionMachine.hpp"
#include "CommandPackets/Detach.hpp"
#include "CommandPackets/ReadRegistersMonitor.hpp"
#include "CommandPackets/ListRegistersMonitor.hpp"
#include "CommandPackets/ReadRegistersMonitor.hpp"
#ifndef EXCLUDE_INSIGHT
#include "CommandPackets/ActivateInsight.hpp"
@@ -293,14 +293,14 @@ namespace DebugServer::Gdb
return std::make_unique<CommandPackets::ResetTarget>(std::move(*(monitorCommand.release())));
}
if (monitorCommand->command.find("rr") == 0) {
return std::make_unique<CommandPackets::ReadRegistersMonitor>(std::move(*(monitorCommand.release())));
}
if (monitorCommand->command.find("lr") == 0) {
return std::make_unique<CommandPackets::ListRegistersMonitor>(std::move(*(monitorCommand.release())));
}
if (monitorCommand->command.find("rr") == 0) {
return std::make_unique<CommandPackets::ReadRegistersMonitor>(std::move(*(monitorCommand.release())));
}
#ifndef EXCLUDE_INSIGHT
if (monitorCommand->command.find("insight") == 0) {
return std::make_unique<CommandPackets::ActivateInsight>(std::move(*(monitorCommand.release())));