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: [PATCH 1/3] Remove spurious exceptions.h inclusions


Doug Evans wrote:
> Can you also update the Include files section of the coding standards?
> https://sourceware.org/gdb/wiki/Internals%20GDB-C-Coding-Standards
> 
> This section needs to list exceptions.h and others that .c and .h
> files are no longer supposed to directly include.

I have updated it.  Rather than adding a long list of headers that
will undoubtedly rot I have specified that files should not include
stuff included by whichever of defs.h, server.h, common-defs.h is
relevant.  The wording is not ideal but it's the best I could come
up with.

Thanks,
Gary

-- 
http://gbenson.net/


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