[Lldb-commits] [lldb] r286312 - "thread backtrace" should use the thread-stop-format.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 8 15:43:36 PST 2016


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());




More information about the lldb-commits mailing list