From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id SI7THrBTV2cxwAkAWB0awg (envelope-from ) for ; Mon, 09 Dec 2024 15:31:44 -0500 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=D5w/spFu; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 7B4001E097; Mon, 9 Dec 2024 15:31:44 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=unavailable autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 0F8051E05C for ; Mon, 9 Dec 2024 15:31:44 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A7C703858282 for ; Mon, 9 Dec 2024 20:31:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7C703858282 Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=D5w/spFu Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id C4E993858415 for ; Mon, 9 Dec 2024 20:30:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C4E993858415 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C4E993858415 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733776256; cv=none; b=oGEQCDV6WhJES/gMF6/d9mCEOsKZWKtKQKzsIOWO413ErtvNfjhgCVnUukbZceuqfT2PZ14QYmJQWPtDzCC3o2A8XNDXH493BqSdqaZrSzv5T6MmmGtoa0clFUEo1aRTv5wFCeyG9nroCJHzG5hcRYl0QbiHlsc6iE/SXn38eOY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1733776256; c=relaxed/simple; bh=P3lT7wRojV2s9OWlvnyR4zv8SlZQ8sPfUA55T8vbsUo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=v147W6uSJn7vPDyQCkz9CLShXIVNKV07Coeonfnpy0UevifNhFCq9dVYo60k7HUs4Bc3epOIzcJW22l/DJN+JHK4VKzCTQ2xLdEGzkfIRN4eP9JlzDkRYJL4b3A+61GPwwk0Nhb3qVFxnL13LNAOMN7amTwbA2sJIY9FtEcYFiQ= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C4E993858415 Received: from eig-obgw-5008a.ext.cloudfilter.net ([10.0.29.246]) by cmsmtp with ESMTPS id KgBGtrwduiA19KkPAtSRMl; Mon, 09 Dec 2024 20:30:56 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id KkP9tZrbxw1r6KkP9tfEWK; Mon, 09 Dec 2024 20:30:56 +0000 X-Authority-Analysis: v=2.4 cv=KOBcDkFo c=1 sm=1 tr=0 ts=67575380 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=RZcAm9yDv7YA:10 a=ItBw4LHWJt0A:10 a=dzWzf_mpAAAA:8 a=zhMcWs1l9p9XdMJ3FT8A:9 a=b4DR9a7p2ZdsqdHBznES:22 a=6Ogn3jAGHLSNbaov7Orx:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AyV39bYV7MAui56K/DCZ/jwv8r8MxUuDcB66cQSZEYc=; b=D5w/spFutTgUr3eDU253Sij+zz JucmGSfyUdCx9R6gMlNv7Wuvcuo8Un5gW0kvt+RRLjJCsRCBKk2X40UiPTpkE7KHlv2fSsgl2Dm0r d0NV4NRT8uaRjb/uUyDZ0EVGw; Received: from 97-122-113-155.hlrn.qwest.net ([97.122.113.155]:50122 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1tKkP9-000SYb-01; Mon, 09 Dec 2024 13:30:55 -0700 From: Tom Tromey To: Simon Marchi Cc: Luis Machado , William Ferreira , gdb-patches@sourceware.org Subject: Re: [PATCH] [gdb] Create script to convert old tests into Dwarf::assemble calls. In-Reply-To: (Simon Marchi's message of "Thu, 5 Dec 2024 12:46:37 -0500") References: <20241205135550.9320-1-wqferr@gmail.com> <5eb4ee44-8ae7-4fcc-8b1a-ee8c47ab86f2@simark.ca> X-Attribution: Tom Date: Mon, 09 Dec 2024 13:30:53 -0700 Message-ID: <87plm0iooy.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.113.155 X-Source-L: No X-Exim-ID: 1tKkP9-000SYb-01 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-113-155.hlrn.qwest.net (murgatroyd) [97.122.113.155]:50122 X-Source-Auth: tom+tromey.com X-Email-Count: 6 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfFLSaTYDNY8P5Wz+pf/4nehljctB/j2gVDlnYJKmk9BBmtqx6yXEFYnPmVfBTj3cg+xlNDLIkpAAQ7CTu/RBNNB1Kc3TfjxDgvPMW7RfRjqjPG6Hyc9r iWzSq8dyqLDW86BP4aNkImD+3CVIGaRXjxQX6MZBVpYdrpO6CVux7xvS+xcE5NLcwRVdErBSX2pYlE6NQDykji1lkeBH9vyt2uI= 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: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Simon" == Simon Marchi writes: >>> I'm not sure I would put it under testsuite/lib. This directory >>> contains stuff used by the tests themselves (expect code) of test >>> programs. Maybe right under testsuite? There are already two Python >>> utils there. >> How about gdb/contrib? Simon> I wouldn't expect to find things specific to the testsuite there. I'd also suggest contrib: It seems to me that running this program on the existing pre-DWARF-assembler tests is a one-time thing: we convert them, remove the old .s files, and move on. However, the program can also be used (or modified so it can be...) to convert other programs to DWARF assembler. This will be useful when writing new tests -- you can use it to generate a rough draft of the test file. In this case, contrib seems reasonable to me. Another idea would be to make a new directory where we keep all the maint-related Python code. This would make it easier for us to reuse code, have gdb-maint-specific modules for import & sharing, etc. Tom