diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-05-08 23:15:46 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2013-05-08 23:15:46 +0000 |
commit | 14263f31ae9d03bfb92bdea5cc5961fb5863784a (patch) | |
tree | da27339ae999874f21129b90d46b348bd72dde2e /lldb/source/Target/Thread.cpp | |
parent | 6c96ba2dc0c382fcb8822c13dadab53bd1dcf821 (diff) | |
download | bcm5719-llvm-14263f31ae9d03bfb92bdea5cc5961fb5863784a.tar.gz bcm5719-llvm-14263f31ae9d03bfb92bdea5cc5961fb5863784a.zip |
Adding code to set thread state to stopped when the process stops.
llvm-svn: 181482
Diffstat (limited to 'lldb/source/Target/Thread.cpp')
-rw-r--r-- | lldb/source/Target/Thread.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp index 23c75e3e9ac..478021ac367 100644 --- a/lldb/source/Target/Thread.cpp +++ b/lldb/source/Target/Thread.cpp @@ -610,6 +610,12 @@ Thread::DidResume () SetResumeSignal (LLDB_INVALID_SIGNAL_NUMBER); } +void +Thread::DidStop () +{ + SetState (eStateStopped); +} + bool Thread::ShouldStop (Event* event_ptr) { |