qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml
@ 2022-08-05  3:35 Song Gao
  2022-08-05  3:35 ` [PATCH for-7.1 v2 1/5] target/loongarch: Fix GDB get the wrong pc Song Gao
                   ` (6 more replies)
  0 siblings, 7 replies; 11+ messages in thread
From: Song Gao @ 2022-08-05  3:35 UTC (permalink / raw)
  To: qemu-devel
  Cc: richard.henderson, peter.maydell, gaosong, f4bug, alex.bennee,
	yangxiaojuan

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



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2022-08-05 15:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-05  3:35 [PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml Song Gao
2022-08-05  3:35 ` [PATCH for-7.1 v2 1/5] target/loongarch: Fix GDB get the wrong pc Song Gao
2022-08-05 15:03   ` Richard Henderson
2022-08-05  3:35 ` [PATCH for-7.1 v2 2/5] target/loongarch: add gdb_arch_name() Song Gao
2022-08-05  3:35 ` [PATCH for-7.1 v2 3/5] target/loongarch: update loongarch-base64.xml Song Gao
2022-08-05  3:35 ` [PATCH for-7.1 v2 4/5] target/loongarch: Update loongarch-fpu.xml Song Gao
2022-08-05 15:05   ` Richard Henderson
2022-08-05  3:35 ` [PATCH for-7.1 v2 5/5] target/loongarch: Update gdb_set_fpu() and gdb_get_fpu() Song Gao
2022-08-05 15:14   ` Richard Henderson
2022-08-05 11:44 ` [PATCH for-7.1 v2 0/5] Fix gdb bugs and update gdb-xml Alex Bennée
2022-08-05 15:28 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).