New mon lr GDB command, for listing target registers
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "CommandPackets/BloomVersionMachine.hpp"
|
||||
#include "CommandPackets/Detach.hpp"
|
||||
#include "CommandPackets/ReadRegistersMonitor.hpp"
|
||||
#include "CommandPackets/ListRegistersMonitor.hpp"
|
||||
|
||||
#ifndef EXCLUDE_INSIGHT
|
||||
#include "CommandPackets/ActivateInsight.hpp"
|
||||
@@ -296,6 +297,10 @@ namespace DebugServer::Gdb
|
||||
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())));
|
||||
}
|
||||
|
||||
#ifndef EXCLUDE_INSIGHT
|
||||
if (monitorCommand->command.find("insight") == 0) {
|
||||
return std::make_unique<CommandPackets::ActivateInsight>(std::move(*(monitorCommand.release())));
|
||||
|
||||
Reference in New Issue
Block a user