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


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


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