[Lldb-commits] [lldb] [LLDB][LoongArch] Extend the maximum number of watchpoints (PR #126204)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 7 01:32:04 PST 2025


DavidSpickett wrote:

Thanks for the clear explanation. Part of my confusion before was that I mistakenly thought that the v2 struct added a padding field but this is not correct. The only thing that has changed is the number of debug regs.

We send one `user_watch_state` to the kernel, but in v2 this may contain 14 instead of 8. This is a common technique I've also seen it done on AArch64 for expanding register sets.

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


More information about the lldb-commits mailing list