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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to