From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2u/qJBZjYmrXVSoAWB0awg (envelope-from ) for ; Thu, 23 Jul 2026 14:53:10 -0400 Received: by simark.ca (Postfix, from userid 112) id 83F6E1E09E; Thu, 23 Jul 2026 14:53:10 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6568E1E033 for ; Thu, 23 Jul 2026 14:53:09 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A99584BA79A0 for ; Thu, 23 Jul 2026 18:53:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A99584BA79A0 Received: from angie.orcam.me.uk (angie.orcam.me.uk [78.133.224.34]) by sourceware.org (Postfix) with ESMTP id 8006D4BA540B for ; Thu, 23 Jul 2026 18:52:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8006D4BA540B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=orcam.me.uk Authentication-Results: sourceware.org; spf=none smtp.mailfrom=orcam.me.uk ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8006D4BA540B Authentication-Results: sourceware.org; arc=none smtp.remote-ip=78.133.224.34 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784832763; cv=none; b=NiMev7Qf92vqe7M9Pco86BAue8uCNFeyge/ABpiJbMf+oVfAV92EC7EoGaxvZgYLj+F0HxgL7oJc70sN8nuzWn7/4Jfj4NiHAdHj1SZhja6B2QV1x8RsOdn0nXPoteAQTUBC4nwOqUyMSIKgpc6bhz250QdjjXY+OwRW91JNiXM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784832763; c=relaxed/simple; bh=38QqZAupRM87BFSGqzl81/hpne0BX1EM8DwOEkB80ig=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=wI+pv9AHOn7UpFrZ9VIW5/ESeEDv1+QbOv+mfAx2/BGhkoPKkFREBmbd6e3vo7Igr5w6R1sFhWo+YPUxEUWem+eg70bAb+LDWxiRyKvNx3GalAFKdIiqAiQSva8hscFnoBdrW8DRzy/kK7N4smICydXTcnto4oUdgB1v9IDEDcI= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8006D4BA540B Received: by angie.orcam.me.uk (Postfix, from userid 500) id 54C6292009C; Thu, 23 Jul 2026 20:52:42 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 4F53F92009B; Thu, 23 Jul 2026 19:52:42 +0100 (BST) Date: Thu, 23 Jul 2026 19:52:42 +0100 (BST) From: "Maciej W. Rozycki" To: gdb-patches@sourceware.org cc: Jovan Dmitrovic , Djordje Todorovic , Milica Matic , "Maciej W. Rozycki" Subject: [PATCH 0/7] MIPS+testsuite: BLEZL stepping fix and associated test infrastructure Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Maciej W. Rozycki" Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Hi, This patch series is based on a buried bug fix extracted from a change submitted to add MIPSr6 support, most recently posted at , that corrects the handling of single-stepping through the BLEZL MIPS II instruction. This fix begged for test coverage, as indeed does all the MIPS software single-stepping infrastructure, so I have created a bunch of test cases roughly based on the skeleton already provided with said MIPSr6 change, however with extra feature checks to correctly enable individual tests based on the target configuration chosen for the testsuite invocation and target board's compatibility with the ISA required for test execution. This in turn revealed a repeated pattern of feature check code across numerous procedures in testsuite/lib/gdb.exp. Rather than adding a bunch more, I chose to factor out the repeated pattern and build the new feature checks around it. For illustration purposes I have converted the existing `powerpc*-*-*' target feature checks I could verify with my POWER9 test system. Consequently this set of 7 changes has resulted, comprised of the new generic procedure in 1/7, followed by the `powerpc*-*-*' updates in 2/7, and then the MIPS changes in 3/7 through 7/7. Only MIPS I, MIPS II and MIPS16 CPU branches are covered at this point. See individual change descriptions for details. Authorship attributions are on the best knowledge basis. This patch set has been regression-tested with a `powerpc64le-linux-gnu' native configuration using POWER9 hardware and with the `mips-linux-gnu' and `mipsel-linux-gnu' targets, using real MIPS I, MIPS III and MIPS32r2 hardware, the latter with regular MIPS and MIPS16 test configurations. Detailed logs were examined for correctness with respect to the tests affected as well. I request approval for the non-MIPS parts of the patch series; I can self-approve the MIPS bits, though obviously I'm happy to address any feedback. Company copyright assignment with FSF is currently being sorted. Maciej