[Lldb-commits] [lldb] r130159 - /lldb/trunk/source/API/SBDebugger.cpp

Caroline Tice ctice at apple.com
Mon Apr 25 15:05:51 PDT 2011


Author: ctice
Date: Mon Apr 25 17:05:51 2011
New Revision: 130159

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

Add 'lldb_private' namespace where necessary to prevent ambiguity and
resulting infinite loops.


Modified:
    lldb/trunk/source/API/SBDebugger.cpp

Modified: lldb/trunk/source/API/SBDebugger.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBDebugger.cpp?rev=130159&r1=130158&r2=130159&view=diff
==============================================================================
--- lldb/trunk/source/API/SBDebugger.cpp (original)
+++ lldb/trunk/source/API/SBDebugger.cpp Mon Apr 25 17:05:51 2011
@@ -390,7 +390,7 @@
 const char *
 SBDebugger::StateAsCString (StateType state)
 {
-    return StateAsCString (state);
+    return lldb_private::StateAsCString (state);
 }
 
 bool
@@ -398,7 +398,7 @@
 {
     LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
 
-    const bool result = StateIsRunningState (state);
+    const bool result = lldb_private::StateIsRunningState (state);
     if (log)
         log->Printf ("SBDebugger::StateIsRunningState (state=%s) => %i", 
                      StateAsCString (state), result);
@@ -411,7 +411,7 @@
 {
     LogSP log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
 
-    const bool result = StateIsStoppedState (state);
+    const bool result = lldb_private::StateIsStoppedState (state);
     if (log)
         log->Printf ("SBDebugger::StateIsStoppedState (state=%s) => %i", 
                      StateAsCString (state), result);





More information about the lldb-commits mailing list