summaryrefslogtreecommitdiff
path: root/src/core/debugger/gdbstub.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
commit737c446fc18618cf80a1243104ac8f5114c29a22 (patch)
tree881e88bcc52e4d0639906f61a9b1a5292e36767d /src/core/debugger/gdbstub.h
parent73e13aa09051ce802ad6a4c98e0ce325a2cd707c (diff)
parent208ed712f42cfd277405a22663197dc1c5e84cfe (diff)
Merge pull request #8432 from liamwhite/watchpoint
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:
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);