From 1c8c5cff67b20d86c442b0917d6c1fc6407140df Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 30 Jul 2025 08:50:15 +0100 Subject: feat! Breaking API changes of NeCTI's LibCompiler and LibDebugger. what: - They've now become CompilerKit and DebuggerKit. - Expanding XCoff for NeBoot PowerPC backend. Signed-off-by: Amlal El Mahrouss --- dev/LibDebugger/DebuggerContract.h | 44 -------------------------------------- 1 file changed, 44 deletions(-) delete mode 100644 dev/LibDebugger/DebuggerContract.h (limited to 'dev/LibDebugger/DebuggerContract.h') diff --git a/dev/LibDebugger/DebuggerContract.h b/dev/LibDebugger/DebuggerContract.h deleted file mode 100644 index c9b269f..0000000 --- a/dev/LibDebugger/DebuggerContract.h +++ /dev/null @@ -1,44 +0,0 @@ -/*** - (C) 2025 Amlal El Mahrouss - */ - -#pragma once - -#include -#include -#include - -namespace LibDebugger { -class DebuggerContract; - -/// \brief Process ID -typedef uint64_t ProcessID; - -/// \brief Address type, a la BSD. -typedef char* CAddress; - -/// \brief Debugger contract class in C++, as per the design states. -/// \author Amlal El Mahrouss -class DebuggerContract { - public: - explicit DebuggerContract() = default; - virtual ~DebuggerContract() = default; - - public: - DebuggerContract& operator=(const DebuggerContract&) = default; - DebuggerContract(const DebuggerContract&) = default; - - public: - virtual bool Attach(std::string path, std::string argv, ProcessID& pid) noexcept = 0; - virtual bool BreakAt(std::string symbol) noexcept = 0; - virtual bool Break() noexcept = 0; - virtual bool Continue() noexcept = 0; - virtual bool Detach() noexcept = 0; - - virtual std::unordered_map& Get() { return m_breakpoints; } - - protected: - ProcessID m_pid; - std::unordered_map m_breakpoints; -}; -} // namespace LibDebugger -- cgit v1.2.3