[Lldb-commits] [lldb] r217668 - Fix lldb-mi driver for running on OSX.

Deepak Panickal deepak at codeplay.com
Fri Sep 12 05:17:21 PDT 2014


Author: panickal
Date: Fri Sep 12 07:17:21 2014
New Revision: 217668

URL: http://llvm.org/viewvc/llvm-project?rev=217668&view=rev
Log:
Fix lldb-mi driver for running on OSX.

Modified:
    lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp

Modified: lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp?rev=217668&r1=217667&r2=217668&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIUtilSystemOsx.cpp Fri Sep 12 07:17:21 2014
@@ -95,11 +95,8 @@ CMIUtilString CMIUtilSystemOsx::GetOSLas
 //--
 bool CMIUtilSystemOsx::GetExecutablesPath( CMIUtilString & vrwFileNamePath ) const
 {
-	bool bOk = MIstatus::failure;
-	
-	// ToDo: Implement OSX version
-	
-	return bOk;
+	vrwFileNamePath = CMIUtilString( "." );
+	return MIstatus::success;
 }
 
 //++ ------------------------------------------------------------------------------------
@@ -115,11 +112,8 @@ bool CMIUtilSystemOsx::GetExecutablesPat
 //--
 bool CMIUtilSystemOsx::GetLogFilesPath( CMIUtilString & vrwFileNamePath ) const
 {
-	bool bOk = MIstatus::failure;
-	
-	// ToDo: Implement OSX version
-	
-	return bOk;
+	vrwFileNamePath = CMIUtilString( "." );
+	return MIstatus::success;
 }
 
 #endif // #if defined( __APPLE__ )





More information about the lldb-commits mailing list