[Lldb-commits] [PATCH] D58912: [debugserver] Fix IsUserReady thread filtering

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 6 13:55:20 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB355555: [debugserver] Fix IsUserReady thread filtering (authored by friss, committed by ).
Herald added a subscriber: abidh.
Herald added a project: LLDB.

Changed prior to commit:
  https://reviews.llvm.org/D58912?vs=189163&id=189585#toc

Repository:
  rLLDB LLDB

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58912/new/

https://reviews.llvm.org/D58912

Files:
  tools/debugserver/source/MacOSX/MachThread.cpp


Index: tools/debugserver/source/MacOSX/MachThread.cpp
===================================================================
--- tools/debugserver/source/MacOSX/MachThread.cpp
+++ tools/debugserver/source/MacOSX/MachThread.cpp
@@ -243,7 +243,7 @@
   case TH_STATE_HALTED:
     return true;
   }
-  return false;
+  return GetPC(0) != 0;
 }
 
 struct thread_basic_info *MachThread::GetBasicInfo() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58912.189585.patch
Type: text/x-patch
Size: 395 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190306/972474be/attachment.bin>


More information about the lldb-commits mailing list