diff options
author | Lulu Cai <cailulu@loongson.cn> | 2024-12-09 11:21:40 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2024-12-09 12:01:02 +0800 |
commit | 3d75969bd0e2608dc2c23aeee3f2f597b44fa7cc (patch) | |
tree | 0ae200b6c74a5110c6e107a41c93999cf57deacb /gdb/main.c | |
parent | 01d8e0d24ad301f69b6f5ea39d073a728477507d (diff) | |
download | binutils-3d75969bd0e2608dc2c23aeee3f2f597b44fa7cc.zip binutils-3d75969bd0e2608dc2c23aeee3f2f597b44fa7cc.tar.gz binutils-3d75969bd0e2608dc2c23aeee3f2f597b44fa7cc.tar.bz2 |
LoongArch: Assign DWARF register numbers to register aliases
.cfi directives only support the use of register numbers and not
register names or aliases.
This commit adds support for 4 formats, for example:
.cfi_offset r1, 8
.cfi_offset ra, 8
.cfi_offset $r1,8
.cfi_offset $ra,8
The above .cfi directives are equivalent and all represent dwarf
register number 1.
Display register aliases as specified in the psABI during disassembly.
Diffstat (limited to 'gdb/main.c')
0 files changed, 0 insertions, 0 deletions