Added "monitor version" command, to display the current Bloom version
This commit is contained in:
24
src/DebugServer/Gdb/CommandPackets/BloomVersion.hpp
Normal file
24
src/DebugServer/Gdb/CommandPackets/BloomVersion.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#include "Monitor.hpp"
|
||||
|
||||
namespace Bloom::DebugServer::Gdb::CommandPackets
|
||||
{
|
||||
/**
|
||||
* 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,
|
||||
TargetController::TargetControllerConsole& targetControllerConsole
|
||||
) override;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user