diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-05-28 23:04:25 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-05-28 23:04:25 +0000 |
commit | 93132f504f0d29ef1e1d90360977aa31c548d28e (patch) | |
tree | 52dec72376e6db0dc1ec0dd54325980ba61c9bab /lldb/source/Plugins/Process/POSIX/ProcessMessage.h | |
parent | 6477e97af73a6bc036888d68b79d919f8b11cd2a (diff) | |
download | bcm5719-llvm-93132f504f0d29ef1e1d90360977aa31c548d28e.tar.gz bcm5719-llvm-93132f504f0d29ef1e1d90360977aa31c548d28e.zip |
Adding support for stopping all threads of multithreaded inferiors on Linux. Also adding multithreaded test cases.
llvm-svn: 182809
Diffstat (limited to 'lldb/source/Plugins/Process/POSIX/ProcessMessage.h')
-rw-r--r-- | lldb/source/Plugins/Process/POSIX/ProcessMessage.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/POSIX/ProcessMessage.h b/lldb/source/Plugins/Process/POSIX/ProcessMessage.h index 2107e92a130..c76ca01489e 100644 --- a/lldb/source/Plugins/Process/POSIX/ProcessMessage.h +++ b/lldb/source/Plugins/Process/POSIX/ProcessMessage.h @@ -117,11 +117,16 @@ public: return message; } - /// Indicates that the thread @p tid was spawned. + /// Indicates that the thread @p child_tid was spawned. static ProcessMessage NewThread(lldb::tid_t parent_tid, lldb::tid_t child_tid) { return ProcessMessage(parent_tid, eNewThreadMessage, child_tid); } + /// Indicates that the thread @p tid is about to exit with status @p status. + static ProcessMessage Exit(lldb::tid_t tid, int status) { + return ProcessMessage(tid, eExitMessage, status); + } + int GetExitStatus() const { assert(GetKind() == eExitMessage || GetKind() == eLimboMessage); return m_status; |