This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCHv2] gdbserver: Add .dir-locals.el file


> 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.

> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]