diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-12-20 23:08:03 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2012-12-20 23:08:03 +0000 |
commit | f85defaea502a47e59826cf335d84a286243c77c (patch) | |
tree | 61719f6d7986d52203bf591d60b838a0f2b6450a /lldb/source/API/SBThread.cpp | |
parent | 287e7d275c6022c95d9742e1dcca380b636d92e0 (diff) | |
download | llvm-f85defaea502a47e59826cf335d84a286243c77c.zip llvm-f85defaea502a47e59826cf335d84a286243c77c.tar.gz llvm-f85defaea502a47e59826cf335d84a286243c77c.tar.bz2 |
Adding eStopReasonThreadExiting and fixing the handling of this state on Linux.
llvm-svn: 170800
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r-- | lldb/source/API/SBThread.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index c1e834b..3f3c904 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -151,6 +151,7 @@ SBThread::GetStopReasonDataCount () case eStopReasonTrace: case eStopReasonExec: case eStopReasonPlanComplete: + case eStopReasonThreadExiting: // There is no data for these stop reasons. return 0; @@ -209,6 +210,7 @@ SBThread::GetStopReasonDataAtIndex (uint32_t idx) case eStopReasonTrace: case eStopReasonExec: case eStopReasonPlanComplete: + case eStopReasonThreadExiting: // There is no data for these stop reasons. return 0; @@ -348,6 +350,13 @@ SBThread::GetStopDescription (char *dst, size_t dst_len) } break; + case eStopReasonThreadExiting: + { + char limbo_desc[] = "thread exiting"; + stop_desc = limbo_desc; + stop_desc_len = sizeof(limbo_desc); + } + break; default: break; } |