diff options
author | Sean Callanan <scallanan@apple.com> | 2012-10-20 00:19:59 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2012-10-20 00:19:59 +0000 |
commit | ae99b0b3cc8d4e18f643ed151fac5c8df9f53619 (patch) | |
tree | 63ce41d52bed620e8ee2d1ae6bc4428f02f5e8b8 /lldb | |
parent | 550f7f7e1901e6792b98518634abcbc0fc137773 (diff) | |
download | bcm5719-llvm-ae99b0b3cc8d4e18f643ed151fac5c8df9f53619.tar.gz bcm5719-llvm-ae99b0b3cc8d4e18f643ed151fac5c8df9f53619.zip |
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.
llvm-svn: 166355
Diffstat (limited to 'lldb')
-rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp index 07ef32fdc9a..90032259603 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp @@ -207,7 +207,7 @@ PlatformiOSSimulator::ResolveExecutable (const FileSpec &exe_file, 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 @@ PlatformiOSSimulator::FindProcesses (const ProcessInstanceInfoMatch &match_info, } 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) |