diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-06-01 23:19:52 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-06-01 23:19:52 +0000 |
commit | f2ddc71310d12663ec5adf97936fb45366954411 (patch) | |
tree | 3d838178330d6336f018c9887a3091ea24a4942e /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 4b6eeb9ca26a414e6e4c0a226402cb32c0c87b45 (diff) | |
download | bcm5719-llvm-f2ddc71310d12663ec5adf97936fb45366954411.tar.gz bcm5719-llvm-f2ddc71310d12663ec5adf97936fb45366954411.zip |
The 'thread backtrace all' logical branch had the if (thread->GetStatus()) condition inverted.
rdar://problem/9530511
llvm-svn: 132435
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 315ace2e751..dfcf75023d5 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -186,10 +186,10 @@ public: for (uint32_t i = 0; i < num_threads; i++) { ThreadSP thread_sp = process->GetThreadList().GetThreadAtIndex(i); - if (thread_sp->GetStatus (strm, - m_options.m_start, - m_options.m_count, - num_frames_with_source)) + if (!thread_sp->GetStatus (strm, + m_options.m_start, + m_options.m_count, + num_frames_with_source)) { result.AppendErrorWithFormat ("error displaying backtrace for thread: \"0x%4.4x\"\n", i); result.SetStatus (eReturnStatusFailed); |