From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95615 invoked by alias); 2 Mar 2020 17:08:07 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 95566 invoked by uid 89); 2 Mar 2020 17:08:06 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-13.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=promising X-HELO: mail-wm1-f49.google.com Received: from mail-wm1-f49.google.com (HELO mail-wm1-f49.google.com) (209.85.128.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Mar 2020 17:08:05 +0000 Received: by mail-wm1-f49.google.com with SMTP id a25so367291wmm.0 for ; Mon, 02 Mar 2020 09:08:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=LXtuY+IEvS1TWm5l1LtNrrwiheCxEdD8gl0Em5lyQNA=; b=co5KfmUwwKTSMk5UcjqUEQSN35ld/S+r591TnDuIKaYqNMp7GXX4zJ1I5Umo7S6+MM YsNFGJnSLOMdKjdYiCtWKZpRqSxwl04BVuCgiD6fwyqMHHWfAZDAdflOfbzDBJ6tFiRq ckwoTrEVTWy6vc8RpU31lX6A6Yi9DDYw3H+MwKrpTQxnYfzBLkO81F1uVXvJIUzQPpFK s3j/gLqbTM2NcKCakvYppCQUwGPYPEcr8Zm8MdmYMD0ONWsrNg4k6hDNLXhd68IY9KJQ 4Lm1XJIa0ScwfDkDi7OgIJBe2pJsvyTO7PNMWYbM4VgSYICTDOJK88bIwgTZJNrQA5jW jMyg== Return-Path: Received: from localhost ([212.69.42.53]) by smtp.gmail.com with ESMTPSA id c4sm60376wml.7.2020.03.02.09.08.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 02 Mar 2020 09:08:01 -0800 (PST) Date: Mon, 02 Mar 2020 17:08:00 -0000 From: Andrew Burgess To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCHv2] gdbserver: Add .dir-locals.el file Message-ID: <20200302170801.GR3317@embecosm.com> References: <20200302123123.13921-1-andrew.burgess@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Fortune: If you're not careful, you're going to catch something. X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.9.2 (2017-12-15) X-IsSubscribed: yes X-SW-Source: 2020-03/txt/msg00028.txt * Pedro Alves [2020-03-02 14:06:46 +0000]: > On 3/2/20 12:31 PM, Andrew Burgess wrote: > > Baris, > > > > Good spot on the *.h files, I hadn't considered them. I did look > > breifly at how I might change the mode only for *.h files, but > > couldn't see anything obvious, and as we don't currently have any *.c > > files I just restored the c-mode to c++-mode setting. > > > > Thanks, > > Andrew > > > > > > --- > > > > Copy the .dir-locls.el file from gdb/ to gdbserver/ so that we get the > > GNU style when editing these files in Emacs. > > I think we want this in gdbsupport/ as well? > > Since this is now just a plain copy with no modifications, can't we > source the original file instead of copying it? I'm not aware of a way to import one .dir-locals from another, I did some searching and couldn't find anything promising. Given that would you accept 3 copies of the file? Thanks, Andrew