[PATCH for-7.1 0/5] Fix gdb bugs and update gdb-xml

Song Gao posted 5 patches 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220804130213.1364164-1-gaosong@loongson.cn
Maintainers: Xiaojuan Yang <yangxiaojuan@loongson.cn>, Song Gao <gaosong@loongson.cn>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>
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
[PATCH for-7.1 0/5] Fix gdb bugs and update gdb-xml
Posted by Song Gao 1 week ago
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