Moved Process helper functions to service class

This commit is contained in:
Nav
2022-12-26 21:35:24 +00:00
parent d353b55f9b
commit 4c25c85c36
7 changed files with 60 additions and 24 deletions

View File

@@ -36,7 +36,8 @@
// Response packets
#include "ResponsePackets/TargetStopped.hpp"
#include "src/Helpers/Process.hpp"
#include "src/Services/ProcessService.hpp"
namespace Bloom::DebugServer::Gdb
{
@@ -126,7 +127,7 @@ namespace Bloom::DebugServer::Gdb
std::bind(&GdbRspDebugServer::onTargetExecutionStopped, this, std::placeholders::_1)
);
if (Process::isManagedByClion()) {
if (Services::ProcessService::isManagedByClion()) {
Logger::warning(
"Bloom's process is being managed by CLion - Bloom will automatically shutdown upon detaching from GDB."
);