[Lldb-commits] [PATCH][Review Request] Adding IsStopped to Python Thread API

Kaylor, Andrew andrew.kaylor at intel.com
Mon Apr 15 15:03:59 PDT 2013


In order to add some improved tests for various multi-threaded debugging scenarios, I need an API to check to see whether or not a given thread is stopped.  The attached patch adds that.

I considered just adding a function to return the thread state (which would avoid the ambiguity about exited/unloaded threads), but this seemed more consistent with the existing API.  I'm open to doing it the other way if that seems better.

Thanks in advance for any feedback.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130415/1d7ae278/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thread-stopped.patch
Type: application/octet-stream
Size: 1965 bytes
Desc: thread-stopped.patch
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20130415/1d7ae278/attachment.obj>

More information about the lldb-commits mailing list