From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id wlv3H0fgql+3EwAAWB0awg (envelope-from ) for ; Tue, 10 Nov 2020 13:47:35 -0500 Received: by simark.ca (Postfix, from userid 112) id 72A2D1F08B; Tue, 10 Nov 2020 13:47:35 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 24D151E58F for ; Tue, 10 Nov 2020 13:47:35 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 811F7384B822; Tue, 10 Nov 2020 18:47:34 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 3CF86384B822 for ; Tue, 10 Nov 2020 18:47:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3CF86384B822 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark@simark.ca Received: from [10.0.0.11] (173-246-6-90.qc.cable.ebox.net [173.246.6.90]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id E32861E58F; Tue, 10 Nov 2020 13:47:31 -0500 (EST) Subject: Re: [PATCH][gdb/testsuite] Add share_abbrev option to cu in dwarf assembler To: Tom de Vries , gdb-patches@sourceware.org References: <20201105163938.GA26291@delia> From: Simon Marchi Message-ID: <940fa2e9-efa5-8f6d-2e15-357698df8a2a@simark.ca> Date: Tue, 10 Nov 2020 13:47:31 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20201105163938.GA26291@delia> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2020-11-05 11:39 a.m., Tom de Vries wrote: > Hi, > > This adds a share_abbrev option in the dwarf assembler, such that > different CUs can share a single abbrev table, like so: > ... > cu { share_abbrev first } { ... } > cu { share_abbrev 1 } { ... } > cu { share_abbrev 1 } { ... } > cu { share_abbrev last } { ... } > ... > > Tested by adding share_abbrev first/last to the two CUs in > gdb.dwarf2/imported-unit.exp. > > Any comments? No comments, other than I'm curious what's the end goal of this. You have a bug to reproduce that requires it? Simon