diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-09-21 22:47:15 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-09-21 22:47:15 +0000 |
commit | fd158f411acdbee1b74bde9449bc2041fa323d58 (patch) | |
tree | 37f011edbec73f02d602e4e8bb996ea4cfae42ee /lldb/source/Target/ThreadPlanBase.cpp | |
parent | 8a529dc10aac301fde365a6ca3562a80f6e4c1d0 (diff) | |
download | bcm5719-llvm-fd158f411acdbee1b74bde9449bc2041fa323d58.tar.gz bcm5719-llvm-fd158f411acdbee1b74bde9449bc2041fa323d58.zip |
StopInfoWatchpoint should override the StopInfo::ShouldStop() virtual method and delegate to
the WatchpointLocation object to check whether it should stop and allow it to update the hit
count, among other bookkeepings.
llvm-svn: 140279
Diffstat (limited to 'lldb/source/Target/ThreadPlanBase.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanBase.cpp b/lldb/source/Target/ThreadPlanBase.cpp index 7529991a7bd..5c2631ad172 100644 --- a/lldb/source/Target/ThreadPlanBase.cpp +++ b/lldb/source/Target/ThreadPlanBase.cpp @@ -99,6 +99,7 @@ ThreadPlanBase::ShouldStop (Event *event_ptr) return false; case eStopReasonBreakpoint: + case eStopReasonWatchpoint: if (stop_info_sp->ShouldStop(event_ptr)) { // If we are going to stop for a breakpoint, then unship the other plans |