diff options
| author | hachem <im@hachem.wtf> | 2026-08-28 03:25:56 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-08-28 03:25:56 +0200 |
| commit | 9a6ce759212d293a96f82678b59148d8a49efc93 (patch) | |
| tree | 684efea100bc473ce30745e8f0545e70de1f978c /src/debugger/debugger.h | |
| parent | 801c6a8916a495162b200fff0d14cfbf89ea854c (diff) | |
add: link llvm
Diffstat (limited to 'src/debugger/debugger.h')
| -rw-r--r-- | src/debugger/debugger.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/debugger/debugger.h b/src/debugger/debugger.h index c810417..c4f3431 100644 --- a/src/debugger/debugger.h +++ b/src/debugger/debugger.h @@ -5,6 +5,7 @@ #include <cstdint> #include <filesystem> +#include <memory> #include <span> #include <string> #include <string_view> @@ -76,7 +77,14 @@ namespace Hsdbg auto is_stopped() const -> bool { return m_state == TargetState::Stopped; } private: + // keeps the lldb headers out of everything that talks to the debugger + struct Session; + auto set_state(TargetState state) -> void; + auto resolve_breakpoint(Breakpoint& breakpoint) -> void; + auto sync_breakpoints() -> void; + + std::unique_ptr<Session> m_session; TargetState m_state = TargetState::NoTarget; StopReason m_stop_reason = StopReason::None; |
