summaryrefslogtreecommitdiff
path: root/src/common/break_points.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-14 18:13:58 -0400
committerLioncash <mathew1800@gmail.com>2018-08-14 18:14:01 -0400
commit11895d54af6810246c537e4c5c70ae7158c5ada7 (patch)
treefd5f5035401a67d9bae62fa245d736be10b701a2 /src/common/break_points.h
parentd1520410a3cf38a14cd3f3b1dc3fcc5ae38c6b0b (diff)
common: Remove unused old breakpoint source files
These currently aren't used and contain commented out source code that corresponds to Dolphin's JIT. Given our CPU code is organized quite differently, we shouldn't be keeping this around (at the moment it just adds to compile times marginally).
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
deleted file mode 100644
index e15b9f842..000000000
--- a/src/common/break_points.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project
-// Licensed under GPLv2 or any later version
-// Refer to the license.txt file included.
-
-#pragma once
-
-#include <string>
-#include <vector>
-#include "common/common_types.h"
-
-class DebugInterface;
-
-struct TBreakPoint {
- u32 iAddress;
- bool bOn;
- bool bTemporary;
-};
-
-// Code breakpoints.
-class BreakPoints {
-public:
- typedef std::vector<TBreakPoint> TBreakPoints;
- typedef std::vector<std::string> TBreakPointsStr;
-
- const TBreakPoints& GetBreakPoints() {
- return m_BreakPoints;
- }
-
- TBreakPointsStr GetStrings() const;
- void AddFromStrings(const TBreakPointsStr& bps);
-
- // is address breakpoint
- bool IsAddressBreakPoint(u32 iAddress) const;
- bool IsTempBreakPoint(u32 iAddress) const;
-
- // Add BreakPoint
- void Add(u32 em_address, bool temp = false);
- void Add(const TBreakPoint& bp);
-
- // Remove Breakpoint
- void Remove(u32 iAddress);
- void Clear();
-
- void DeleteByAddress(u32 Address);
-
-private:
- TBreakPoints m_BreakPoints;
- u32 m_iBreakOnCount;
-};