llvm-project/lldb/source/Target
Johnny Chen 892943f9dd Cope with the case where the user-supplied callbacks want the watchpoint itself to be disabled!
Previously we put a WatchpointSentry object within StopInfo.cpp to disable-and-then-enable the watchpoint itself
while we are performing the actions associated with the triggered watchpoint, which can cause the user-initiated
watchpoint disabling action to be negated.

Add a test case to verify that a watchpoint can be disabled during the callbacks.

llvm-svn: 162483
2012-08-23 22:28:26 +00:00
..
ABI.cpp Thread hardening part 3. Now lldb_private::Thread objects have std::weak_ptr 2012-02-21 00:09:25 +00:00
CPPLanguageRuntime.cpp <rdar://problem/11113279> 2012-03-26 23:03:23 +00:00
ExecutionContext.cpp Rework how the API mutex is acquired when filling out an ExecutionContext from an ExecutionContextRef, 2012-08-22 21:34:33 +00:00
LanguageRuntime.cpp Add explicit casts to bool in "shared pointer is valid" constructs that return bool. 2012-08-11 00:35:26 +00:00
Makefile Merged Eli Friedman's linux build changes where he added Makefile files that 2010-07-09 20:39:50 +00:00
Memory.cpp <rdar://problem/11193466> 2012-04-13 20:37:20 +00:00
ObjCLanguageRuntime.cpp <rdar://problem/11113279> 2012-03-26 23:03:23 +00:00
OperatingSystem.cpp Added a new plug-in type: lldb_private::OperatingSystem. The operating system 2011-08-22 02:49:39 +00:00
PathMappingList.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
Platform.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
Process.cpp Rework how the API mutex is acquired when filling out an ExecutionContext from an ExecutionContextRef, 2012-08-22 21:34:33 +00:00
RegisterContext.cpp Thread hardening part 3. Now lldb_private::Thread objects have std::weak_ptr 2012-02-21 00:09:25 +00:00
SectionLoadList.cpp <rdar://problem/11620586> 2012-07-31 00:31:32 +00:00
StackFrame.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
StackFrameList.cpp <rdar://problem/11852100> 2012-07-11 20:33:48 +00:00
StackID.cpp Convert the thread plans over from using the stack count to do their logic to using StackID's. This 2012-03-01 00:50:50 +00:00
StopInfo.cpp Cope with the case where the user-supplied callbacks want the watchpoint itself to be disabled! 2012-08-23 22:28:26 +00:00
Target.cpp Check that the data buffer is non-null before getting its file contents. 2012-08-22 21:21:16 +00:00
TargetList.cpp Remove further outdated "settings" code and also implement a few missing things. 2012-08-22 18:39:03 +00:00
Thread.cpp Rework how the API mutex is acquired when filling out an ExecutionContext from an ExecutionContextRef, 2012-08-22 21:34:33 +00:00
ThreadList.cpp When we are preparing all threads to run, if the overall run state of a thread is "suspended" that 2012-05-31 20:47:56 +00:00
ThreadPlan.cpp If the ObjC Step Through Trampoline plan causes a target crash, properly propagate the error back to 2012-05-10 01:35:39 +00:00
ThreadPlanBase.cpp Rework how master plans declare themselves. Also make "PlanIsBasePlan" not rely only on this being the bottom plan in the stack, but allow the plan to declare itself as such. 2012-04-09 22:37:39 +00:00
ThreadPlanCallFunction.cpp Removed explicit NULL checks for shared pointers 2012-08-09 00:50:26 +00:00
ThreadPlanCallUserExpression.cpp Don't try to use "OkayToDiscard" to mean BOTH this plan is a user plan or not AND unwind on error. 2012-05-11 18:43:38 +00:00
ThreadPlanRunToAddress.cpp Thread hardening part 3. Now lldb_private::Thread objects have std::weak_ptr 2012-02-21 00:09:25 +00:00
ThreadPlanShouldStopHere.cpp Make the ThreadPlanStepThrough set a backstop breakpoint on the return address from 2011-12-03 01:52:59 +00:00
ThreadPlanStepInRange.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
ThreadPlanStepInstruction.cpp Clean up the usage of "MasterPlan" status in ThreadPlans. Only user-initiated plans 2012-05-03 21:19:36 +00:00
ThreadPlanStepOut.cpp Fixed a problem where stepping out would turn into 2012-07-31 22:19:25 +00:00
ThreadPlanStepOverBreakpoint.cpp The StepOverBreakpoint plan should only explain eStopReasonTrace. It didn't cause any other exceptional stop reason. 2012-06-22 20:42:22 +00:00
ThreadPlanStepOverRange.cpp Relax the test for "is the frame I am going to step back out to the one I started from" in ThreadPlanStepOverRange so you don't 2012-07-26 18:23:21 +00:00
ThreadPlanStepRange.cpp Clean up the usage of "MasterPlan" status in ThreadPlans. Only user-initiated plans 2012-05-03 21:19:36 +00:00
ThreadPlanStepThrough.cpp If the ObjC Step Through Trampoline plan causes a target crash, properly propagate the error back to 2012-05-10 01:35:39 +00:00
ThreadPlanStepUntil.cpp Removed explicit NULL checks for shared pointers 2012-08-09 00:50:26 +00:00
ThreadPlanTracer.cpp Instructions generated by a disassembler can now 2012-08-01 18:50:59 +00:00
ThreadSpec.cpp When comparing a Thread against a ThreadSpec, don't fetch the Thread's Name or QueueName if the ThreadSpec doesn't specify them. 2012-03-07 22:03:04 +00:00
UnixSignals.cpp Fixed some issues with ARM backtraces by not processing any push/pop 2011-07-06 04:07:21 +00:00
UnwindAssembly.cpp Changed the emulate instruction function to take emulate options which 2011-04-26 04:39:08 +00:00