From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id PfbRN3v5wl+neAAAWB0awg (envelope-from ) for ; Sat, 28 Nov 2020 20:29:31 -0500 Received: by simark.ca (Postfix, from userid 112) id D87961F0AB; Sat, 28 Nov 2020 20:29:31 -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 8F7961E552 for ; Sat, 28 Nov 2020 20:29:31 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1E6E5385802E; Sun, 29 Nov 2020 01:29:31 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id A80893858004 for ; Sun, 29 Nov 2020 01:29:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A80893858004 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) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 30B5E1E552; Sat, 28 Nov 2020 20:29:06 -0500 (EST) Subject: Re: [PATCH v2] Search for DWZ files in debug-file-directories as well To: Sergio Durigan Junior References: <20201114234842.2334396-1-sergiodj@sergiodj.net> <20201119022708.3627287-1-sergiodj@sergiodj.net> <87zh31yza7.fsf@paluero> <87r1odyo6w.fsf@paluero> From: Simon Marchi Message-ID: <1c4cb421-79bd-3bba-eb97-bc5469ac98c2@simark.ca> Date: Sat, 28 Nov 2020 20:29:05 -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: <87r1odyo6w.fsf@paluero> 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: , Cc: Mark Wielaard , gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" On 2020-11-28 7:57 p.m., Sergio Durigan Junior wrote: > ddir is just a temporary variable that will hold the current > debug-file-directory + SLASH_STRING. I don't see how I could > pre-compute it outside the loop, where I won't have access to the > debug-file-directory. But maybe I'm missing something? Ah sorry, I was confused then, forget about that. Simon