summaryrefslogtreecommitdiff
path: root/source/Breakpoint/StoppointLocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Breakpoint/StoppointLocation.cpp')
-rw-r--r--source/Breakpoint/StoppointLocation.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/Breakpoint/StoppointLocation.cpp b/source/Breakpoint/StoppointLocation.cpp
index 9d8d9241253a4..35e5979bd9e7e 100644
--- a/source/Breakpoint/StoppointLocation.cpp
+++ b/source/Breakpoint/StoppointLocation.cpp
@@ -46,3 +46,10 @@ StoppointLocation::StoppointLocation (break_id_t bid, addr_t addr, uint32_t byte
StoppointLocation::~StoppointLocation()
{
}
+
+void
+StoppointLocation::DecrementHitCount ()
+{
+ assert (m_hit_count > 0);
+ --m_hit_count;
+}