Author: jingham
Date: Tue Nov 8 17:43:36 2016
New Revision: 286312
URL: http://llvm.org/viewvc/llvm-project?rev=286312&view=rev
Log:
"thread backtrace" should use the thread-stop-format.
<rdar://problem/28273697>
Modified:
lldb/trunk/source/Commands/CommandObjectThread.cpp
Modified: lldb/trunk/source/Commands/CommandObjectThread.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectThread.cpp?rev=286312&r1=286311&r2=286312&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectThread.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectThread.cpp Tue Nov 8 17:43:36 2016
@@ -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());
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits