[Lldb-commits] [lldb] r342998 - Replace boolean parameter with enum value according r342633

Tatyana Krasnukha via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 25 10:59:44 PDT 2018


Author: tkrasnukha
Date: Tue Sep 25 10:59:44 2018
New Revision: 342998

URL: http://llvm.org/viewvc/llvm-project?rev=342998&view=rev
Log:
Replace boolean parameter with enum value according r342633

Modified:
    lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp

Modified: lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp?rev=342998&r1=342997&r2=342998&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp Tue Sep 25 10:59:44 2018
@@ -335,7 +335,7 @@ ProcessFreeBSD::DoAttachToProcessWithID(
     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);
     }
   }
 }




More information about the lldb-commits mailing list