[Lldb-commits] [lldb] r169618 - /lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
Andrew Kaylor
andrew.kaylor at intel.com
Fri Dec 7 09:56:32 PST 2012
Author: akaylor
Date: Fri Dec 7 11:56:31 2012
New Revision: 169618
URL: http://llvm.org/viewvc/llvm-project?rev=169618&view=rev
Log:
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.
Modified:
lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
Modified: lldb/trunk/source/Target/ThreadPlanCallFunction.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/ThreadPlanCallFunction.cpp?rev=169618&r1=169617&r2=169618&view=diff
==============================================================================
--- lldb/trunk/source/Target/ThreadPlanCallFunction.cpp (original)
+++ lldb/trunk/source/Target/ThreadPlanCallFunction.cpp Fri Dec 7 11:56:31 2012
@@ -44,6 +44,7 @@
{
SetIsMasterPlan (true);
SetOkayToDiscard (false);
+ SetPrivate (true);
ProcessSP process_sp (thread.GetProcess());
if (!process_sp)
More information about the lldb-commits
mailing list