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

Reply via email to