From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +I9PN40Vil9ldgAAWB0awg (envelope-from ) for ; Fri, 16 Oct 2020 17:50:05 -0400 Received: by simark.ca (Postfix, from userid 112) id CD2D01EF6F; Fri, 16 Oct 2020 17:50:05 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.2 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 36FCA1E58E for ; Fri, 16 Oct 2020 17:50:05 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BC9A73857C6C; Fri, 16 Oct 2020 21:50:04 +0000 (GMT) Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id C133F3857C6C for ; Fri, 16 Oct 2020 21:50:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C133F3857C6C 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 [172.16.0.95] (192-222-181-218.qc.cable.ebox.net [192.222.181.218]) (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 0D55D1E58E; Fri, 16 Oct 2020 17:50:01 -0400 (EDT) Subject: Re: [PATCH][gdb/testsuite] Remove hardcoded filenames in gdb.dwarf2/*.exp To: Tom de Vries , gdb-patches@sourceware.org References: <20201016124007.GA2305@delia> From: Simon Marchi Message-ID: <58f527d6-96c8-0b0a-a8d9-34112cb634b5@simark.ca> Date: Fri, 16 Oct 2020 17:50:01 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20201016124007.GA2305@delia> Content-Type: text/plain; charset=utf-8 Content-Language: tl 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-10-16 8:40 a.m., Tom de Vries wrote: > Hi, > > There's a common occurance in dwarf assembly test-cases, where a file test.exp > contains: > ... > standard_testfile test.c test-dw.S > ... > > The "test.c" arg can be abbreviated to ".c". > > Make standard_testfile treat args with "-" prefix the same as with "." prefix, > such that we can write: > ... > standard_testfile .c -dw.S > ... > and apply this in gdb.dwarf2/*.exp. > > Tested on x86_64-linux. > > Any comments? I think it makes sense, this LGTM. Simon