[Lldb-commits] [lldb] [lldb] Add 'modify' type watchpoints, make it default (PR #66308)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 15 14:53:17 PDT 2023
================
@@ -1326,23 +1326,35 @@ lldb::SBWatchpoint SBTarget::WatchAddress(lldb::addr_t addr, size_t size,
SBError &error) {
LLDB_INSTRUMENT_VA(this, addr, size, read, write, error);
+ SBWatchpointOptions options;
+ options.SetWatchpointTypeRead(read);
+ options.SetWatchpointTypeModify(write);
----------------
jasonmolenda wrote:
Good point.
https://github.com/llvm/llvm-project/pull/66308
More information about the lldb-commits
mailing list