2022-05-05 20:13:30 +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:13:30 +01:00
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* The BloomVersion class implements a structure for the "monitor version" GDB command.
|
|
|
|
|
*
|
|
|
|
|
* We just output Bloom's current version number.
|
|
|
|
|
*/
|
|
|
|
|
class BloomVersion: public Monitor
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit BloomVersion(Monitor&& monitorPacket);
|
|
|
|
|
|
|
|
|
|
void handle(
|
|
|
|
|
DebugSession& debugSession,
|
2024-07-23 21:14:22 +01:00
|
|
|
const TargetDescriptor& gdbTargetDescriptor,
|
|
|
|
|
const Targets::TargetDescriptor& targetDescriptor,
|
2022-12-26 21:27:19 +00:00
|
|
|
Services::TargetControllerService& targetControllerService
|
2022-05-05 20:13:30 +01:00
|
|
|
) override;
|
|
|
|
|
};
|
|
|
|
|
}
|