[Lldb-commits] [lldb] r236762 - Add a missing check for m_real_stop_reason.

Jim Ingham jingham at apple.com
Thu May 7 11:51:05 PDT 2015


Author: jingham
Date: Thu May  7 13:51:04 2015
New Revision: 236762

URL: http://llvm.org/viewvc/llvm-project?rev=236762&view=rev
Log:
Add a missing check for m_real_stop_reason.

<rdar://problem/20738527>

Modified:
    lldb/trunk/source/Target/ThreadPlanCallFunction.cpp

Modified: lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanCallFunction.cpp?rev=236762&r1=236761&r2=236762&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanCallFunction.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanCallFunction.cpp Thu May  7 13:51:04 2015
@@ -407,7 +407,7 @@ ThreadPlanCallFunction::DoPlanExplainsSt
         // signal that is set not to stop.  Check that here first.  We just say we explain the stop
         // but aren't done and everything will continue on from there.
         
-        if (m_real_stop_info_sp->ShouldStopSynchronous(event_ptr))
+        if (m_real_stop_info_sp && m_real_stop_info_sp->ShouldStopSynchronous(event_ptr))
         {
             SetPlanComplete(false);
             if (m_subplan_sp)





More information about the lldb-commits mailing list