Suspend TargetController upon GDB detach, if running under CLion
This commit is contained in:
17
src/DebugServer/Gdb/CommandPackets/Detach.hpp
Normal file
17
src/DebugServer/Gdb/CommandPackets/Detach.hpp
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user