gdbserver: LoongArch: Add orig_a0 processing
authorYouling Tang <tangyouling@loongson.cn>
Sun, 10 Jul 2022 02:57:33 +0000 (10:57 +0800)
committerTiezhu Yang <yangtiezhu@loongson.cn>
Sun, 10 Jul 2022 09:27:55 +0000 (17:27 +0800)
commit74baa6cd1c8168705a39d45f317cc9f79e31ac3a
tree5cb976edd9cdccb6a253d7075da737299332e0a5
parent3eba483364436567fd1b6ac4b5d82e23bb223a54
gdbserver: LoongArch: Add orig_a0 processing

Commit 736918239b16 ("gdb: LoongArch: add orig_a0 into register set")
introduced orig_a0, similar processing needs to be done in gdbserver.

At the same time, add orig_a0 related comments.

Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
gdb/loongarch-linux-nat.c
gdbserver/linux-loongarch-low.cc