[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml
From: |
Song Gao |
Subject: |
[PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml |
Date: |
Fri, 5 Aug 2022 11:35:18 +0800 |
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!
V2:
- Update orig_a0 value to 0;
- Update fcc type to uint64;
- Share write_fcc()/read_fcc();
- Update patch2 commit message.
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 -------------------------
linux-user/loongarch64/signal.c | 24 +----------
target/loongarch/cpu.c | 8 +++-
target/loongarch/gdbstub.c | 43 ++++++++++++++-----
target/loongarch/internals.h | 3 ++
8 files changed, 103 insertions(+), 97 deletions(-)
create mode 100644 gdb-xml/loongarch-fpu.xml
delete mode 100644 gdb-xml/loongarch-fpu64.xml
--
2.31.1
- [PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml,
Song Gao <=
- [PATCH for-7.1 v2 1/5] target/loongarch: Fix GDB get the wrong pc, Song Gao, 2022/08/04
- [PATCH for-7.1 v2 5/5] target/loongarch: Update gdb_set_fpu() and gdb_get_fpu(), Song Gao, 2022/08/04
- [PATCH for-7.1 v2 4/5] target/loongarch: Update loongarch-fpu.xml, Song Gao, 2022/08/04
- [PATCH for-7.1 v2 3/5] target/loongarch: update loongarch-base64.xml, Song Gao, 2022/08/04
- [PATCH for-7.1 v2 2/5] target/loongarch: add gdb_arch_name(), Song Gao, 2022/08/04
- Re: [PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml, Alex Bennée, 2022/08/05
- Re: [PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml, Richard Henderson, 2022/08/05