Replace boolean parameter with enum value according r342633
authorTatyana Krasnukha <tatyana@synopsys.com>
Tue, 25 Sep 2018 17:59:44 +0000 (17:59 +0000)
committerTatyana Krasnukha <tatyana@synopsys.com>
Tue, 25 Sep 2018 17:59:44 +0000 (17:59 +0000)
llvm-svn: 342998

lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp

index eec4933..d21adc2 100644 (file)
@@ -335,7 +335,7 @@ ProcessFreeBSD::DoAttachToProcessWithID(lldb::pid_t pid,
     GetTarget().SetArchitecture(module_arch);
 
   // Initialize the target module list
-  GetTarget().SetExecutableModule(exe_module_sp, true);
+  GetTarget().SetExecutableModule(exe_module_sp, eLoadDependentsYes);
 
   SetSTDIOFileDescriptor(m_monitor->GetTerminalFD());
 
@@ -519,7 +519,7 @@ void ProcessFreeBSD::DoDidExec() {
           executable_search_paths.GetSize() ? &executable_search_paths : NULL);
       if (!error.Success())
         return;
-      target->SetExecutableModule(exe_module_sp, true);
+      target->SetExecutableModule(exe_module_sp, eLoadDependentsYes);
     }
   }
 }