Files
BloomPatched/src/DebugServer/Gdb/AvrGdb/AvrGdbRsp.hpp

33 lines
1.0 KiB
C++
Raw Normal View History

#pragma once
#include <cstdint>
2024-10-25 23:12:31 +01:00
#include "src/DebugServer/Gdb/GdbRspDebugServer.hpp"
#include "AvrGdbTargetDescriptor.hpp"
#include "CommandPackets/AvrGdbCommandPacketInterface.hpp"
namespace DebugServer::Gdb::AvrGdb
{
class AvrGdbRsp
: public GdbRspDebugServer<AvrGdbTargetDescriptor, DebugSession, CommandPackets::AvrGdbCommandPacketInterface>
{
public:
AvrGdbRsp(
const DebugServerConfig& debugServerConfig,
const Targets::TargetDescriptor& targetDescriptor,
EventListener& eventListener,
EventFdNotifier& eventNotifier
);
2024-10-25 23:12:31 +01:00
std::string getName() const override;
protected:
std::unique_ptr<CommandPackets::AvrGdbCommandPacketInterface> rawPacketToCommandPacket(
const RawPacket& rawPacket
) override;
std::set<std::pair<Feature, std::optional<std::string>>> getSupportedFeatures() override;
void handleTargetStoppedGdbResponse(Targets::TargetMemoryAddress programAddress) override;
};
}