Jim Ingham
b15bfc753c
Don't cache the public stop reason, since it can change as plan completion gets processed. That means GetStopReason needs to return a shared pointer, not a pointer to the thread's cached version. Also allow the thread plans to get and set the thread private stop reason - that is usually more appropriate for the logic the thread plans need to do.
...
llvm-svn: 116892
2010-10-20 00:39:53 +00:00
Greg Clayton
1346f7e098
Cleaned up step logging a bit.
...
llvm-svn: 113023
2010-09-03 22:45:01 +00:00
Greg Clayton
2cad65a595
Fixed the StackFrame to correctly resolve the StackID's SymbolContextScope.
...
Added extra logging for stepping.
Fixed an issue where cached stack frame data could be lost between runs when
the thread plans read a stack frame.
llvm-svn: 112973
2010-09-03 17:10:42 +00:00
Jim Ingham
2976d00adb
Change "Current" as in GetCurrentThread, GetCurrentStackFrame, etc, to "Selected" i.e. GetSelectedThread. Selected makes more sense, since these are set by some user action (a selection). I didn't change "CurrentProcess" since this is always controlled by the target, and a given target can only have one process, so it really can't be selected.
...
llvm-svn: 112221
2010-08-26 21:32:51 +00:00
Jim Ingham
a3241c1bf5
Don't call PrepareForResume on threads that aren't going to get a chance to run this time around.
...
llvm-svn: 108312
2010-07-14 02:27:20 +00:00
Greg Clayton
b132097b45
I enabled some extra warnings for hidden local variables and for hidden
...
virtual functions and caught some things and did some general code cleanup.
llvm-svn: 108299
2010-07-14 00:18:15 +00:00
Jim Ingham
b01e742af7
Two changes in this checkin. Added a ThreadPlanKind so that I can do some reasoning based on the kind of thread plan
...
without having to use RTTI.
Removed the ThreadPlanContinue and replaced with a ShouldAutoContinue query that serves the same purpose. Having to push
another plan to assert that if there's no other indication the target should continue when this plan is popped was flakey
and error prone. This method is more stable, and fixed problems we were having with thread specific breakpoints.
llvm-svn: 106378
2010-06-19 04:45:32 +00:00
Chris Lattner
30fdc8d841
Initial checkin of lldb code from internal Apple repo.
...
llvm-svn: 105619
2010-06-08 16:52:24 +00:00