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

Tiezhu Yang via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 7 01:53:05 PST 2025


================
@@ -50,6 +50,19 @@
 #define REG_CONTEXT_SIZE                                                       \
   (GetGPRSize() + GetFPRSize() + sizeof(m_lsx) + sizeof(m_lasx))
 
+// In order to avoid undefined or redefined error, just add a new struct
+// loongarch_user_watch_state in LLDB which is same with the uapi struct
+// user_watch_state_v2.
----------------
seehearfeel wrote:

OK, let me update it.

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


More information about the lldb-commits mailing list