summaryrefslogtreecommitdiff
path: root/src/core/debugger/gdbstub.h
diff options
context:
space:
mode:
authorGravatar Liam2022-06-06 12:56:01 -0400
committerGravatar Liam2022-06-16 13:18:07 -0400
commit208ed712f42cfd277405a22663197dc1c5e84cfe (patch)
tree56c1a3cbddf392d700e817cd4093564e3f096013 /src/core/debugger/gdbstub.h
parentMerge pull request #8457 from liamwhite/kprocess-suspend (diff)
downloadyuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.tar.gz
yuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.tar.xz
yuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.zip
core/debugger: memory breakpoint support
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:
24 void Connected() override; 24 void Connected() override;
25 void Stopped(Kernel::KThread* thread) override; 25 void Stopped(Kernel::KThread* thread) override;
26 void ShuttingDown() override; 26 void ShuttingDown() override;
27 void Watchpoint(Kernel::KThread* thread, const Kernel::DebugWatchpoint& watch) override;
27 std::vector<DebuggerAction> ClientData(std::span<const u8> data) override; 28 std::vector<DebuggerAction> ClientData(std::span<const u8> data) override;
28 29
29private: 30private:
@@ -31,6 +32,8 @@ private:
31 void ExecuteCommand(std::string_view packet, std::vector<DebuggerAction>& actions); 32 void ExecuteCommand(std::string_view packet, std::vector<DebuggerAction>& actions);
32 void HandleVCont(std::string_view command, std::vector<DebuggerAction>& actions); 33 void HandleVCont(std::string_view command, std::vector<DebuggerAction>& actions);
33 void HandleQuery(std::string_view command); 34 void HandleQuery(std::string_view command);
35 void HandleBreakpointInsert(std::string_view command);
36 void HandleBreakpointRemove(std::string_view command);
34 std::vector<char>::const_iterator CommandEnd() const; 37 std::vector<char>::const_iterator CommandEnd() const;
35 std::optional<std::string> DetachCommand(); 38 std::optional<std::string> DetachCommand();
36 Kernel::KThread* GetThreadByID(u64 thread_id); 39 Kernel::KThread* GetThreadByID(u64 thread_id);