[Lldb-commits] [lldb] r137300 - in /lldb/trunk/source: Core/ModuleList.cpp Target/ThreadPlanCallFunction.cpp
Greg Clayton
gclayton at apple.com
Wed Aug 10 21:30:39 PDT 2011
Author: gclayton
Date: Wed Aug 10 23:30:39 2011
New Revision: 137300
URL: http://llvm.org/viewvc/llvm-project?rev=137300&view=rev
Log:
Fix the broken build that happened with my last checkin.
Modified:
lldb/trunk/source/Core/ModuleList.cpp
lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
Modified: lldb/trunk/source/Core/ModuleList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ModuleList.cpp?rev=137300&r1=137299&r2=137300&view=diff
==============================================================================
--- lldb/trunk/source/Core/ModuleList.cpp (original)
+++ lldb/trunk/source/Core/ModuleList.cpp Wed Aug 10 23:30:39 2011
@@ -113,9 +113,9 @@
ModuleList::RemoveOrphans ()
{
Mutex::Locker locker(m_modules_mutex);
- collection::reverse_iterator pos = m_modules.rbegin();
+ collection::iterator pos = m_modules.begin();
size_t remove_count = 0;
- while (pos != m_modules.rend())
+ while (pos != m_modules.end())
{
if (pos->unique())
{
Modified: lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanCallFunction.cpp?rev=137300&r1=137299&r2=137300&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanCallFunction.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanCallFunction.cpp Wed Aug 10 23:30:39 2011
@@ -80,7 +80,7 @@
{
if (log)
log->Printf ("Could not find object file for module \"%s\".",
- executableModuleSP->GetFileSpec().GetFilename().AsCString());
+ exe_module->GetFileSpec().GetFilename().AsCString());
return;
}
m_start_addr = objectFile->GetEntryPointAddress();
@@ -88,7 +88,7 @@
{
if (log)
log->Printf ("Could not find entry point address for executable module \"%s\".",
- executableModuleSP->GetFileSpec().GetFilename().AsCString());
+ exe_module->GetFileSpec().GetFilename().AsCString());
return;
}
}
@@ -196,7 +196,7 @@
{
if (log)
log->Printf ("Could not find object file for module \"%s\".",
- executableModuleSP->GetFileSpec().GetFilename().AsCString());
+ exe_module->GetFileSpec().GetFilename().AsCString());
return;
}
m_start_addr = objectFile->GetEntryPointAddress();
More information about the lldb-commits
mailing list