================ @@ -373,14 +374,8 @@ bool GDBRemoteRegisterContext::WriteRegisterBytes(const RegisterInfo *reg_info, if (dst == nullptr) return false; - // Code below is specific to AArch64 target in SVE or SME state - // If vector granule (vg) register is being written then thread's - // register context reconfiguration is triggered on success. - // We do not allow writes to SVG so it is not mentioned here. - const ArchSpec &arch = process->GetTarget().GetArchitecture(); - bool do_reconfigure_arm64_sve = arch.IsValid() && - arch.GetTriple().isAArch64() && - (strcmp(reg_info->name, "vg") == 0); + bool should_reconfigure_registers = ---------------- DavidSpickett wrote:
It is a bit far from use isn't it. (const by default when :crab: ) Done. https://github.com/llvm/llvm-project/pull/70950 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits