[Lldb-commits] [lldb] [lldb] Add 'modify' type watchpoints, make it default (PR #66308)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 15 14:30:57 PDT 2023
================
@@ -53,7 +53,10 @@ def fuzz_obj(obj):
obj.GetByteOrder()
obj.GetTriple()
error = lldb.SBError()
- obj.WatchAddress(123, 8, True, True, error)
+ wp_opts = lldb.SBWatchpointOptions()
+ wp_opts.SetWatchpointTypeRead(True)
+ wp_opts.SetWatchpointTypeModify(True)
+ obj.WatchpointCreateByAddress(123, 8, wp_opts, error)
----------------
clayborg wrote:
Revert and keep old API usage?
https://github.com/llvm/llvm-project/pull/66308
More information about the lldb-commits
mailing list