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

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 28 01:36:43 PDT 2025


================
@@ -0,0 +1,29 @@
+//===-- NativeRegisterContextLinux_arm64dbreg.h -----------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+// These functions are split out to be reused in NativeRegisterContextLinux_arm,
+// for supporting debugging 32bit processes on arm64.
----------------
DavidSpickett wrote:

Add something like "When debugging 32-bit process on Arm64, 64-bit ptrace interfaces must be used.". To me, this is the key detail.

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


More information about the lldb-commits mailing list