On 8/4/22 20:35, Song Gao wrote:
GDB LoongArch add a register orig_a0, see the base64.xml [1].
We should add the orig_a0 to match the upstream GDB.

[1]:https://github.com/bminor/binutils-gdb/blob/master/gdb/features/loongarch/base64.xml

Signed-off-by: Song Gao<gaos...@loongson.cn>
---
  gdb-xml/loongarch-base64.xml | 1 +
  target/loongarch/cpu.c       | 2 +-
  target/loongarch/gdbstub.c   | 7 +++++--
  3 files changed, 7 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to