summaryrefslogtreecommitdiff
path: root/src/common/break_points.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-09-11 09:47:36 -0400
committerbunnei <bunneidev@gmail.com>2015-09-11 09:47:36 -0400
commitef622a07ffc95a1cd3229556244a0fa887cf2e6f (patch)
treea070f5ee545eebd76fc685f43ae5e1ce857055bb /src/common/break_points.h
parent8c573218b1576779bf049be2d2a5a3230480c8f5 (diff)
parent5dc9950772c6d23a5798a4a0366ac767b489c7ad (diff)
Merge pull request #1144 from lioncash/remove
common: Get rid of debug_interface.h
Diffstat (limited to 'src/common/break_points.h')
-rw-r--r--src/common/break_points.h49
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(); };
-};