aboutsummaryrefslogtreecommitdiff
path: root/src/core/debugger/debugger_interface.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-06-06 12:56:01 -0400
committerLiam <byteslice@airmail.cc>2022-06-16 13:18:07 -0400
commit208ed712f42cfd277405a22663197dc1c5e84cfe (patch)
tree56c1a3cbddf392d700e817cd4093564e3f096013 /src/core/debugger/debugger_interface.h
parentf86b770ff75efff029fa82b959b3f33eca1750fe (diff)
core/debugger: memory breakpoint support
Diffstat (limited to 'src/core/debugger/debugger_interface.h')
-rw-r--r--src/core/debugger/debugger_interface.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/debugger/debugger_interface.h b/src/core/debugger/debugger_interface.h
index c0bb4ecafe..5b31edc430 100644
--- a/src/core/debugger/debugger_interface.h
+++ b/src/core/debugger/debugger_interface.h
@@ -11,7 +11,8 @@
namespace Kernel {
class KThread;
-}
+struct DebugWatchpoint;
+} // namespace Kernel
namespace Core {
@@ -71,6 +72,11 @@ public:
*/
virtual void ShuttingDown() = 0;
+ /*
+ * Called when emulation has stopped on a watchpoint.
+ */
+ virtual void Watchpoint(Kernel::KThread* thread, const Kernel::DebugWatchpoint& watch) = 0;
+
/**
* Called when new data is asynchronously received on the client socket.
* A list of actions to perform is returned.