Fixed bug with GDB interrupts not being serviced properly

This commit is contained in:
Nav
2023-05-07 19:44:19 +01:00
parent c502b02c58
commit 8a6f1e8659
4 changed files with 61 additions and 0 deletions

View File

@@ -25,6 +25,7 @@
#include "src/EventManager/Events/TargetControllerStateChanged.hpp"
#include "src/EventManager/Events/TargetExecutionStopped.hpp"
#include "src/EventManager/Events/TargetExecutionResumed.hpp"
namespace Bloom::DebugServer::Gdb
{
@@ -197,5 +198,10 @@ namespace Bloom::DebugServer::Gdb
* a "stop reply" packet to the client once the target execution stops.
*/
void onTargetExecutionStopped(const Events::TargetExecutionStopped&);
/**
* Services any pending interrupts.
*/
void onTargetExecutionResumed(const Events::TargetExecutionResumed&);
};
}