[Lldb-commits] [lldb] r140804 - /lldb/trunk/source/Commands/CommandObjectSource.cpp
Jim Ingham
jingham at apple.com
Thu Sep 29 13:22:35 PDT 2011
Author: jingham
Date: Thu Sep 29 15:22:33 2011
New Revision: 140804
URL: http://llvm.org/viewvc/llvm-project?rev=140804&view=rev
Log:
Missed one place where we should use the target's SourceManager, not the debugger's.
Modified:
lldb/trunk/source/Commands/CommandObjectSource.cpp
Modified: lldb/trunk/source/Commands/CommandObjectSource.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectSource.cpp?rev=140804&r1=140803&r2=140804&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectSource.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectSource.cpp Thu Sep 29 15:22:33 2011
@@ -452,7 +452,7 @@
// more likely because you typed it once, then typed it again
if (m_options.start_line == 0)
{
- if (m_interpreter.GetDebugger().GetSourceManager().DisplayMoreWithLineNumbers (&result.GetOutputStream(),
+ if (target->GetSourceManager().DisplayMoreWithLineNumbers (&result.GetOutputStream(),
GetBreakpointLocations ()))
{
result.SetStatus (eReturnStatusSuccessFinishResult);
More information about the lldb-commits
mailing list