Added "monitor help" command, to display help text on supported GDB custom commands

This commit is contained in:
Nav
2022-05-05 20:14:59 +01:00
parent 4a9c26b73e
commit 6970fd674b
6 changed files with 91 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#pragma once
#include <cstdint>
#include "Monitor.hpp"
namespace Bloom::DebugServer::Gdb::CommandPackets
{
/**
* The HelpMonitorInfo class implements a structure for the "monitor help" GDB command.
*
* We just respond with some help info on the available "monitor" commands.
*/
class HelpMonitorInfo: public Monitor
{
public:
explicit HelpMonitorInfo(Monitor&& monitorPacket);
void handle(
DebugSession& debugSession,
TargetController::TargetControllerConsole& targetControllerConsole
) override;
};
}