Preparation for support for the GDB vCont command packet

Also fixed a bug in the `StepExecution` and `ContinueExecution` constructors, where the from address wasn't being extracted properly
This commit is contained in:
Nav
2023-04-01 12:37:59 +01:00
parent 837f6d0af3
commit 56ea97369d
11 changed files with 40 additions and 22 deletions

View File

@@ -179,8 +179,10 @@ namespace Bloom::Targets
/**
* Should resume execution on the target.
*
* @param toAddress
*/
virtual void run() = 0;
virtual void run(std::optional<TargetMemoryAddress> toAddress = std::nullopt) = 0;
/**
* Should halt execution on the target.