[Lldb-commits] [lldb] r132997 - in /lldb/trunk/source: API/SBHostOS.cpp Interpreter/ScriptInterpreterPython.cpp

Caroline Tice ctice at apple.com
Tue Jun 14 09:36:12 PDT 2011


Author: ctice
Date: Tue Jun 14 11:36:12 2011
New Revision: 132997

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

Add error message; clean up comment.


Modified:
    lldb/trunk/source/API/SBHostOS.cpp
    lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp

Modified: lldb/trunk/source/API/SBHostOS.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/API/SBHostOS.cpp?rev=132997&r1=132996&r2=132997&view=diff
==============================================================================
--- lldb/trunk/source/API/SBHostOS.cpp (original)
+++ lldb/trunk/source/API/SBHostOS.cpp Tue Jun 14 11:36:12 2011
@@ -41,7 +41,7 @@
         log->Printf ("SBHostOS::ThreadCreate (name=\"%s\", thread_function=%p, thread_arg=%p, error_ptr=%p)", name, 
                      thread_function, thread_arg, error_ptr);
 
-    // CAROLINE: FIXME: You need to log a return value?
+    // FIXME: You should log the return value?
 
     return Host::ThreadCreate (name, thread_function, thread_arg, error_ptr ? error_ptr->get() : NULL);
 }

Modified: lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp?rev=132997&r1=132996&r2=132997&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp (original)
+++ lldb/trunk/source/Interpreter/ScriptInterpreterPython.cpp Tue Jun 14 11:36:12 2011
@@ -1038,7 +1038,7 @@
                 }
                 else
                 {
-                    // FIXME:  Error processing.
+                    out_file.Printf ("Warning:  Unable to find script intepreter; no command attached to breakpoint.\n");
                 }
             }
         }





More information about the lldb-commits mailing list