[Lldb-commits] [lldb] [lldb][AArch64] Fix arm64 hardware breakpoint/watchpoint to arm32 process. (PR #147198)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 28 06:44:22 PDT 2025


================
@@ -737,12 +744,17 @@ Status NativeRegisterContextLinux_arm::ReadHardwareDebugInfo() {
   m_refresh_hwdebug_info = false;
 
   return error;
+#else  // __aarch64__
+  return arm64::ReadHardwareDebugInfo(m_thread.GetID(), m_max_hwp_supported,
+                                      m_max_hbp_supported);
+#endif // __arm__
----------------
b10902118 wrote:

Should it be `#endif // ifdef __arm__`?
But other parts like `ReadGPR` didn't do this, though.

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


More information about the lldb-commits mailing list