summaryrefslogtreecommitdiffstats
path: root/src/core/debugger/gdbstub.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-06-22 01:04:57 +0200
committerGitHub <noreply@github.com>2022-06-22 01:04:57 +0200
commit737c446fc18618cf80a1243104ac8f5114c29a22 (patch)
tree881e88bcc52e4d0639906f61a9b1a5292e36767d /src/core/debugger/gdbstub.h
parentMerge pull request #8468 from liamwhite/dispatch-tracking (diff)
parentcore/debugger: memory breakpoint support (diff)
downloadyuzu-737c446fc18618cf80a1243104ac8f5114c29a22.tar
yuzu-737c446fc18618cf80a1243104ac8f5114c29a22.tar.gz
yuzu-737c446fc18618cf80a1243104ac8f5114c29a22.tar.bz2
yuzu-737c446fc18618cf80a1243104ac8f5114c29a22.tar.lz
yuzu-737c446fc18618cf80a1243104ac8f5114c29a22.tar.xz
yuzu-737c446fc18618cf80a1243104ac8f5114c29a22.tar.zst
yuzu-737c446fc18618cf80a1243104ac8f5114c29a22.zip
Diffstat (limited to 'src/core/debugger/gdbstub.h')
-rw-r--r--src/core/debugger/gdbstub.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/debugger/gdbstub.h b/src/core/debugger/gdbstub.h
index ec934c77e..0b0f56e4b 100644
--- a/src/core/debugger/gdbstub.h
+++ b/src/core/debugger/gdbstub.h
@@ -24,6 +24,7 @@ public:
void Connected() override;
void Stopped(Kernel::KThread* thread) override;
void ShuttingDown() override;
+ void Watchpoint(Kernel::KThread* thread, const Kernel::DebugWatchpoint& watch) override;
std::vector<DebuggerAction> ClientData(std::span<const u8> data) override;
private:
@@ -31,6 +32,8 @@ private:
void ExecuteCommand(std::string_view packet, std::vector<DebuggerAction>& actions);
void HandleVCont(std::string_view command, std::vector<DebuggerAction>& actions);
void HandleQuery(std::string_view command);
+ void HandleBreakpointInsert(std::string_view command);
+ void HandleBreakpointRemove(std::string_view command);
std::vector<char>::const_iterator CommandEnd() const;
std::optional<std::string> DetachCommand();
Kernel::KThread* GetThreadByID(u64 thread_id);