[PATCHv2] gdbserver: Add .dir-locals.el file
Pedro Alves
palves@redhat.com
Thu Mar 5 16:00:00 GMT 2020
On 3/5/20 3:26 PM, Eli Zaretskii wrote:
>> Date: Thu, 5 Mar 2020 15:12:32 +0000
>> From: Andrew Burgess <andrew.burgess@embecosm.com>
>> Cc: Pedro Alves <palves@redhat.com>, gdb-patches@sourceware.org
>>
>>>>> Put a single file in the parent directory of those 3, I think.
>>>>
>>>> Good point. This would affect all projects in the top level,
>>>> though perhaps the file is right for all of them.
>>>
>>> You can arrange for the settings to affect only some of the
>>> subdirectories, the Emacs manual shows an example of that.
>>
>> I took a look at the examples, and, if I understand correctly I would
>> need to do something like:
>
> Yes, I think this is correct.
Thanks for exploring this.
>
>> Given how rarely the .dir-locals files change, my instinct is to just
>> add two new copies, and possibly ensure that all three versions of the
>> file have a big comment saying "remember to update the other versions
>> of this file located in ......".
>
> I'm okay with that as well, if people prefer it.
Yes, let's do that.
Thanks,
Pedro Alves
More information about the Gdb-patches
mailing list