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: [doc RFA] Switch to GCC coding style


On Tue, 02 Nov 2010 19:01:10 +0100, Joel Brobecker wrote:
> > There are lots of things on the gcc codingconventions page that need
> > to be converted (e.g., gcc_assert), or revised (e.g., prototypes for
> > _initialize_foo fns can appear in .c files (and should *only* appear
> > in .c files)).
> > 
> > I'm not sure, but it might be simpler to just copy over the relevant bits.
> 
> This is something I was thinking about as well.  I think we should have
> our own Wiki page for conventions.  That way, we can document our own
> specific requirements (gdb_assert, etc).

The current code is not strictly compliant to any standard anyway.  And I do
not think GDB wants to needlessly diverge from GCC on GCC Conventions updates
in the future.  These were the reasons why I prefer just referencing GCC
Conventions.


Thanks,
Jan


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