2022-05-05 20:14:23 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
|
|
#include "Monitor.hpp"
|
|
|
|
|
|
2023-08-13 15:47:51 +01:00
|
|
|
namespace DebugServer::Gdb::CommandPackets
|
2022-05-05 20:14:23 +01:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The BloomVersionMachine class implements a structure for the "monitor version machine" GDB command.
|
|
|
|
|
*
|
|
|
|
|
* We just output Bloom's current version number in JSON format.
|
|
|
|
|
*/
|
|
|
|
|
class BloomVersionMachine: public Monitor
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit BloomVersionMachine(Monitor&& monitorPacket);
|
|
|
|
|
|
|
|
|
|
void handle(
|
|
|
|
|
DebugSession& debugSession,
|
2022-12-26 21:27:19 +00:00
|
|
|
Services::TargetControllerService& targetControllerService
|
2022-05-05 20:14:23 +01:00
|
|
|
) override;
|
|
|
|
|
};
|
|
|
|
|
}
|