ThreadPlanCallUserExpression's WillPop needs to call it's parent's WillPop.

llvm-svn: 123816
This commit is contained in:
Jim Ingham 2011-01-19 09:45:44 +00:00
parent e2d4f0d7ce
commit e8231f41aa
2 changed files with 4 additions and 0 deletions

View File

@ -70,6 +70,9 @@ public:
return true;
}
// Classes that derive from ClangFunction, and implement
// their own WillPop methods should call this so that the
// thread state gets restored if the plan gets discarded.
virtual void
WillPop ();

View File

@ -43,6 +43,7 @@ public:
virtual void
WillPop ()
{
ThreadPlanCallFunction::WillPop();
if (m_user_expression_sp)
m_user_expression_sp.reset();
}