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: FYI: My Coding Style cheat-sheet on the Wiki


I suggest we make a script that can check the format of the patch and
tell which line's format is not right.  Like in Linux kernel
scripts/checkpatch.pl

Thanks,
Hui

On Thu, Jan 6, 2011 at 16:32, Joel Brobecker <brobecker@adacore.com> wrote:
> This is something I started writing down in a text file, and thought
> I'd share. This is unofficial, and incomplete, and there is a big
> disclaimer about it.
>
> The intention for this document is to be a cheat-sheet in the situations
> where you know there is a rule about something, but can't remember what
> exactly it says. Instead of having to grep 2 documents (the GCS, and
> our GDB Internal's manual), the cheat-sheet is meant to be a possible
> help.
>
> I hope that it helps others. ?Everyone should feel free to update
> and enhance this document, if they find it useful. ?I hope that
> the cheap-to-update simplicity of the Wiki will encourage anyone
> to do so.
>
> http://sourceware.org/gdb/wiki/JoelsCodingStyleCheatSheet
>
> This page is also accessible from the HomePage.
>
> --
> Joel
>


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