aboutsummaryrefslogtreecommitdiff
path: root/src/core/debugger/debugger.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-06-21 16:04:57 -0700
committerGitHub <noreply@github.com>2022-06-21 16:04:57 -0700
commitf4201ec44e9063dadaf01e206ac0f1fc76b485fb (patch)
tree881e88bcc52e4d0639906f61a9b1a5292e36767d /src/core/debugger/debugger.h
parentd1d50f28c896f829e2bce22ad23a3b15637eb7fc (diff)
parent8d2abc710cbcf98f0e2e5ed4645bb6f53301dfb1 (diff)
Merge pull request #8432 from liamwhite/watchpoint
core/debugger: memory breakpoint support
Diffstat (limited to 'src/core/debugger/debugger.h')
-rw-r--r--src/core/debugger/debugger.h8
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;
};