diff options
author | Jason Molenda <jmolenda@apple.com> | 2017-01-28 02:54:10 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2017-01-28 02:54:10 +0000 |
commit | 270e822844a6f4000008aa15e68dbe8c60da14c5 (patch) | |
tree | 8f853178a08a866ba6d5c899c07ba5e61617d203 /lldb/source/Core/Debugger.cpp | |
parent | 25bcaba50eaa77cb4e59ea129664513ce7f8ed38 (diff) | |
download | bcm5719-llvm-270e822844a6f4000008aa15e68dbe8c60da14c5.tar.gz bcm5719-llvm-270e822844a6f4000008aa15e68dbe8c60da14c5.zip |
One of the changes Jim made in r286288 (cleaning up the stop print
header line, backtrace output) was to remove the current pc value
from frames where we have source level information. We've been
discussing this for the past week and based on input from a group
of low level users, I believe this is the wrong default behavior
for the command line lldb tool.
lldb's backtrace will include the pc value for all stack frames
regardless of whether they have source level debug information or
not.
A related part of r286288 removes the byte offset printing for
functions with source level information (e.g. "main + 22 sourcefile.c:10"
is printed as "main sourcefile.c:10"). I don't see a compelling
case for changing this part of 286288 so I'm leaving that as-is
(in addition to the rest of 286288 which is clearly better than
the previous output style).
<rdar://problem/30083904>
llvm-svn: 293366
Diffstat (limited to 'lldb/source/Core/Debugger.cpp')
-rw-r--r-- | lldb/source/Core/Debugger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/Debugger.cpp b/lldb/source/Core/Debugger.cpp index 8f888a518d5..eb45c6df17e 100644 --- a/lldb/source/Core/Debugger.cpp +++ b/lldb/source/Core/Debugger.cpp @@ -125,7 +125,7 @@ OptionEnumValueElement g_language_enumerators[] = { "\\n" #define DEFAULT_FRAME_FORMAT \ - "frame #${frame.index}:{ ${frame.no-debug}${frame.pc}}" MODULE_WITH_FUNC FILE_AND_LINE \ + "frame #${frame.index}: ${frame.pc}" MODULE_WITH_FUNC FILE_AND_LINE \ IS_OPTIMIZED "\\n" // Three parts to this disassembly format specification: |