summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanBase.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-02-22 21:23:43 +0000
committerJim Ingham <jingham@apple.com>2013-02-22 21:23:43 +0000
commit9b620f341a4810a1538706c73887f3cd913022ea (patch)
tree2810e50c21c191ea65eea0cbd83b5cbc72634fec /lldb/source/Target/ThreadPlanBase.cpp
parent19457e282e3ed5dc3bd981be27dabdc2e62ef481 (diff)
downloadbcm5719-llvm-9b620f341a4810a1538706c73887f3cd913022ea.tar.gz
bcm5719-llvm-9b620f341a4810a1538706c73887f3cd913022ea.zip
The thread plans run before the event is broadcast, so they should be calling ShouldStopSynchronous on any Stop Info's
they want to check. The full ShouldStop should only be called on the public side of the event system. llvm-svn: 175922
Diffstat (limited to 'lldb/source/Target/ThreadPlanBase.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanBase.cpp b/lldb/source/Target/ThreadPlanBase.cpp
index fda430c788c..cf1f68fee3c 100644
--- a/lldb/source/Target/ThreadPlanBase.cpp
+++ b/lldb/source/Target/ThreadPlanBase.cpp
@@ -101,7 +101,7 @@ ThreadPlanBase::ShouldStop (Event *event_ptr)
case eStopReasonBreakpoint:
case eStopReasonWatchpoint:
- if (stop_info_sp->ShouldStop(event_ptr))
+ if (stop_info_sp->ShouldStopSynchronous(event_ptr))
{
// If we are going to stop for a breakpoint, then unship the other plans
// at this point. Don't force the discard, however, so Master plans can stay
OpenPOWER on IntegriCloud