From patchwork Thu Aug 10 15:36:32 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: 712361 Delivered-To: patch@linaro.org Received: by 2002:a05:6359:baf:b0:129:c516:61db with SMTP id gf47csp722429rwb; Thu, 10 Aug 2023 08:38:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHjbyii70uVRVTYoxr2vC7ykC9iLONkhlcx18unCtFRP162T8vJY63Msy8Qw+COrgjBvcHS X-Received: by 2002:a05:620a:44ca:b0:75d:209e:58c4 with SMTP id y10-20020a05620a44ca00b0075d209e58c4mr3741552qkp.10.1691681929295; Thu, 10 Aug 2023 08:38:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691681929; cv=none; d=google.com; s=arc-20160816; b=v2Pmn42udN2EsOovSse/N73Nk81Ray9K30kxWiEY+uWLZJ/uDa1tv7jPSrNziO9OOq 2T2Ohs5e/SNn93ZlXUR5ttRSh+hSuXyl/j0AkK+Qw3Vf1m3UX0TWtj/mF2zK1osNChU5 sX+wHn+xmAsH1TjszJViaLHn0waaEX7cRuh+bVdJ6Cpxmcwg2YPvHkjCilSAJp/JfT9n UwrJg8O8ygUizNCizvzXMNF7T+2wBbEOTmmti76GA2cIxBb8/Ayikyw5f5gZd7dILXdn wkRc59AcAcOZ+W9JKtxz5Ue69Mw//fOD4GuBAyKeaAgfnBO64op8+fteU9o5XspZWDYi 8orA== 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=QpJlLC+2rPb/GCH1pCbOPBgLpIEQvbMEnU2tGVcF2MQ=; fh=qB6qsUxbxKbTZmjsWUc4Ke7azY87y2Vvvlw9q2TjVaE=; b=pomhaNO+S1RNJaqdHHcn3k5YaYDTVV22ZcjiwxsJntYCO50Jzcmp54TGPGQTuHUNXM 2+OFVaOw4FSnXl4lXJNB7/B9VeLG1otQDMIZLF9DonPtUM398J61ZezdGtf1GYyGBVNv /Y+jCKcoLWEqjtm0vDXazCUcwDXN6Dwy1C6nxCluO7T2F7lS+DS7ovMpVPblzpqkwBEa 0YVO8AhLkKnhxuzmZ87d9/6HAfRpgPy95UmrhyAcqzAJsyl/h8vPDGq3VIidXw3yHPhC n/B4fBqGEQJeSeogryB5U5E8cUazinr8ZJX2IQaMVqPJOKAWRc9mKQsZr6RpssJNWFmJ tshw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pw0utXns; 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 g6-20020a37b606000000b00767287d6dddsi976377qkf.353.2023.08.10.08.38.49 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Aug 2023 08:38:49 -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=Pw0utXns; 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 1qU7iT-0005Ik-8q; Thu, 10 Aug 2023 11:36:49 -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 1qU7iS-0005Hg-GR for qemu-devel@nongnu.org; Thu, 10 Aug 2023 11:36:48 -0400 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qU7iN-0003DJ-U5 for qemu-devel@nongnu.org; Thu, 10 Aug 2023 11:36:48 -0400 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b9c907bc68so16368281fa.2 for ; Thu, 10 Aug 2023 08:36:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691681802; x=1692286602; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QpJlLC+2rPb/GCH1pCbOPBgLpIEQvbMEnU2tGVcF2MQ=; b=Pw0utXnsmDKFz87cK5160z6HTHc2XQRm8KhcD+V+UCB5cQSyauzPykRAPxNrXJ6Yon 1Bb7GRvrbrkoRAYW7ddpyBZgTsdjAbqhn7yJ/ptNai+egThcLCBfmz82oXxwZuSOmrIz vUTqOZzp+dhmJ2hbzNYJ8diAgwMHbOhULALrBnj88wDRo465iA0WZx0cxX2dLqTBRfkU L4FQ7ZNsonTGwQUMthGEp6VgEK6y+F8+hUTVtwHoVmMnqsXvjWUsmy7Wbu+3rArd+qZJ GGrEnn9QO8bRJ4VsHxCRFg/q93rrFDX/o82z6eryfRjVlswQ1aYtXY7JIEopMkmVpL4a myOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691681802; x=1692286602; 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=QpJlLC+2rPb/GCH1pCbOPBgLpIEQvbMEnU2tGVcF2MQ=; b=Yx0Nj+MGfe4K1Nomg3OL4SLvslYi+zUCWv+PmXE1z/5jDnLxGTT/xOCnYe/j2TDwGW /7cTg8iwg53pXLCjhRelxe43nTGKkpHVud4/+OhkSCxY7I+L2bQNIfkyu3osMVqpU1ry 9VPrcgYj6LZYrXsN1DXGjpZB3j5A8w8bIR9TFuPeR1JBhUkRvsRsl/T8JNfdBlyyyLu9 d1+YRjyM/M0/F9tluEPpFGtUUDFIOUtiD6B+H2qlxHKzA+QakEJ/6VotLdZcVdz0VRmZ sJEnexXIAzyZAlyCuHgI6NKqpLTgjkt4EQw2C/uh14bfIOJoj02vBPGfMdkYIVbrQx0B FzkQ== X-Gm-Message-State: AOJu0YynPKQ2W8o9eKowiKk25cparKRKoKetnWfsjJHzgDGIUnHz3uVB 3xPD0lznoRCIn5Ws7dLJyfX49Q== X-Received: by 2002:a2e:8653:0:b0:2b7:4169:fcf5 with SMTP id i19-20020a2e8653000000b002b74169fcf5mr2434628ljj.37.1691681801772; Thu, 10 Aug 2023 08:36:41 -0700 (PDT) Received: from zen.linaroharston ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id v1-20020a05600c214100b003fe215e4492sm2511175wml.4.2023.08.10.08.36.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 08:36:41 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B01921FFBB; Thu, 10 Aug 2023 16:36:40 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , Ilya Leoshkevich , Yonggang Luo , Beraldo Leal , Richard Henderson , Peter Maydell , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Thomas Huth , David Hildenbrand , qemu-arm@nongnu.org, qemu-s390x@nongnu.org, Wainer dos Santos Moschetta Subject: [PATCH 0/8] some testing and gdbstub fixes Date: Thu, 10 Aug 2023 16:36:32 +0100 Message-Id: <20230810153640.1879717-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::230; envelope-from=alex.bennee@linaro.org; helo=mail-lj1-x230.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 mostly gdbstub focused but I cleaned up some bits while I was in the testing makefiles. This is mostly to make the "check-tcg" output as clean as possible without ugly line wraps. I tried to eliminate the gdbstub info() output but sadly this is harder than expected. I've tweaked the gdbstub handling for Ctrl-c packets as suggested by Matheus. While I was there I also noticed we were being a bit precious about gdb sending preemptive ACKS so I fixed that as well. I don't know if this is all late 8.1-rc material but its fairly simple testing updates and the ccache stuff from Daniel should help as well. 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 tests/tcg: ensure system-mode gdb tests start stopped gdbstub: more fixes for client Ctrl-C handling gdbstub: don't complain about preemptive ACK chars Daniel P. Berrangé (1): gitlab: enable ccache for many build jobs docs/devel/ci-jobs.rst.inc | 7 + gdbstub/gdbstub.c | 10 +- .gitlab-ci.d/buildtest-template.yml | 11 ++ .gitlab-ci.d/crossbuild-template.yml | 26 +++ .gitlab-ci.d/windows.yml | 13 +- gdbstub/trace-events | 1 + tests/docker/Makefile.include | 6 +- .../dockerfiles/debian-hexagon-cross.docker | 9 +- tests/guest-debug/run-test.py | 11 +- 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/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 | 4 +- tests/tcg/s390x/gdbstub/test-signals-s390x.py | 4 - tests/tcg/s390x/gdbstub/test-svc.py | 4 - 21 files changed, 83 insertions(+), 227 deletions(-) delete mode 100644 tests/guest-debug/test-gdbstub.py Reviewed-by: Philippe Mathieu-Daudé