[Lldb-commits] [PATCH] D13241: [LLDB][MIPS] Fix hit_count for mips watchpoints

Mohit Bhakkad via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 5 22:27:05 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL249377: [LLDB][MIPS] Fix hit_count for mips watchpoints (authored by mohit.bhakkad).

Changed prior to commit:
  http://reviews.llvm.org/D13241?vs=35958&id=36583#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13241

Files:
  lldb/trunk/source/Target/StopInfo.cpp

Index: lldb/trunk/source/Target/StopInfo.cpp
===================================================================
--- lldb/trunk/source/Target/StopInfo.cpp
+++ lldb/trunk/source/Target/StopInfo.cpp
@@ -757,9 +757,12 @@
                 {
                     WatchpointSP wp_hit_sp = thread_sp->CalculateTarget()->GetWatchpointList().FindByAddress(m_watch_hit_addr);
                     if (!wp_hit_sp)
+                    {
                         m_should_stop = false;
+                        wp_sp->IncrementFalseAlarmsAndReviseHitCount();
+                    }
                 }
-                
+
                 if (m_should_stop && wp_sp->GetConditionText() != NULL)
                 {
                     // We need to make sure the user sees any parse errors in their condition, so we'll hook the


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13241.36583.patch
Type: text/x-patch
Size: 815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151006/9193ec2f/attachment.bin>


More information about the lldb-commits mailing list