diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-11 14:04:40 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-11 14:12:08 +0200 |
commit | 5dc9950772c6d23a5798a4a0366ac767b489c7ad (patch) | |
tree | 791c5bc89014f5df00ef2c827672d3026f9e8cf3 /src/common/break_points.h | |
parent | Merge pull request #1141 from lioncash/hdr (diff) | |
download | yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.gz yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.bz2 yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.lz yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.xz yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.zst yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/break_points.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/common/break_points.h b/src/common/break_points.h index f0a55e7b1..b0629df37 100644 --- a/src/common/break_points.h +++ b/src/common/break_points.h @@ -18,31 +18,6 @@ struct TBreakPoint bool bTemporary; }; -struct TMemCheck -{ - TMemCheck(): - StartAddress(0), EndAddress(0), - bRange(false), OnRead(false), OnWrite(false), - Log(false), Break(false), numHits(0) - { } - - u32 StartAddress; - u32 EndAddress; - - bool bRange; - - bool OnRead; - bool OnWrite; - - bool Log; - bool Break; - - u32 numHits; - - void Action(DebugInterface *dbg_interface, u32 iValue, u32 addr, - bool write, int size, u32 pc); -}; - // Code breakpoints. class BreakPoints { @@ -73,27 +48,3 @@ private: TBreakPoints m_BreakPoints; u32 m_iBreakOnCount; }; - - -// Memory breakpoints -class MemChecks -{ -public: - typedef std::vector<TMemCheck> TMemChecks; - typedef std::vector<std::string> TMemChecksStr; - - TMemChecks m_MemChecks; - - const TMemChecks& GetMemChecks() { return m_MemChecks; } - - TMemChecksStr GetStrings() const; - void AddFromStrings(const TMemChecksStr& mcs); - - void Add(const TMemCheck& rMemoryCheck); - - // memory breakpoint - TMemCheck *GetMemCheck(u32 address); - void Remove(u32 _Address); - - void Clear() { m_MemChecks.clear(); }; -}; |