From patchwork Tue Aug 15 14:51:17 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: 713779 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp1822517wrp; Tue, 15 Aug 2023 07:52:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEbW/apGhIqK4VfBFHLnSoSk+Ag+guo9GFPsGos5tCjMV7xv1LgdtEm/rfANOC6PZlQUDhB X-Received: by 2002:a0c:f311:0:b0:647:29a2:f44b with SMTP id j17-20020a0cf311000000b0064729a2f44bmr4245019qvl.7.1692111173992; Tue, 15 Aug 2023 07:52:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692111173; cv=none; d=google.com; s=arc-20160816; b=ZTjTqmCiYNU+IOO2Josb8pbK3jFxl9FgbYz0gO7aFPaDhpt3EXAvXx5kf59dfja0m6 VDlRD0cowOAo8d7K9xewUvsyBBWDZfaoz8kbk3a/NFnJ+DNNYSfmGQgt2SNohN3vpYf4 cAUUF/glk3Xg6IPryTLxWUF8lxDQiKxWXxWU7yU5XIW5OFauXEcNN44NW87iKEHL/1Ln WqaOxOfylHEQ+2+Qv3aQ0tvKDM48kPv+5sp+98pQ6G4Kqw//tewEvc3U1mxdkQKxjo98 ssDQBg2XfUW5vnWRuqCPcgx5svx5Jsqr9KhGOo8wGFo0YkZjRfAgcQnzky7/R8baVhRL qKgg== 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=qeUKY95QFqLo9QI2QA4rRd/AuW9ucHYdf8Xoc9W9FlA=; fh=04/pGBQSKxP/VRM1dOX7r60Lg6gNaLrLAuVAoZSSo70=; b=IeolG0svqUxATUhoVm8nXSebC/J44fbtWK3dEYceY3iC+3B9Ip7wXp8IBPJaG6Q+E9 OU2lh3XJ3qpljQiW3BOux3cnbjYSUYRDxPawIU6aC3Q1xond+ePrzEctorc+5+M7hIEe sqAlAURTVVk7OR9+ZCt/+znY2ZVlI4FULcR7RkyCq0fw5BP9KZ3gwWwBzjHRow5UXqCQ 5tDRv6dSvgN3Vnzb0XqEh2GRQvLMIYuWx84+NC1uGEWR8D7+fQsPCypjttcdKrv11We2 i0JJopBH6fuRO/Bv4HCMQ42Pm6zGJgAhj2+zWkjY2XAc8w7RpUAo4f82it6suHZ+kAeB InkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GXWfbueu; 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 m1-20020a0c9d01000000b006472b3d19d3si1773021qvf.169.2023.08.15.07.52.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 Aug 2023 07:52:53 -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=GXWfbueu; 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 1qVvOT-0005m5-V4; Tue, 15 Aug 2023 10:51:37 -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 1qVvOS-0005kV-Kv for qemu-devel@nongnu.org; Tue, 15 Aug 2023 10:51:36 -0400 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qVvOM-0006FZ-07 for qemu-devel@nongnu.org; Tue, 15 Aug 2023 10:51:36 -0400 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fe9f226cdbso4676862e87.0 for ; Tue, 15 Aug 2023 07:51:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692111088; x=1692715888; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=qeUKY95QFqLo9QI2QA4rRd/AuW9ucHYdf8Xoc9W9FlA=; b=GXWfbueubvYAOiYK/OrcZf1vmU5gfUCz6BJqSxtf2DfgaaM+9W2+u6WEDqTlzZCJ0c H6GrBOr7Bnxj539wF0Ha7mxtSoU2/yE3618XwR18m2fs/Qo9niB+e18eTcER4JZR55UK OkFBiy87ujOaJu75Efq9ggWkpqbs1LRU9ranCCw8VAQMhcS1O/lJ6OjXJWl31//+8mx3 VLV4XfyVUDD35h9PR/nSvNcfdjrFFMGWcYDRTvRBsitica+GDPQefF2hXtDk6Z325SVK zVL5EWm2q2bUWHcyCrJ1OdAt/wfEidYsm/RIO9SoGUdrY0lzLd0PpNas8pB1A7k5X4f9 Y4iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692111088; x=1692715888; 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=qeUKY95QFqLo9QI2QA4rRd/AuW9ucHYdf8Xoc9W9FlA=; b=ZrVvkynbxu3fq8z3YVsJT6K1OYfFLcTZbPMVBAG5liM7Y8gVRd2hgDXHRp8ipX+H8F JzM+kFkE/3V7BGfmwxXU41uI+Cy3Dd8jgfPU3gR19lCvsK94I9B16ELG5HVCKLwVIEbH ihu7UJJiTR8+bizwLl2qeclkNR8b4G1REqHj2aKMNVzogxcfQlrhdLsWJyy/T5GVXAMz b8OV6S0hISrB+f00AGYs44H0YFzBsGRoCk3QI9WLLx1cA/ZANh55T4/0BFkxJy6hJPux j68pwN7egY+Ggs789MLHYgUoZCaJlHQRcDxjLeeaBGOOOyQ6cTgcGJSCaFsa0NNVU4OG 4qqQ== X-Gm-Message-State: AOJu0YyBs4UpV3IjbH29hHz6D1iobmF/QT9DzRqeYr8sdD8qmJjCmaAA NwD6fHD4Ijv6VQaCxFojF7XROA== X-Received: by 2002:a05:6512:3c87:b0:4fb:cb10:64d0 with SMTP id h7-20020a0565123c8700b004fbcb1064d0mr11091970lfv.29.1692111087593; Tue, 15 Aug 2023 07:51:27 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a22-20020a05600c225600b003fe20db88ebsm18117157wmm.31.2023.08.15.07.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Aug 2023 07:51:27 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id C513C1FFBB; Tue, 15 Aug 2023 15:51:26 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Wainer dos Santos Moschetta , Peter Maydell , Akihiko Odaki , Thomas Huth , David Hildenbrand , Yonggang Luo , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-arm@nongnu.org, Daniel Henrique Barboza , David Gibson , Greg Kurz , =?utf-8?q?C=C3=A9dric_Le_Goater?= , Richard Henderson , qemu-s390x@nongnu.org, Ilya Leoshkevich , qemu-ppc@nongnu.org, =?utf-8?q?Philip?= =?utf-8?q?pe_Mathieu-Daud=C3=A9?= , Nicholas Piggin Subject: [PATCH 0/9] gdbstub and testing fixes for 8.2 Date: Tue, 15 Aug 2023 15:51:17 +0100 Message-Id: <20230815145126.3444183-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::136; envelope-from=alex.bennee@linaro.org; helo=mail-lf1-x136.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=unavailable 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 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