diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-04-15 23:33:53 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-04-15 23:33:53 +0000 |
commit | a75418dbd635f5ef9b2eccb9918118e1a905cd71 (patch) | |
tree | be0df2c4242184c682073832540bc13583735275 /lldb/scripts/Python/interface | |
parent | 2d37e5a5a5196d4349b84810a7e558e06612e8fe (diff) | |
download | bcm5719-llvm-a75418dbd635f5ef9b2eccb9918118e1a905cd71.tar.gz bcm5719-llvm-a75418dbd635f5ef9b2eccb9918118e1a905cd71.zip |
Adding new Python API function to check for stopped threads.
llvm-svn: 179577
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBThread.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBThread.i b/lldb/scripts/Python/interface/SBThread.i index e597c07d2db..2f34153304f 100644 --- a/lldb/scripts/Python/interface/SBThread.i +++ b/lldb/scripts/Python/interface/SBThread.i @@ -178,6 +178,9 @@ public: bool IsSuspended(); + bool + IsStopped(); + uint32_t GetNumFrames (); @@ -258,6 +261,9 @@ public: __swig_getmethods__["is_suspended"] = IsSuspended if _newclass: is_suspended = property(IsSuspended, None, doc='''A read only property that returns a boolean value that indicates if this thread is suspended.''') + + __swig_getmethods__["is_stopped"] = IsStopped + if _newclass: is_stopped = property(IsStopped, None, doc='''A read only property that returns a boolean value that indicates if this thread is stopped but not exited.''') %} }; |