forked from OSchip/llvm-project
[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
This commit is contained in:
parent
d2eb26c7f0
commit
acdff168e2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue