From patchwork Tue Aug 29 16:15:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 718224 Delivered-To: patch@linaro.org Received: by 2002:adf:d20a:0:b0:31d:da82:a3b4 with SMTP id j10csp68247wrh; Tue, 29 Aug 2023 09:17:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJR/O5oDT0DAqpvutUe9PELCvtUR+QO4iCIQgVw7NpMFpTNzMO2XfuLE+7bMSMIMZuwWUe X-Received: by 2002:a0c:e2ca:0:b0:64f:3ac9:4bb9 with SMTP id t10-20020a0ce2ca000000b0064f3ac94bb9mr28050558qvl.5.1693325855738; Tue, 29 Aug 2023 09:17:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693325855; cv=none; d=google.com; s=arc-20160816; b=Y0AV4uFjvz/Ngt6vuBU4hnubXZk92d84qa4tS4AsryG3rQEsY2/snzdjA4ClnLCLOM ZGjEyWpAt2Nm/ZroSKjz8J1l8T7jE+959nPrvynXvCfsOY2d4HK0fSi0j2t+pe43s+Av 8xHaIYfrp99pp/ahcbi9u+Lnri94wF5HQj++bj980Luxx7vxpkj4jmw5rzEkQH8JypUC JAeBQm8pytsIAIHCQ2bEOOss/2XwtYgJpazmb9k0unULiWJaBev61pqTg76TfuQKt7v3 QKpPTg2u5AIWtmsBiReYaWlcqcvNII25gVMU4qKu60SVc5pZr+hBuo4HXTMY3PN+HCGt LfgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=ZSJH+ZasLhVsZE5dwPT8pz3+Mk05fhAlnGZgRttVJr8=; fh=XRGxpyqI0YVzcp3Q9gBEMVQOmsG743peAXTGmKRj5T0=; b=WX/GuLLw1NtOC/5d/kI2tPA8eeNjHkZKGDo4zB8ExtZOMmEfKfl/l89m7tAKOxhWkK gqW9U9rjHOHcQhH3JGyVbyr5XUzyh3hDXYFnENTTlloARpdmLHpjjalMxBEAs2o7tWAI VOYNd/j0XMzcoNysGUcoyus6szKMI5Unau2E1uKu4WDHWmz7OMbW4/ygv+onO4fD+Q/Z fGKoYcrkzAYpUW8c7MPOXcuO+FxfnFdO2T9R0e4mYJ28ASaGGL8opaJpNhO+av5PHcr7 u0CksS2dkTwuzSLQRBswV4My9ihifNzG8AWexkke/I1KG9kwvBJYtRqngGKNTjcWTxD2 Np6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IBaaKLcu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id z8-20020a0cda88000000b006418d1582b2si5985864qvj.392.2023.08.29.09.17.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Aug 2023 09:17:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IBaaKLcu; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qb1NU-0004mQ-LL; Tue, 29 Aug 2023 12:15:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qb1NP-0004lh-TW for qemu-devel@nongnu.org; Tue, 29 Aug 2023 12:15:36 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qb1NL-0004NI-QX for qemu-devel@nongnu.org; Tue, 29 Aug 2023 12:15:34 -0400 Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-31c93d2a24fso2325523f8f.2 for ; Tue, 29 Aug 2023 09:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693325729; x=1693930529; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZSJH+ZasLhVsZE5dwPT8pz3+Mk05fhAlnGZgRttVJr8=; b=IBaaKLcuL7QuoNghWxdyJoQXFHwcLL7pkO10tdx0nWpFvqEZCZygGve+VSg9vuP9fD IEzyaRxafn8CMB3amYLyA3HA3M/gyGBy3hFGR5iGYAM2qb+bX1FQByweO0S++9jytJeX FrL5WcKyQutWzWx6ZaXVb9L4T56bbkDi7QW++ENB+R/PXHCxu7fggSiVYXAy4IU94XLm XMo/A6g6kjRKXfM19Y3hIXFIh6z+4/RUKy4Nv9QujapdVD0Te27ML0+fC55a4K9sgf+T tyrBDuxyTs4NXvMWm/0TQTz+jEc3KGHlTTWlMrUMZbX+5cdiAg0WJ3U8+qWXegvr4a0d M11g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693325729; x=1693930529; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZSJH+ZasLhVsZE5dwPT8pz3+Mk05fhAlnGZgRttVJr8=; b=edH/2CbzdPFi1T0NBCWg5n9DANWgA/17ft8IuMI2if3SMfDUdbdtX3tZXFPEN5u3Ot Jaa5K0jyCh7lCRQEg2ivyYVdR2cicXw/3Ewu4GhEEa1FXGyy07B4Bi6994nMVuJ+Cxgm NE2vNAs2eph1fVU5caX2LmDPsC0C/CTn84wKaQ218Td+gLCvftntgoO/RpRiwiTIFC7F VBMPPUjnRvjUoBJ+ICSpBgVhA0d9N7xY1lqSKpEsJVWP9UhigLlkNtwuL440mY1/uR4/ Mk1woioPgOSwzRvs/H2Pj/bkf/lyV0ZSBpNnnmTqXXUQu39qTF9cuGYzdk1h/pXIaDSd 6qIQ== X-Gm-Message-State: AOJu0YyUxKjkyAPvfzR7ayHAgGp87/VGyHa9Br4ohPmkh6aAY1iBaka7 NJBjm10ODKYK5s/KVaVvOJkSGw== X-Received: by 2002:a5d:4a90:0:b0:31c:6420:ff4 with SMTP id o16-20020a5d4a90000000b0031c64200ff4mr15950509wrq.36.1693325729680; Tue, 29 Aug 2023 09:15:29 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id n8-20020a5d4c48000000b003140f47224csm14130762wrt.15.2023.08.29.09.15.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Aug 2023 09:15:29 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 38D301FFBB; Tue, 29 Aug 2023 17:15:28 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Wainer dos Santos Moschetta , =?utf-8?q?Daniel_P=2E?= =?utf-8?q?_Berrang=C3=A9?= , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= , David Gibson , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Daniel Henrique Barboza , qemu-arm@nongnu.org, Markus Armbruster , qemu-ppc@nongnu.org, David Hildenbrand , qemu-s390x@nongnu.org, Greg Kurz , Nicholas Piggin , Akihiko Odaki , Juan Quintela , Yonggang Luo , Richard Henderson , Ilya Leoshkevich , Peter Maydell , Beraldo Leal , =?utf-8?q?Alex_Benn=C3=A9e?= , Thomas Huth Subject: [PATCH v3 00/12] gdbstub and testing fixes for 8.2 (pre-PR) Date: Tue, 29 Aug 2023 17:15:16 +0100 Message-Id: <20230829161528.2707696-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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