[Lldb-commits] [lldb] r124936 - /lldb/branches/apple/calcite/lldb/tools/debugserver/source/MacOSX/MachThread.cpp

Greg Clayton gclayton at apple.com
Fri Feb 4 21:24:18 PST 2011


Author: gclayton
Date: Fri Feb  4 23:24:18 2011
New Revision: 124936

URL: http://llvm.org/viewvc/llvm-project?rev=124936&view=rev
Log:
Hail mary.


Modified:
    lldb/branches/apple/calcite/lldb/tools/debugserver/source/MacOSX/MachThread.cpp

Modified: lldb/branches/apple/calcite/lldb/tools/debugserver/source/MacOSX/MachThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/branches/apple/calcite/lldb/tools/debugserver/source/MacOSX/MachThread.cpp?rev=124936&r1=124935&r2=124936&view=diff
==============================================================================
--- lldb/branches/apple/calcite/lldb/tools/debugserver/source/MacOSX/MachThread.cpp (original)
+++ lldb/branches/apple/calcite/lldb/tools/debugserver/source/MacOSX/MachThread.cpp Fri Feb  4 23:24:18 2011
@@ -193,22 +193,22 @@
 bool
 MachThread::IsUserReady()
 {
-    if (m_basicInfo.run_state == 0)
-        GetBasicInfo ();
-    
-    switch (m_basicInfo.run_state)
-    {
-    default: 
-    case TH_STATE_UNINTERRUPTIBLE:  
-        break;
-
-    case TH_STATE_RUNNING:
-    case TH_STATE_STOPPED:
-    case TH_STATE_WAITING:
-    case TH_STATE_HALTED:
+//    if (m_basicInfo.run_state == 0)
+//        GetBasicInfo ();
+//    
+//    switch (m_basicInfo.run_state)
+//    {
+//    default: 
+//    case TH_STATE_UNINTERRUPTIBLE:  
+//        break;
+//
+//    case TH_STATE_RUNNING:
+//    case TH_STATE_STOPPED:
+//    case TH_STATE_WAITING:
+//    case TH_STATE_HALTED:
         return true;
-    }
-    return false;
+//    }
+//    return false;
 }
 
 struct thread_basic_info *





More information about the lldb-commits mailing list