The 'thread backtrace all' logical branch had the if (thread->GetStatus()) condition inverted.

rdar://problem/9530511


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132435 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectThread.cpp b/source/Commands/CommandObjectThread.cpp
index 315ace2..dfcf750 100644
--- a/source/Commands/CommandObjectThread.cpp
+++ b/source/Commands/CommandObjectThread.cpp
@@ -186,10 +186,10 @@
             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);