[PATCH v3 00/12] gdbstub and testing fixes for 8.2 (pre-PR)

Alex Bennée posted 12 patches 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230829161528.2707696-1-alex.bennee@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Yonggang Luo <luoyonggang@gmail.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Markus Armbruster <armbru@redhat.com>, Juan Quintela <quintela@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Nicholas Piggin <npiggin@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>
docs/devel/ci-jobs.rst.inc                    |   7 +
docs/devel/style.rst                          |   9 +-
gdbstub/internals.h                           |   3 +-
include/exec/gdbstub.h                        |  20 +-
gdbstub/gdbstub.c                             | 144 ++++++++------
gdbstub/softmmu.c                             |   1 -
gdbstub/user.c                                |   1 -
target/arm/gdbstub.c                          |   8 +-
target/ppc/gdbstub.c                          |   4 +-
tests/tcg/multiarch/system/interrupt.c        |  28 +++
.gitlab-ci.d/buildtest-template.yml           |  11 ++
.gitlab-ci.d/cirrus.yml                       |   2 +-
.gitlab-ci.d/crossbuild-template.yml          |  26 +++
.gitlab-ci.d/windows.yml                      |  13 +-
tests/docker/Makefile.include                 |   6 +-
.../dockerfiles/debian-hexagon-cross.docker   |   9 +-
tests/guest-debug/run-test.py                 |   2 +
tests/guest-debug/test-gdbstub.py             | 177 ------------------
tests/tcg/aarch64/Makefile.target             |   2 +-
tests/tcg/aarch64/gdbstub/test-sve-ioctl.py   |   3 -
tests/tcg/aarch64/gdbstub/test-sve.py         |   3 -
tests/tcg/multiarch/gdbstub/interrupt.py      |  97 ++++++++++
tests/tcg/multiarch/gdbstub/memory.py         |   3 -
tests/tcg/multiarch/gdbstub/sha1.py           |   4 -
.../multiarch/gdbstub/test-proc-mappings.py   |   4 -
.../multiarch/gdbstub/test-qxfer-auxv-read.py |   4 -
.../gdbstub/test-thread-breakpoint.py         |   4 -
.../multiarch/system/Makefile.softmmu-target  |  16 +-
tests/tcg/s390x/gdbstub/test-signals-s390x.py |   4 -
tests/tcg/s390x/gdbstub/test-svc.py           |   4 -
30 files changed, 324 insertions(+), 295 deletions(-)
create mode 100644 tests/tcg/multiarch/system/interrupt.c
delete mode 100644 tests/guest-debug/test-gdbstub.py
create mode 100644 tests/tcg/multiarch/gdbstub/interrupt.py
[PATCH v3 00/12] gdbstub and testing fixes for 8.2 (pre-PR)
Posted by Alex Bennée 8 months ago
This is the current state for my maintainer queue my first 8.2 PR now
the tree is open. It includes the previous testing/next fixes as well
as some more cleanups to modernise the gdbstub tests and code. It also
includes Matheus' fixes for SIGINT.

v3
  - added r-b tags
  - review comments for get_feature_xml

I'd like to send the PR this week so please review the following patches:

 - gdbstub: refactor get_feature_xml
 - tests: remove test-gdbstub.py
 - tests/tcg: remove quoting for info output

Alex Bennée (9):
  tests/docker: cleanup non-verbose output
  tests/tcg: remove quoting for info output
  docs/style: permit inline loop variables
  tests: remove test-gdbstub.py
  tests/tcg: clean-up gdb confirm/pagination settings
  gdbstub: remove unused user_ctx field
  gdbstub: refactor get_feature_xml
  gdbstub: replace global gdb_has_xml with a function
  gdbstub: move comment for gdb_register_coprocessor

Daniel P. Berrangé (1):
  gitlab: enable ccache for many build jobs

Matheus Branco Borella (1):
  gdbstub: fixes cases where wrong threads were reported to GDB on
    SIGINT

Thomas Huth (1):
  .gitlab-ci.d/cirrus.yml: Update FreeBSD to v13.2

 docs/devel/ci-jobs.rst.inc                    |   7 +
 docs/devel/style.rst                          |   9 +-
 gdbstub/internals.h                           |   3 +-
 include/exec/gdbstub.h                        |  20 +-
 gdbstub/gdbstub.c                             | 144 ++++++++------
 gdbstub/softmmu.c                             |   1 -
 gdbstub/user.c                                |   1 -
 target/arm/gdbstub.c                          |   8 +-
 target/ppc/gdbstub.c                          |   4 +-
 tests/tcg/multiarch/system/interrupt.c        |  28 +++
 .gitlab-ci.d/buildtest-template.yml           |  11 ++
 .gitlab-ci.d/cirrus.yml                       |   2 +-
 .gitlab-ci.d/crossbuild-template.yml          |  26 +++
 .gitlab-ci.d/windows.yml                      |  13 +-
 tests/docker/Makefile.include                 |   6 +-
 .../dockerfiles/debian-hexagon-cross.docker   |   9 +-
 tests/guest-debug/run-test.py                 |   2 +
 tests/guest-debug/test-gdbstub.py             | 177 ------------------
 tests/tcg/aarch64/Makefile.target             |   2 +-
 tests/tcg/aarch64/gdbstub/test-sve-ioctl.py   |   3 -
 tests/tcg/aarch64/gdbstub/test-sve.py         |   3 -
 tests/tcg/multiarch/gdbstub/interrupt.py      |  97 ++++++++++
 tests/tcg/multiarch/gdbstub/memory.py         |   3 -
 tests/tcg/multiarch/gdbstub/sha1.py           |   4 -
 .../multiarch/gdbstub/test-proc-mappings.py   |   4 -
 .../multiarch/gdbstub/test-qxfer-auxv-read.py |   4 -
 .../gdbstub/test-thread-breakpoint.py         |   4 -
 .../multiarch/system/Makefile.softmmu-target  |  16 +-
 tests/tcg/s390x/gdbstub/test-signals-s390x.py |   4 -
 tests/tcg/s390x/gdbstub/test-svc.py           |   4 -
 30 files changed, 324 insertions(+), 295 deletions(-)
 create mode 100644 tests/tcg/multiarch/system/interrupt.c
 delete mode 100644 tests/guest-debug/test-gdbstub.py
 create mode 100644 tests/tcg/multiarch/gdbstub/interrupt.py

-- 
2.39.2