[Lldb-commits] [lldb] r137008 - /lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp

Greg Clayton gclayton at apple.com
Fri Aug 5 17:50:36 PDT 2011


Author: gclayton
Date: Fri Aug  5 19:50:36 2011
New Revision: 137008

URL: http://llvm.org/viewvc/llvm-project?rev=137008&view=rev
Log:
Fixed a loop that I was testing changes with and forgot
to revert to zero.


Modified:
    lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp

Modified: lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp?rev=137008&r1=137007&r2=137008&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/MacOSX-DYLD/DynamicLoaderMacOSXDYLD.cpp Fri Aug  5 19:50:36 2011
@@ -958,7 +958,7 @@
         ModuleList &modules = target.GetImages();
         ModuleList not_loaded_modules;
         size_t num_modules = modules.GetSize();
-        for (size_t i = 1; i < num_modules; i++)
+        for (size_t i = 0; i < num_modules; i++)
         {
             ModuleSP module_sp = modules.GetModuleAtIndex(i);
             if (!module_sp->IsLoadedInTarget (&target))





More information about the lldb-commits mailing list