wangleiat wrote: > We could move all this back into NativeRegisterContextLinux too but A: let's > take one step at a time and B: it may be that some architecture does not fit > the pattern that AArch64 and LoongArch do. > > So in the interests of you getting this done and us having less churn, stick > to making a NativeRegisterContextDBReg class. > > One of these days maybe we'll hoist it further up.
Thank you for your suggestion. I will divide it into two patches: 1. Extract the common parts into the `NativeRegisterContextDBReg` class to simplify `NativeRegisterContextDBReg_arm64`. 2. Based on the above, implement the hardware breakpoint and watchpoint functionality for `LoongArch`. https://github.com/llvm/llvm-project/pull/118043 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits