From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7601 invoked by alias); 2 Mar 2020 14:06:55 -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 7553 invoked by uid 89); 2 Mar 2020 14:06:54 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.9 required=5.0 tests=BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-delivery-1.mimecast.com Received: from us-smtp-2.mimecast.com (HELO us-smtp-delivery-1.mimecast.com) (205.139.110.61) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 02 Mar 2020 14:06:53 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583158012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AIuuvJGXsNzyHPbeMG41dOxM8XlrevNfHwvvxpsmunE=; b=NIOirpPrY1EpWGHX9mX7wIFsShNRkt1ii5xkAE97/ZDcX8U8dbGeS+TnWwNMxk7kJPpapw uVmyj0W5BZT244kCajkCPZmhpWoY7igm1zaUFfOSdTH5d5cwQ2JUAkxVUK0mDTAoH0VRlT vL7voGcha2C8uVsmZZiJt5lLVLGiwxc= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-90-ZMVBXMT9OF2CscS2BDnnlg-1; Mon, 02 Mar 2020 09:06:50 -0500 Received: by mail-ed1-f69.google.com with SMTP id bc3so7900228edb.15 for ; Mon, 02 Mar 2020 06:06:49 -0800 (PST) Return-Path: Received: from ?IPv6:2001:8a0:f909:7b00:21e8:4cd6:8ec1:f387? ([2001:8a0:f909:7b00:21e8:4cd6:8ec1:f387]) by smtp.gmail.com with ESMTPSA id i14sm1048825edl.51.2020.03.02.06.06.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Mar 2020 06:06:47 -0800 (PST) Subject: Re: [PATCHv2] gdbserver: Add .dir-locals.el file To: Andrew Burgess , gdb-patches@sourceware.org References: <20200302123123.13921-1-andrew.burgess@embecosm.com> From: Pedro Alves Message-ID: Date: Mon, 02 Mar 2020 14:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20200302123123.13921-1-andrew.burgess@embecosm.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2020-03/txt/msg00024.txt 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? Thanks, Pedro Alves