Skip to content

Commit ae5836f

Browse files
authored
[LLDB][Process/Utility] Introduce NativeRegisterContextDBReg class
Since the setup of debug registers for AArch64 and LoongArch is similar, we extracted the shared logic from Class: `NativeRegisterContextDBReg_arm64` into a new Class: `NativeRegisterContextDBReg`. This will simplify the subsequent implementation of hardware breakpoints and watchpoints on LoongArch. Reviewed By: DavidSpickett Pull Request: #118043
1 parent 9040dd4 commit ae5836f

File tree

5 files changed

+567
-485
lines changed

5 files changed

+567
-485
lines changed

lldb/source/Plugins/Process/Utility/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ add_lldb_library(lldbPluginProcessUtility
99
LinuxSignals.cpp
1010
MemoryTagManagerAArch64MTE.cpp
1111
NativeProcessSoftwareSingleStep.cpp
12+
NativeRegisterContextDBReg.cpp
1213
NativeRegisterContextDBReg_arm64.cpp
1314
NativeRegisterContextDBReg_x86.cpp
1415
NativeRegisterContextRegisterInfo.cpp

0 commit comments

Comments
 (0)