From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 8e6KBOswHmn8wRQAWB0awg (envelope-from ) for ; Wed, 19 Nov 2025 16:04:43 -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=IgKX3kaq; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 0D6881E0B6; Wed, 19 Nov 2025 16:04:43 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 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 A618B1E048 for ; Wed, 19 Nov 2025 16:04:42 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 29A20384D169 for ; Wed, 19 Nov 2025 21:04:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29A20384D169 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=IgKX3kaq Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id AB2223860C2D for ; Wed, 19 Nov 2025 21:03:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AB2223860C2D 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 AB2223860C2D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763586225; cv=none; b=EXVvBoJMhejI4a22Bqoi+k5PA0xf/EaGEsiJFF+mqXUhfLnLnmOSALXtKHJUTESMGYxb0n0fC9w61Nz3+LTF/O4pDEy7u22nKOxZhnTub4RxR7vbWw46pG6IkosaQ9inIsObZBLhVfVWMP9adgCaq/78N478In5jd/RS8y0sMlw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1763586225; c=relaxed/simple; bh=pVY5g6t0TTWR2XGiqFT629ISuWmkm4mNwxFPCGY2nPo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=SEapdBjX3S84ELykexOhsjXdvDNBv7oY1JRnk08/axmv2abFSMFAQ9MpjusSpmYpwFritbxOKsV+ScAVVV0j+UF37lvf0jd3/BF66/E3Vc6lgkLYEdwLJLTcPExjKbmy9xLeH5mSuPtTLVLEYSBbvWvUixNfnHTs/zvte/GpLjo= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB2223860C2D Received: from eig-obgw-6002b.ext.cloudfilter.net ([10.0.30.203]) by cmsmtp with ESMTPS id LogavA97ZipkCLpL6vQgRj; Wed, 19 Nov 2025 21:03:44 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id LpL6vduTmfjs1LpL6vu2Br; Wed, 19 Nov 2025 21:03:44 +0000 X-Authority-Analysis: v=2.4 cv=So+Q6OO0 c=1 sm=1 tr=0 ts=691e30b0 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=6UeiqGixMTsA:10 a=ItBw4LHWJt0A:10 a=_ZhYKdCeAAAA:8 a=QCTBtRchY6Ie1UtMgs8A:9 a=uqOk3ZSnBfCTOznnrPA1:22 a=VS4QxaUSPT0UtbFnIvSC: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=RqjRaBSyFYwGjb65/Oo22ORWxyA8mDcHFZbi2xUzbVE=; b=IgKX3kaqLfinsAIx+fdXNXaTOB jxnlH8NHC04yScXqOZaq6PG8OivPm4JNFN0TTYBS45P4ggh1zeMD4b5OiLVhgZySTBrmUe80gF3tL OEATWyH4+ZaSbpCy34d/XVviC; Received: from 97-122-120-205.hlrn.qwest.net ([97.122.120.205]:55468 helo=prentzel) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vLpL4-00000004Ctj-1MEa; Wed, 19 Nov 2025 14:03:42 -0700 From: Tom Tromey To: Simon Marchi Cc: Tom Tromey , Simon Marchi , gdb-patches@sourceware.org Subject: Re: [PATCH 2/6] gdb/testsuite/dwarf: convert _section proc to use parse_options In-Reply-To: <42a67fe2-718e-44e3-8a13-066205b2c3f4@polymtl.ca> (Simon Marchi's message of "Wed, 19 Nov 2025 15:40:12 -0500") References: <20251107211041.520697-1-simon.marchi@efficios.com> <20251107211041.520697-3-simon.marchi@efficios.com> <87v7j6qari.fsf@tromey.com> <42a67fe2-718e-44e3-8a13-066205b2c3f4@polymtl.ca> X-Attribution: Tom Date: Wed, 19 Nov 2025 14:03:40 -0700 Message-ID: <87fra991lf.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.120.205 X-Source-L: No X-Exim-ID: 1vLpL4-00000004Ctj-1MEa X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-120-205.hlrn.qwest.net (prentzel) [97.122.120.205]:55468 X-Source-Auth: tom+tromey.com X-Email-Count: 3 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfNhg5SWQGy8dGUSQOoSZ3WePDBJy4LIFZbDsdYH8k2dhg72ZAKSbCy6oPApfbLdDZZWam9dyLlxXH3dEdhThwEaY6B3mtzdzYLip+UrZOtzel99DVvz3 CKJtaQD9xam0NVNKb9e6M3jgZ0GpywSzhpxvjRxBacmCOFzTDcIEBNciyFcskV/cNOEE+Py9Fiy5EQYAEGoFEYQmTqAe+2KPSso= 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: Simon> It's true that if one was to call the proc with $name == ".debug_str" Simon> and some flags, the resulting assembler directive would be malformed. I Simon> can change it to Simon> if { $name == ".debug_str" } { Simon> # Hard-code this because it's always desirable. Simon> _emit " .section .debug_str, \"MS\", %progbits, 1" Simon> return Simon> } Simon> I think that would make it clear again that this is a special case, Simon> disconnected from the rest. Seems fine to me. Thanks. Tom