aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2022-10-07 18:20:17 -0700
committerMed Ismail Bennani <medismail.bennani@gmail.com>2022-11-03 14:44:52 -0700
commit268628cb79b0f8bb0edec86d9d500c16eadd516a (patch)
treea6a1c94605dde5054ab3700d94ff9d90f39deb33 /lldb/source/Commands/CommandObjectThread.cpp
parentcc05487a834e55659072918393f5c7490af67ed2 (diff)
downloadllvm-268628cb79b0f8bb0edec86d9d500c16eadd516a.zip
llvm-268628cb79b0f8bb0edec86d9d500c16eadd516a.tar.gz
llvm-268628cb79b0f8bb0edec86d9d500c16eadd516a.tar.bz2
[lldb/Commands] Add newline for extended backtrace thread (NFCI)
This adds a new line between the real thread and the extended backtrace thread when it's available. This should improve readability for the user. Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index bfe8504..5e81763 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -189,6 +189,7 @@ protected:
if (ext_thread_sp && ext_thread_sp->IsValid()) {
const uint32_t num_frames_with_source = 0;
const bool stop_format = false;
+ strm.PutChar('\n');
if (ext_thread_sp->GetStatus(strm, m_options.m_start,
m_options.m_count,
num_frames_with_source, stop_format)) {