summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectImage.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-09-02 21:44:10 +0000
committerGreg Clayton <gclayton@apple.com>2010-09-02 21:44:10 +0000
commit6dadd508e7906cf994ee96806f4ec3f80a9c8a41 (patch)
tree4df4e34c3d6590a936f140d03be3039980d30c38 /lldb/source/Commands/CommandObjectImage.cpp
parentfd81cea70cd6c893bb590c9b288875d1d29b8401 (diff)
downloadbcm5719-llvm-6dadd508e7906cf994ee96806f4ec3f80a9c8a41.tar.gz
bcm5719-llvm-6dadd508e7906cf994ee96806f4ec3f80a9c8a41.zip
Added a new bool parameter to many of the DumpStopContext() methods that
might dump file paths that allows the dumping of full paths or just the basenames. Switched the stack frame dumping code to use just the basenames for the files instead of the full path. Modified the StackID class to no rely on needing the start PC for the current function/symbol since we can use the SymbolContextScope to uniquely identify that, unless there is no symbol context scope. In that case we can rely upon the current PC value. This saves the StackID from having to calculate the start PC when the StackFrame::GetStackID() accessor is called. Also improved the StackID less than operator to correctly handle inlined stack frames in the same stack. llvm-svn: 112867
Diffstat (limited to 'lldb/source/Commands/CommandObjectImage.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectImage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectImage.cpp b/lldb/source/Commands/CommandObjectImage.cpp
index d28cbf9dd69..1b3c2262d10 100644
--- a/lldb/source/Commands/CommandObjectImage.cpp
+++ b/lldb/source/Commands/CommandObjectImage.cpp
@@ -341,7 +341,7 @@ DumpSymbolContextList (CommandInterpreter &interpreter, Stream &strm, SymbolCont
strm.PutCString(" in ");
}
}
- sc.DumpStopContext(&strm, interpreter.GetDebugger().GetExecutionContext().process, sc.line_entry.range.GetBaseAddress(), true, false);
+ sc.DumpStopContext(&strm, interpreter.GetDebugger().GetExecutionContext().process, sc.line_entry.range.GetBaseAddress(), true, true, false);
}
}
strm.IndentLess ();
OpenPOWER on IntegriCloud