[PATCH 0/9] gdbstub and testing fixes for 8.2

Alex Bennée posted 9 patches 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230815145126.3444183-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>, 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>
There is a newer version of this series
docs/devel/ci-jobs.rst.inc                    |   7 +
gdbstub/internals.h                           |   3 +-
include/exec/gdbstub.h                        |  10 +-
gdbstub/gdbstub.c                             | 119 +++++++-----
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/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 -
28 files changed, 293 insertions(+), 280 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 0/9] gdbstub and testing fixes for 8.2
Posted by Alex Bennée 9 months ago
This is the current state for my maintainer queue for when the tree
re-opens. 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.

The following patches need review:

  gdbstub: replace global gdb_has_xml with a function
  gdbstub: refactor get_feature_xml
  gdbstub: remove unused user_ctx field
  tests/tcg: clean-up gdb confirm/pagination settings
  tests: remove test-gdbstub.py
  tests/tcg: remove quoting for info output

Alex Bennée (7):
  tests/docker: cleanup non-verbose output
  tests/tcg: remove quoting for info output
  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

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

 docs/devel/ci-jobs.rst.inc                    |   7 +
 gdbstub/internals.h                           |   3 +-
 include/exec/gdbstub.h                        |  10 +-
 gdbstub/gdbstub.c                             | 119 +++++++-----
 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/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 -
 28 files changed, 293 insertions(+), 280 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