aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectSource.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2011-09-29 20:22:33 +0000
committerJim Ingham <jingham@apple.com>2011-09-29 20:22:33 +0000
commit6626447929ee90a7fcf17555d6068a64bc9979d7 (patch)
tree27e57d06b7a60bdaa18e5b835d6dff20c563b695 /lldb/source/Commands/CommandObjectSource.cpp
parent95031ed8372b030351c48ad0a2f62b7614a12c90 (diff)
downloadllvm-6626447929ee90a7fcf17555d6068a64bc9979d7.zip
llvm-6626447929ee90a7fcf17555d6068a64bc9979d7.tar.gz
llvm-6626447929ee90a7fcf17555d6068a64bc9979d7.tar.bz2
Missed one place where we should use the target's SourceManager, not the debugger's.
llvm-svn: 140804
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectSource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp
index dae2e7b..204b4b8 100644
--- a/lldb/source/Commands/CommandObjectSource.cpp
+++ b/lldb/source/Commands/CommandObjectSource.cpp
@@ -452,7 +452,7 @@ public:
// 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);