<rdar://problem/9959501>
More KDP debugging process. We can not set breakpoints, hit them, resume, step and detach while running.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164584 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Target/Thread.cpp b/source/Target/Thread.cpp
index c75b9c9..5cffe2d 100644
--- a/source/Target/Thread.cpp
+++ b/source/Target/Thread.cpp
@@ -204,6 +204,17 @@
}
}
+lldb::StopReason
+Thread::GetStopReason()
+{
+ lldb::StopInfoSP stop_info_sp (GetStopInfo ());
+ if (stop_info_sp)
+ stop_info_sp->GetStopReason();
+ return eStopReasonNone;
+}
+
+
+
void
Thread::SetStopInfo (const lldb::StopInfoSP &stop_info_sp)
{
@@ -332,7 +343,7 @@
m_completed_plan_stack.clear();
m_discarded_plan_stack.clear();
- SetTemporaryResumeState(resume_state);
+ m_temporary_resume_state = resume_state;
// This is a little dubious, but we are trying to limit how often we actually fetch stop info from
// the target, 'cause that slows down single stepping. So assume that if we got to the point where