forked from OSchip/llvm-project
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:
parent
131186c11a
commit
327c267a95
|
@ -44,6 +44,7 @@ ThreadPlanCallFunction::ConstructorSetup (Thread &thread,
|
|||
{
|
||||
SetIsMasterPlan (true);
|
||||
SetOkayToDiscard (false);
|
||||
SetPrivate (true);
|
||||
|
||||
ProcessSP process_sp (thread.GetProcess());
|
||||
if (!process_sp)
|
||||
|
|
Loading…
Reference in New Issue