[Lldb-commits] [lldb] [lldb] Add 'modify' type watchpoints, make it default (PR #66308)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Wed Sep 13 23:52:41 PDT 2023


jasonmolenda wrote:

Maybe I should just use a flag param, and adopt the BreakpointCreate style naming convention, even if there's only this one API right now (we should provide all three so driver authors don't need to duplicate the work, especially for a variable path).  e.g.

```
   SBWatchpoint SBTarget::WatchpointCreateByAddress(addr_t address, size_t size, uint32_t access_flags, SBError &error);
```

with `eWatchpointAccess{Read,Write,Modify}` flags defined.

https://github.com/llvm/llvm-project/pull/66308


More information about the lldb-commits mailing list