From 7a23ee18ecae27c1e0201dbbb8ab781c48e859ba Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 24 Apr 2025 10:44:30 +0200 Subject: dev, dbg: Improve POSIXMachContract, but it still has some rough edges on breakpoints. Signed-off-by: Amlal El Mahrouss --- dev/LibDebugger/DebuggerContract.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dev/LibDebugger/DebuggerContract.h') diff --git a/dev/LibDebugger/DebuggerContract.h b/dev/LibDebugger/DebuggerContract.h index 540ad08..d5f62c2 100644 --- a/dev/LibDebugger/DebuggerContract.h +++ b/dev/LibDebugger/DebuggerContract.h @@ -25,8 +25,9 @@ namespace LibDebugger DebuggerContract(const DebuggerContract&) = default; public: - virtual bool Attach(ProcessID pid) noexcept = 0; - virtual bool Break(CAddress addr) noexcept = 0; + virtual bool Attach(std::string path, std::string argv, ProcessID& pid) noexcept = 0; + virtual bool Breakpoint(std::string symbol) noexcept = 0; + virtual bool Break() noexcept = 0; virtual bool Continue() noexcept = 0; virtual bool Detach() noexcept = 0; -- cgit v1.2.3