diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-24 10:44:30 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-04-24 10:44:30 +0200 |
| commit | 7a23ee18ecae27c1e0201dbbb8ab781c48e859ba (patch) | |
| tree | a44bce0362e68f20a99e70115809e214b3e8d3d4 /dev/LibDebugger/DebuggerContract.h | |
| parent | eba5377ba1578695f2978ffa6443e4d2b27dc614 (diff) | |
dev, dbg: Improve POSIXMachContract, but it still has some rough edges
on breakpoints.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/LibDebugger/DebuggerContract.h')
| -rw-r--r-- | dev/LibDebugger/DebuggerContract.h | 5 |
1 files changed, 3 insertions, 2 deletions
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; |
