diff options
| -rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp index e4699d61bb8..5fd5b6d9506 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformRemoteiOS.cpp @@ -708,7 +708,7 @@ PlatformRemoteiOS::GetSharedModule (const ModuleSpec &module_spec, module_spec.GetArchitecture(), module_sp, NULL); - if (module_sp && module_sp->GetUUID() == *module_uuid_ptr) + if (module_sp && ((module_uuid_ptr == NULL) || (module_sp->GetUUID() == *module_uuid_ptr))) { //printf ("sdk[%u] last found\n", m_last_module_sdk_idx); error.Clear(); @@ -734,7 +734,7 @@ PlatformRemoteiOS::GetSharedModule (const ModuleSpec &module_spec, module_spec.GetArchitecture(), module_sp, NULL); - if (module_sp && module_sp->GetUUID() == *module_uuid_ptr) + if (module_sp && ((module_uuid_ptr == NULL) || (module_sp->GetUUID() == *module_uuid_ptr))) { // Remember the index of the last SDK that we found a file // in in case the wrong SDK was selected. |

