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:
5d220ff942
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.
34 lines
838 B
CMake
34 lines
838 B
CMake
add_lldb_library(lldbPluginProcessLinux
|
|
IntelPTCollector.cpp
|
|
IntelPTSingleBufferTrace.cpp
|
|
IntelPTMultiCoreTrace.cpp
|
|
IntelPTPerThreadProcessTrace.cpp
|
|
IntelPTThreadTraceCollection.cpp
|
|
NativeProcessLinux.cpp
|
|
NativeRegisterContextLinux.cpp
|
|
NativeRegisterContextLinux_arm.cpp
|
|
NativeRegisterContextLinux_arm64.cpp
|
|
NativeRegisterContextLinux_arm64dbreg.cpp
|
|
NativeRegisterContextLinux_loongarch64.cpp
|
|
NativeRegisterContextLinux_ppc64le.cpp
|
|
NativeRegisterContextLinux_riscv64.cpp
|
|
NativeRegisterContextLinux_s390x.cpp
|
|
NativeRegisterContextLinux_x86_64.cpp
|
|
NativeThreadLinux.cpp
|
|
Perf.cpp
|
|
Procfs.cpp
|
|
SingleStepCheck.cpp
|
|
|
|
LINK_COMPONENTS
|
|
Support
|
|
TargetParser
|
|
LINK_LIBS
|
|
lldbCore
|
|
lldbHost
|
|
lldbSymbol
|
|
lldbTarget
|
|
lldbUtility
|
|
lldbPluginProcessPOSIX
|
|
lldbPluginProcessUtility
|
|
)
|