Set ThreadPlanCallFunction to private in ConstructorSetup. This fixes a problem...
authorAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 7 Dec 2012 17:56:31 +0000 (17:56 +0000)
committerAndrew Kaylor <andrew.kaylor@intel.com>
Fri, 7 Dec 2012 17:56:31 +0000 (17:56 +0000)
commit327c267a9561d52e691b732c0f0dcfea4ddebeae
tree6f221cf570f187f0ea82daa74ec6f68a09b720e3
parent131186c11a297eb67a46e5f0b6dff4a69eeaf394
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
lldb/source/Target/ThreadPlanCallFunction.cpp