- Refactored entire codebase (excluding the Insight component) to accommodate multiple target architectures (no longer specific to AVR) - Deleted 'generate SVD' GDB monitor command - I will eventually move this functionality to the Bloom website - Added unit size property to address spaces - Many other changes which I couldn't be bothered to describe here
28 lines
864 B
C++
28 lines
864 B
C++
#pragma once
|
|
|
|
#include "src/DebugServer/Gdb/CommandPackets/CommandPacket.hpp"
|
|
|
|
#include "src/DebugServer/Gdb/RegisterDescriptor.hpp"
|
|
|
|
namespace DebugServer::Gdb::AvrGdb::CommandPackets
|
|
{
|
|
/**
|
|
* The ReadRegister class implements a structure for the "p" command packet. In response to this packet, the server
|
|
* is expected to send register values for the requested register.
|
|
*/
|
|
class ReadRegister: public Gdb::CommandPackets::CommandPacket
|
|
{
|
|
public:
|
|
GdbRegisterId registerId;
|
|
|
|
explicit ReadRegister(const RawPacket& rawPacket);
|
|
|
|
void handle(
|
|
Gdb::DebugSession& debugSession,
|
|
const Gdb::TargetDescriptor& gdbTargetDescriptor,
|
|
const Targets::TargetDescriptor& targetDescriptor,
|
|
Services::TargetControllerService& targetControllerService
|
|
) override;
|
|
};
|
|
}
|