From 4f243e8d93d17a5346f147b20c80a95352616e74 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 8 Nov 2016 23:43:36 +0000 Subject: [PATCH] "thread backtrace" should use the thread-stop-format. llvm-svn: 286312 --- lldb/source/Commands/CommandObjectThread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 97f784581561..e5662dd44789 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());