diff options
author | Mohit K. Bhakkad <mohit.bhakkad@gmail.com> | 2015-10-06 05:25:17 +0000 |
---|---|---|
committer | Mohit K. Bhakkad <mohit.bhakkad@gmail.com> | 2015-10-06 05:25:17 +0000 |
commit | acdff168e2e3000d0db7eddd16fef7f238e28ea0 (patch) | |
tree | 9d64d7dc24a3042287d0af78247bc4b9115f548d | |
parent | d2eb26c7f089f27dc7655dd7e9ba8dddf0341c64 (diff) | |
download | bcm5719-llvm-acdff168e2e3000d0db7eddd16fef7f238e28ea0.tar.gz bcm5719-llvm-acdff168e2e3000d0db7eddd16fef7f238e28ea0.zip |
[LLDB][MIPS] Fix hit_count for mips watchpoints
Reviewers: clayborg, jingham.
Subscribers: jaydeep, bhushan, dsanders, sagar, nitesh.jain, zturner, jasonmolenda, lldb-commits.
Differential Revision: http://reviews.llvm.org/D13241
llvm-svn: 249377
-rw-r--r-- | lldb/source/Target/StopInfo.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp index fc1cb9af238..c77ca8f73f6 100644 --- a/lldb/source/Target/StopInfo.cpp +++ b/lldb/source/Target/StopInfo.cpp @@ -757,9 +757,12 @@ protected: { 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 |