gdb: LoongArch: Implement the push_dummy_call gdbarch method
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 7 Jul 2022 06:33:19 +0000 (14:33 +0800)
committerTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 7 Jul 2022 09:05:11 +0000 (17:05 +0800)
commit88de583569400f6c81caa6f943d1290d134ea48a
tree38da32e8163ffb4b16897af09ff4ff5ffc7efa22
parent045f385d9a1ee7269d3fa50657c4c7d1d7ba6c0f
gdb: LoongArch: Implement the push_dummy_call gdbarch method

According to "Procedure Calling Convention" in "LoongArch ELF ABI
specification" [1], implement the push_dummy_call gdbarch method
as clear as possible.

[1] https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html#_procedure_calling_convention

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
gdb/loongarch-tdep.c
gdb/loongarch-tdep.h