From befde76cfa46c766e81f74eb5ac65d3dae2dde87 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 19 Apr 2025 17:33:26 +0200 Subject: dev, LibCompiler, tooling: refactor and separate components into modules (cppdrv, cxxdrv) Signed-off-by: Amlal El Mahrouss --- dev/LibDebugger/POSIXMachContract.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'dev/LibDebugger/POSIXMachContract.h') diff --git a/dev/LibDebugger/POSIXMachContract.h b/dev/LibDebugger/POSIXMachContract.h index 6ff083f..1962202 100644 --- a/dev/LibDebugger/POSIXMachContract.h +++ b/dev/LibDebugger/POSIXMachContract.h @@ -12,6 +12,7 @@ /// @brief POSIX/Mach debugger. #include +#include #include #include @@ -35,7 +36,7 @@ namespace LibDebugger::POSIX { /// \brief POSIXMachContract engine interface class in C++ /// \author Amlal El Mahrouss - class POSIXMachContract final : public DebuggerContract + class POSIXMachContract : public DebuggerContract { public: explicit POSIXMachContract() = default; @@ -46,7 +47,7 @@ namespace LibDebugger::POSIX POSIXMachContract(const POSIXMachContract&) = default; public: - bool Attach(ProcessID pid) noexcept override + BOOL Attach(ProcessID pid) noexcept override { #ifdef __APPLE__ if (pid == 0) @@ -69,7 +70,7 @@ namespace LibDebugger::POSIX #endif } - bool Break(CAddress addr) noexcept override + BOOL Break(CAddress addr) noexcept override { #ifdef __APPLE__ task_read_t task; @@ -100,7 +101,7 @@ namespace LibDebugger::POSIX #endif } - bool Continue() noexcept override + BOOL Continue() noexcept override { #ifdef __APPLE__ task_read_t task; @@ -122,7 +123,7 @@ namespace LibDebugger::POSIX #endif } - bool Detach() noexcept override + BOOL Detach() noexcept override { #ifdef __APPLE__ this->Continue(); -- cgit v1.2.3