Added "monitor help" command, to display help text on supported GDB custom commands
This commit is contained in:
24
src/DebugServer/Gdb/CommandPackets/HelpMonitorInfo.hpp
Normal file
24
src/DebugServer/Gdb/CommandPackets/HelpMonitorInfo.hpp
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user