[Lldb-commits] [lldb] [LLDB] Expose and display GDB remote register union values (PR #224147)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 12 06:46:53 PDT 2026
================
@@ -472,7 +485,7 @@ def fp_register_write(self):
else:
self.expect(
"register read ymm0",
- substrs=["Invalid register name 'ymm0'"],
+ substrs=["use of undeclared identifier '$ymm0'"],
----------------
DavidSpickett wrote:
This looks like a step back in terms of error reporting. It can be a register name or identifier now as I understand it. However saying "identifier" makes the majority of `register read <oh no a typo>` less intuitive.
Also "undeclared", how would you even "declare it"? That part isn't much help to the user.
Can we produce something like this?
```
Invalid register name or identifier <bla>
```
https://github.com/llvm/llvm-project/pull/224147
More information about the lldb-commits
mailing list