<rdar://problem/9959501>
More KDP debugging process. We can not set breakpoints, hit them, resume, step and detach while running.
llvm-svn: 164584
diff --git a/lldb/source/Target/Thread.cpp b/lldb/source/Target/Thread.cpp
index c75b9c9..5cffe2d 100644
--- a/lldb/source/Target/Thread.cpp
+++ b/lldb/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