aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorb10902118 <b10902118@ntu.edu.tw>2025-07-29 17:05:13 +0800
committerGitHub <noreply@github.com>2025-07-29 10:05:13 +0100
commit9bf3e615a2c6db6e2a00ee2004ebcb21daf1334b (patch)
tree5721f47e957d48436449c2b48a6bc54086acd42b /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parentc59cc542844b5b4a25cd222ad0127ca2e74953ad (diff)
downloadllvm-9bf3e615a2c6db6e2a00ee2004ebcb21daf1334b.zip
llvm-9bf3e615a2c6db6e2a00ee2004ebcb21daf1334b.tar.gz
llvm-9bf3e615a2c6db6e2a00ee2004ebcb21daf1334b.tar.bz2
[lldb][AArch64] Fix arm64 hardware breakpoint/watchpoint to arm32 process. (#147198)
When debugging arm32 process on arm64 machine, arm64 lldb-server will use `NativeRegisterContextLinux_arm`, but the server should keep using 64-bit ptrace commands for hardware watchpoint/breakpoint, even when debugging a 32-bit tracee. See: https://github.com/torvalds/linux/commit/5d220ff9420f8b1689805ba2d938bedf9e0860a4 There have been many conditional compilation handling arm32 tracee on arm64, but this one is missed out. To reuse the 64-bit implementation, I separate the shared code from `NativeRegisterContextLinux_arm64.cpp` to `NativeRegisterContextLinux_arm64dbreg.cpp`, with other adjustments to share data structures of debug registers.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions