gdb: LoongArch: Implement loongarch_linux_syscall_next_pc()
authorTiezhu Yang <yangtiezhu@loongson.cn>
Sat, 25 Jun 2022 01:21:16 +0000 (09:21 +0800)
committerTiezhu Yang <yangtiezhu@loongson.cn>
Sat, 25 Jun 2022 02:12:55 +0000 (10:12 +0800)
commitaf6e3f77e939ecf85e18720925a4d8f355f90ee1
treed773780616d692f0fe28dbd40839354f544531b4
parent0757a50396e3638434f806aec2ee8c8f79a7026c
gdb: LoongArch: Implement loongarch_linux_syscall_next_pc()

When FRAME is at a syscall instruction, return the PC of the next
instruction to be executed.

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