[Lldb-commits] [lldb] [LLDB][Process/Utility] Introduce NativeRegisterContextDBReg class (PR #118043)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Dec 5 02:59:22 PST 2024


================
@@ -274,7 +161,7 @@ uint32_t NativeRegisterContextDBReg_arm64::SetHardwareWatchpoint(
   }
 
   // Setup control value
-  control_value = g_enable_bit | g_pac_bits | GetSizeBits(size);
+  control_value = m_hw_dbg_enable_bit | g_pac_bits | GetSizeBits(size);
----------------
DavidSpickett wrote:

Perhaps you can also move this sort of thing into a method to be overridden. Then this code can also move to the base class.

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


More information about the lldb-commits mailing list