[Lldb-commits] [lldb] r134505 - /lldb/trunk/source/Core/ValueObject.cpp

Jim Ingham jingham at apple.com
Wed Jul 6 10:42:14 PDT 2011


Author: jingham
Date: Wed Jul  6 12:42:14 2011
New Revision: 134505

URL: http://llvm.org/viewvc/llvm-project?rev=134505&view=rev
Log:
Set the EvaluationPoint's m_thread_id to the RIGHT invalid define...

Modified:
    lldb/trunk/source/Core/ValueObject.cpp

Modified: lldb/trunk/source/Core/ValueObject.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ValueObject.cpp?rev=134505&r1=134504&r2=134505&view=diff
==============================================================================
--- lldb/trunk/source/Core/ValueObject.cpp (original)
+++ lldb/trunk/source/Core/ValueObject.cpp Wed Jul  6 12:42:14 2011
@@ -1805,7 +1805,7 @@
 ValueObject::EvaluationPoint::EvaluationPoint (ExecutionContextScope *exe_scope, bool use_selected):
     m_needs_update (true),
     m_first_update (true),
-    m_thread_id (LLDB_INVALID_UID),
+    m_thread_id (LLDB_INVALID_THREAD_ID),
     m_stop_id (0)
     
 {
@@ -1931,8 +1931,7 @@
         Thread *our_thread = m_process_sp->GetThreadList().FindThreadByIndexID (m_thread_id).get();
         if (our_thread == NULL)
         {
-            //SetInvalid();
-            m_exe_scope = m_process_sp.get();
+            SetInvalid();
         }
         else
         {





More information about the lldb-commits mailing list