Set ThreadPlanCallFunction to private in ConstructorSetup. This fixes a problem on Linux where 'continue' was misfiring after an expression evaluation when stopped at a breakpoint. The problem was that InferiorCallMmap was not setting its ThreadPlanCallFunction to private and so the completion of that thread plan appeared to be the stop reason and therefore the 'continue' operation failed to step over the breakpoint. The SetPrivate call is being put in ThreadPlanCallFunction rather than InferiorCallMmap to make the solution more general.

llvm-svn: 169618
This commit is contained in:
Andrew Kaylor 2012-12-07 17:56:31 +00:00
parent 131186c11a
commit 327c267a95
1 changed files with 1 additions and 0 deletions

View File

@ -44,6 +44,7 @@ ThreadPlanCallFunction::ConstructorSetup (Thread &thread,
{
SetIsMasterPlan (true);
SetOkayToDiscard (false);
SetPrivate (true);
ProcessSP process_sp (thread.GetProcess());
if (!process_sp)