More tidying in GDB command packet classes

This commit is contained in:
Nav
2022-04-03 16:59:14 +01:00
parent 2febc27805
commit 81ff76a1a3
5 changed files with 20 additions and 25 deletions

View File

@@ -17,10 +17,10 @@ namespace Bloom::DebugServer::Gdb::CommandPackets
{
public:
/**
* The "c" packet can contain an address which defines the point from which the execution should be resumed on
* The "c" packet can contain an address which specifies the point from which the execution should be resumed on
* the target.
*
* Although the packet *can* contain this address, it is not required, hence the optional.
* Although the packet *can* contain this address, it is not required, hence the std::optional type.
*/
std::optional<std::uint32_t> fromProgramCounter;