diff options
author | Hedges <hedges@resync.pl> | 2018-06-06 06:20:47 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-06-06 06:20:47 +0200 |
commit | 39fb3e362cf71d0542a5807c97039cd474ef3716 (patch) | |
tree | e54ad38fba3c7b2b32e5e408e9e7eb8cb6ffe6b0 /src/core/arm/unicorn/arm_unicorn.h | |
parent | Merge pull request #516 from Subv/f2i_r (diff) | |
download | yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.gz yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.bz2 yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.lz yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.xz yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.tar.zst yuzu-39fb3e362cf71d0542a5807c97039cd474ef3716.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/arm/unicorn/arm_unicorn.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/arm/unicorn/arm_unicorn.h b/src/core/arm/unicorn/arm_unicorn.h index b99b58e4c..a482a2aa3 100644 --- a/src/core/arm/unicorn/arm_unicorn.h +++ b/src/core/arm/unicorn/arm_unicorn.h @@ -7,6 +7,7 @@ #include <unicorn/unicorn.h> #include "common/common_types.h" #include "core/arm/arm_interface.h" +#include "core/gdbstub/gdbstub.h" class ARM_Unicorn final : public ARM_Interface { public: @@ -35,7 +36,10 @@ public: void Step() override; void ClearInstructionCache() override; void PageTableChanged() override{}; + void RecordBreak(GDBStub::BreakpointAddress bkpt); private: uc_engine* uc{}; + GDBStub::BreakpointAddress last_bkpt{}; + bool last_bkpt_hit; }; |