aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2016-11-08 23:43:36 +0000
committerJim Ingham <jingham@apple.com>2016-11-08 23:43:36 +0000
commit4f243e8d93d17a5346f147b20c80a95352616e74 (patch)
tree710adccea91158f8379c21d57250a06d9d3de078 /lldb/source/Commands/CommandObjectThread.cpp
parent92e71965ad96ab2f02f179c6b58aef8bf95c8546 (diff)
downloadllvm-4f243e8d93d17a5346f147b20c80a95352616e74.zip
llvm-4f243e8d93d17a5346f147b20c80a95352616e74.tar.gz
llvm-4f243e8d93d17a5346f147b20c80a95352616e74.tar.bz2
"thread backtrace" should use the thread-stop-format.
<rdar://problem/28273697> llvm-svn: 286312
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index 97f7845..e5662dd 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -277,9 +277,9 @@ protected:
// Don't show source context when doing backtraces.
const uint32_t num_frames_with_source = 0;
-
+ const bool stop_format = true;
if (!thread->GetStatus(strm, m_options.m_start, m_options.m_count,
- num_frames_with_source, false)) {
+ num_frames_with_source, stop_format)) {
result.AppendErrorWithFormat(
"error displaying backtrace for thread: \"0x%4.4x\"\n",
thread->GetIndexID());