[Lldb-commits] [lldb] r166355 - /lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
Sean Callanan
scallanan at apple.com
Fri Oct 19 17:19:59 PDT 2012
Author: spyffe
Date: Fri Oct 19 19:19:59 2012
New Revision: 166355
URL: http://llvm.org/viewvc/llvm-project?rev=166355&view=rev
Log:
Fixed the iOS simulator platform:
- Fixed a crash when the executable module
couldn't be found.
- Fixed a problem that made it impossible
to attach to processes in the simulator
using the SBTarget::Attach.
Modified:
lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp?rev=166355&r1=166354&r2=166355&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp Fri Oct 19 19:19:59 2012
@@ -207,7 +207,7 @@
NULL,
NULL);
- if (exe_module_sp->GetObjectFile())
+ if (exe_module_sp && exe_module_sp->GetObjectFile())
return error;
exe_module_sp.reset();
}
@@ -412,14 +412,6 @@
}
bool
-PlatformiOSSimulator::GetProcessInfo (lldb::pid_t pid, ProcessInstanceInfo &process_info)
-{
- // TODO: if connected, send a packet to get the remote process info
- process_info.Clear();
- return false;
-}
-
-bool
PlatformiOSSimulator::GetSupportedArchitectureAtIndex (uint32_t idx, ArchSpec &arch)
{
if (idx == 0)
More information about the lldb-commits
mailing list