Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Hui Zhu <teawater@gmail.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: FYI: My Coding Style cheat-sheet on the Wiki
Date: Thu, 06 Jan 2011 12:38:00 -0000	[thread overview]
Message-ID: <AANLkTimPVSrQL-XGo_DJ=jfEutbgGwr6xSRtQky+6zeq@mail.gmail.com> (raw)
In-Reply-To: <20110106083223.GC2361@adacore.com>

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
>


  reply	other threads:[~2011-01-06 12:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-06  8:32 Joel Brobecker
2011-01-06 12:38 ` Hui Zhu [this message]
2011-01-06 13:58 ` Yao Qi
2011-01-06 14:17   ` Joel Brobecker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimPVSrQL-XGo_DJ=jfEutbgGwr6xSRtQky+6zeq@mail.gmail.com' \
    --to=teawater@gmail.com \
    --cc=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox