Changed AVR-GDB command packet class to a bare interface class
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
|
||||
#include "CommandPacket.hpp"
|
||||
#include "AvrGdbCommandPacketInterface.hpp"
|
||||
#include "src/DebugServer/Gdb/CommandPackets/CommandPacket.hpp"
|
||||
|
||||
#include "src/Targets/TargetMemory.hpp"
|
||||
|
||||
@@ -13,7 +14,9 @@ namespace DebugServer::Gdb::AvrGdb::CommandPackets
|
||||
* The FlashWrite class implements the structure for the "vFlashWrite" packet. Upon receiving this packet, the
|
||||
* server is expected to write to a particular region of the target's flash memory.
|
||||
*/
|
||||
class FlashWrite: public CommandPackets::CommandPacket
|
||||
class FlashWrite
|
||||
: public CommandPackets::AvrGdbCommandPacketInterface
|
||||
, private Gdb::CommandPackets::CommandPacket
|
||||
{
|
||||
public:
|
||||
Targets::TargetMemoryAddress startAddress;
|
||||
|
||||
Reference in New Issue
Block a user