clayborg added a comment.

If any of our lldb_private::Process subclasses handle this already, then we 
need a new virtual function on lldb_private::Process like:

  virtual bool lldb_private::Process::MemoryWorksAroundSoftwareBreakpoints(bool 
read);

If "read" is true then we are asking about memory reads and if "read" is false, 
then we are asking about writes. Then the code you added to disable breakpoint 
locations and re-enable them only needs to happen if they return false to 
calling this function with "read == false".


https://reviews.llvm.org/D39967



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to