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
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".
lldb-commits mailing list