diff options
author | Liam <byteslice@airmail.cc> | 2022-06-06 12:56:01 -0400 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-06-16 13:18:07 -0400 |
commit | 208ed712f42cfd277405a22663197dc1c5e84cfe (patch) | |
tree | 56c1a3cbddf392d700e817cd4093564e3f096013 /src/core/debugger/debugger.h | |
parent | f86b770ff75efff029fa82b959b3f33eca1750fe (diff) |
core/debugger: memory breakpoint support
Diffstat (limited to 'src/core/debugger/debugger.h')
-rw-r--r-- | src/core/debugger/debugger.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/debugger/debugger.h b/src/core/debugger/debugger.h index f9738ca3db..b2f5033767 100644 --- a/src/core/debugger/debugger.h +++ b/src/core/debugger/debugger.h @@ -9,7 +9,8 @@ namespace Kernel { class KThread; -} +struct DebugWatchpoint; +} // namespace Kernel namespace Core { class System; @@ -40,6 +41,11 @@ public: */ void NotifyShutdown(); + /* + * Notify the debugger that the given thread has stopped due to hitting a watchpoint. + */ + bool NotifyThreadWatchpoint(Kernel::KThread* thread, const Kernel::DebugWatchpoint& watch); + private: std::unique_ptr<DebuggerImpl> impl; }; |