Added TargetMemoryAddress, TargetMemorySize, TargetProgramCounter and TargetStackPointer aliases

This commit is contained in:
Nav
2022-09-06 17:16:49 +01:00
parent 620e6dc06a
commit 46d8ce1854
46 changed files with 234 additions and 174 deletions

View File

@@ -20,7 +20,7 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
/**
* Start address of the memory operation.
*/
std::uint32_t startAddress = 0;
Targets::TargetMemoryAddress startAddress = 0;
/**
* The type of memory to read from.
@@ -30,7 +30,7 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
/**
* Number of bytes to read.
*/
std::uint32_t bytes = 0;
Targets::TargetMemorySize bytes = 0;
explicit ReadMemory(const RawPacketType& rawPacket, const Gdb::TargetDescriptor& gdbTargetDescriptor);

View File

@@ -20,7 +20,7 @@ namespace Bloom::DebugServer::Gdb::AvrGdb::CommandPackets
/**
* Start address of the memory operation.
*/
std::uint32_t startAddress = 0;
Targets::TargetMemoryAddress startAddress = 0;
/**
* The type of memory to read from.