Moved responsibility of stopping and resetting the target at the beginning of the debug session to the DebugServer.
This commit is contained in:
@@ -173,6 +173,9 @@ namespace Bloom::DebugServer::Gdb
|
||||
throw DebugSessionAborted("TargetController not in service");
|
||||
}
|
||||
}
|
||||
|
||||
this->targetControllerConsole.stopTargetExecution();
|
||||
this->targetControllerConsole.resetTarget();
|
||||
}
|
||||
|
||||
auto commandPacket = this->waitForCommandPacket();
|
||||
|
||||
Reference in New Issue
Block a user