Suspend TargetController upon GDB detach, if running under CLion

This commit is contained in:
Nav
2022-09-15 00:33:01 +01:00
parent 753cfd7c11
commit c9a8220500
5 changed files with 68 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include "CommandPacket.hpp"
namespace Bloom::DebugServer::Gdb::CommandPackets
{
class Detach: public CommandPacket
{
public:
explicit Detach(const RawPacketType& rawPacket);
void handle(
DebugSession& debugSession,
TargetController::TargetControllerConsole& targetControllerConsole
) override;
};
}