[Lldb-commits] [lldb] [lldb] New expedited register specfication for unavailable regs (PR #193894)

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Fri May 8 22:53:07 PDT 2026


================
@@ -274,23 +295,31 @@ bool GDBRemoteRegisterContext::ReadRegisterBytes(const RegisterInfo *reg_info) {
           success = false;
         else {
           // Read the containing register if it hasn't already been read
-          if (!GetRegisterIsValid(prim_reg))
+          if (GetRegisterIsUnfetched(prim_reg))
             success = GetPrimordialRegister(prim_reg_info, gdb_comm);
----------------
jasonmolenda wrote:

This is probably the kind of thing I'd like to hear @DavidSpickett 's opinion on as well, what we think the refetch behavior should be for registers that could not be read once, or we read & only got partial data.

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


More information about the lldb-commits mailing list