From 14263f31ae9d03bfb92bdea5cc5961fb5863784a Mon Sep 17 00:00:00 2001 From: Andrew Kaylor Date: Wed, 8 May 2013 23:15:46 +0000 Subject: Adding code to set thread state to stopped when the process stops. llvm-svn: 181482 --- lldb/source/Target/Thread.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lldb/source/Target/Thread.cpp') 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) { -- cgit v1.2.3