| commit | 0373a76af6b8ef949b9ca8aaa6325fbde0948603 | [log] [tgz] |
|---|---|---|
| author | Hui Li <lihui@loongson.cn> | Thu Feb 16 09:22:25 2023 +0800 |
| committer | Tiezhu Yang <yangtiezhu@loongson.cn> | Thu Feb 23 20:36:02 2023 +0800 |
| tree | 8bc5d0033e074373253f924b2b2552f3a07a3d2a | |
| parent | 9d7c73af4bf5f1d416a90ec5327279b6f1092a83 [diff] |
gdb: LoongArch: Support reg aliases in info reg command According to LoongArch ELF ABI specification [1], support the register aliases in "info register" command. Without this patch: ``` (gdb) info reg a0 Invalid register `a0' ``` With this patch: ``` (gdb) info reg a0 a0 0x1 1 ``` [1] https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html#_register_convention Signed-off-by: Hui Li <lihui@loongson.cn> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>