Patch from Andrew Kaylor andrew.kaylor@intel.com to have

Thread::ResetFrameZeroRegisters() clear the UnwindLLDB object when
resetting the thread's register state.

llvm-svn: 167910
This commit is contained in:
Jason Molenda 2012-11-14 04:26:02 +00:00
parent bae23ed8c5
commit d525d0746e

View File

@ -1682,6 +1682,8 @@ Thread::ResetFrameZeroRegisters (lldb::DataBufferSP register_data_sp)
// Clear out all stack frames as our world just changed.
ClearStackFrames();
frame_sp->GetRegisterContext()->InvalidateIfNeeded(true);
if (m_unwinder_ap.get())
m_unwinder_ap->Clear();
return ret;
}