diff options
Diffstat (limited to 'lldb/source/Target/ExecutionContext.cpp')
-rw-r--r-- | lldb/source/Target/ExecutionContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/ExecutionContext.cpp b/lldb/source/Target/ExecutionContext.cpp index 6cce08a093b..e284438eee8 100644 --- a/lldb/source/Target/ExecutionContext.cpp +++ b/lldb/source/Target/ExecutionContext.cpp @@ -343,7 +343,7 @@ ExecutionContext::SetContext (const lldb::StackFrameSP &frame_sp) m_frame_sp = frame_sp; if (frame_sp) { - m_thread_sp = frame_sp->GetThread().shared_from_this(); + m_thread_sp = frame_sp->CalculateThread(); if (m_thread_sp) { m_process_sp = m_thread_sp->GetProcess().shared_from_this(); |