[Lldb-commits] [lldb] [lldb] Add template method for getting const or mutable regs from DynamicRegisterInfo (PR #71402)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 6 09:52:58 PST 2023


================
@@ -228,7 +228,9 @@ bool GDBRemoteRegisterContext::ReadRegisterBytes(const RegisterInfo *reg_info) {
           SetAllRegisterValid(true);
           return true;
         } else if (buffer_sp->GetByteSize() > 0) {
-          for (auto x : llvm::enumerate(m_reg_info_sp->registers())) {
+          for (auto x : llvm::enumerate(
----------------
medismailben wrote:

Same here

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


More information about the lldb-commits mailing list