DavidSpickett wrote:

> Parse the expedited registers once, reconfigure then parse them again. On the 
> assumption that no scalable register will ever be in the expedited set.

This works but due to more pessimism in: 
https://github.com/llvm/llvm-project/blob/a6dabed3483c60469ff53d51622b22efc4b7b7d2/lldb/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp#L765

We actually invalidate vg and svg before reading them again. I will check if 
this is still needed.

So, as silly as it sounds this might be the way to go:
* Parse expedited registers.
* Reconfigure if needed and invalidate all registers.
* Parse expedited registers again.

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

Reply via email to