aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2022-08-19 08:56:11 +0800
committerTiezhu Yang <yangtiezhu@loongson.cn>2022-08-19 09:29:39 +0800
commit84205e65087c91601e676c8a269d7f3e85da9824 (patch)
tree1a1eb3eee104cea7b9da773c300c6d99ba587cf7 /gdb/cp-namespace.c
parent866318daa306987c1d57f0b79241e7f38fb9dd4d (diff)
downloadgdb-84205e65087c91601e676c8a269d7f3e85da9824.zip
gdb-84205e65087c91601e676c8a269d7f3e85da9824.tar.gz
gdb-84205e65087c91601e676c8a269d7f3e85da9824.tar.bz2
gdb: LoongArch: Handle variadic arguments
According to LoongArch ELF ABI specification [1], variadic arguments are passed in GARs in the same manner as named arguments. And after a variadic argument has been passed on the stack, all future arguments will also be passed on the stack, i.e., the last argument register may be left unused due to the aligned register pair rule. long double data tpye is passed in an aligned GAR pair, the first register in the pair is even-numbered. [1] https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Diffstat (limited to 'gdb/cp-namespace.c')
0 files changed, 0 insertions, 0 deletions