The iOSSimulator platform should create a PlatformDarwin with
authorJason Molenda <jmolenda@apple.com>
Tue, 25 Sep 2012 23:32:06 +0000 (23:32 +0000)
committerJason Molenda <jmolenda@apple.com>
Tue, 25 Sep 2012 23:32:06 +0000 (23:32 +0000)
is_host == true so PlatformDarwin knows it can do same-host
operations like process lookup.  <rdar://problem/12296249>

llvm-svn: 164647

lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp

index 5097d01..07ef32f 100644 (file)
@@ -147,7 +147,7 @@ PlatformiOSSimulator::GetDescriptionStatic()
 /// Default Constructor
 //------------------------------------------------------------------
 PlatformiOSSimulator::PlatformiOSSimulator () :
-    PlatformDarwin (false),
+    PlatformDarwin (true),
     m_sdk_directory ()
 {
 }