diff options
| author | 2022-06-06 12:56:01 -0400 | |
|---|---|---|
| committer | 2022-06-16 13:18:07 -0400 | |
| commit | 208ed712f42cfd277405a22663197dc1c5e84cfe (patch) | |
| tree | 56c1a3cbddf392d700e817cd4093564e3f096013 /src/core/debugger/debugger.h | |
| parent | Merge pull request #8457 from liamwhite/kprocess-suspend (diff) | |
| download | yuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.tar.gz yuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.tar.xz yuzu-208ed712f42cfd277405a22663197dc1c5e84cfe.zip | |
core/debugger: memory breakpoint support
Diffstat (limited to 'src/core/debugger/debugger.h')
| -rw-r--r-- | src/core/debugger/debugger.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/debugger/debugger.h b/src/core/debugger/debugger.h index f9738ca3d..b2f503376 100644 --- a/src/core/debugger/debugger.h +++ b/src/core/debugger/debugger.h | |||
| @@ -9,7 +9,8 @@ | |||
| 9 | 9 | ||
| 10 | namespace Kernel { | 10 | namespace Kernel { |
| 11 | class KThread; | 11 | class KThread; |
| 12 | } | 12 | struct DebugWatchpoint; |
| 13 | } // namespace Kernel | ||
| 13 | 14 | ||
| 14 | namespace Core { | 15 | namespace Core { |
| 15 | class System; | 16 | class System; |
| @@ -40,6 +41,11 @@ public: | |||
| 40 | */ | 41 | */ |
| 41 | void NotifyShutdown(); | 42 | void NotifyShutdown(); |
| 42 | 43 | ||
| 44 | /* | ||
| 45 | * Notify the debugger that the given thread has stopped due to hitting a watchpoint. | ||
| 46 | */ | ||
| 47 | bool NotifyThreadWatchpoint(Kernel::KThread* thread, const Kernel::DebugWatchpoint& watch); | ||
| 48 | |||
| 43 | private: | 49 | private: |
| 44 | std::unique_ptr<DebuggerImpl> impl; | 50 | std::unique_ptr<DebuggerImpl> impl; |
| 45 | }; | 51 | }; |