Hi,All This series fiex LoongArch GDB get the wrong pc, because the xml missing the register orig_a0, and update loongarch gdb-xml to match GDB[1]
[1]:https://github.com/bminor/binutils-gdb/blob/master/gdb/features/loongarch Please review! Thanks. Song Gao Song Gao (5): target/loongarch: Fix GDB get the wrong pc target/loongarch: add gdb_arch_name() target/loongarch: update loongarch-base64.xml target/loongarch: Update loongarch-fpu.xml target/loongarch: Update gdb_set_fpu() and gdb_get_fpu() configs/targets/loongarch64-softmmu.mak | 2 +- gdb-xml/loongarch-base64.xml | 13 +++--- gdb-xml/loongarch-fpu.xml | 50 ++++++++++++++++++++++ gdb-xml/loongarch-fpu64.xml | 57 ------------------------- target/loongarch/cpu.c | 8 +++- target/loongarch/gdbstub.c | 32 +++++++++----- 6 files changed, 87 insertions(+), 75 deletions(-) create mode 100644 gdb-xml/loongarch-fpu.xml delete mode 100644 gdb-xml/loongarch-fpu64.xml -- 2.31.1