================
@@ -783,6 +783,11 @@ void GDBRemoteRegisterContext::AArch64Reconfigure() {
   std::optional<uint64_t> svg_reg_value;
   const RegisterInfo *svg_reg_info = m_reg_info_sp->GetRegisterInfo("svg");
   if (svg_reg_info) {
+    // When vg is written it is automatically made invalid. Writing vg will 
also
+    // change svg if we're in streaming mode but it will not be made invalid
+    // so do this manually so the following read gets the latest svg value.
----------------
omjavaid wrote:

I am wondering whether we should find a way to make svg and vg inter dependent 
to make sure they are invalidated together whenever an update happens. Do you 
see a way within RegisterInfo class to link registers together. I dont fully 
remember but i believe this could be done.

https://github.com/llvm/llvm-project/pull/66768
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to