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

Pedro Alves
2020-03-02T14:06:55Z

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