Skip to content

s390x/gdb: various fixes

Jens Freimann qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5s390x/gdb: don't touch the cc if tcg is not enabledtarget-s390x/gdbstub.c+10 -44 replies
2/5s390x/gdb: add the feature xml files for s390xconfigure gdb-xml/s390-acr.xml gdb-xml/s390-fpr.xml +1 more+82 -00 replies
3/5s390x/gdb: generate target.xml and handle fp/ac as coprocessorstarget-s390x/cpu-qom.h target-s390x/cpu.c target-s390x/cpu.h +1 more+76 -600 replies
4/5s390x/gdb: coding style fixestarget-s390x/gdbstub.c+2 -20 replies
5/5gdb: provide the name of the architecture in the target.xmlgdbstub.c include/qom/cpu.h target-arm/cpu64.c +2 more+18 -78 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchCornelia HuckChristian BorntraegerAndreas Färber
1/5
2/5A-b A-b
3/5A-b A-b
4/5A-b A-b
5/5A-b A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/5] s390x/gdb: various fixes

Conny, Alex, Christian,

here are some patches improving our gdb support.

* Patch 1 fixes a bug where the cc was changed accidentally.
* Patch 2 adds the gdb feature XML files for s390x
* Patch 3 Define acr and fpr registers as coprocessor registers. This allows us to reuse the feature XML files.
* Patch 4 whitespace fixes
* Patch 5 changes common code and other architectures with gdb target.xml support. It adds a field gdb_arch_name to the XML description of the CPU and to struct CPUClass. It allows the remote gdb to detect the target architecture in cases where it can't tell otherwise.

David Hildenbrand (5):
s390x/gdb: don't touch the cc if tcg is not enabled s390x/gdb: add the feature xml files for s390x s390x/gdb: generate target.xml and handle fp/ac as coprocessors s390x/gdb: coding style fixes
gdb: provide the name of the architecture in the target.xml

 configure                   |   1 +
 gdb-xml/s390-acr.xml        |  26 +++++++++++
 gdb-xml/s390-fpr.xml        |  27 +++++++++++
 gdb-xml/s390x-core64.xml    |  28 ++++++++++++
 gdbstub.c                   |  19 +++++---
 include/qom/cpu.h           |   2 +
 target-arm/cpu64.c          |   1 +
 target-ppc/translate_init.c |   2 +
 target-s390x/cpu-qom.h      |   1 +
 target-s390x/cpu.c          |   5 +-
 target-s390x/cpu.h          |  40 +---------------
 target-s390x/gdbstub.c      | 109 +++++++++++++++++++++++++++++++++-----------
 12 files changed, 188 insertions(+), 73 deletions(-)
 create mode 100644 gdb-xml/s390-acr.xml
 create mode 100644 gdb-xml/s390-fpr.xml
 create mode 100644 gdb-xml/s390x-core64.xml
Signature · 1 line
1.8.5.5