This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [doc patch] gdbint: braces for two lines in code [Re: [patch] Fix for PR gdb/9538 (loading of separate debuginfo and symlinks).]
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: jan dot kratochvil at redhat dot com, brobecker at adacore dot com, dje at google dot com, ppluzhnikov at google dot com, gdb-patches at sourceware dot org
- Date: Fri, 13 Jan 2012 13:27:43 +0200
- Subject: Re: [doc patch] gdbint: braces for two lines in code [Re: [patch] Fix for PR gdb/9538 (loading of separate debuginfo and symlinks).]
- References: <20120113110600.GA3501@host2.jankratochvil.net> <4F1011EA.1030509@redhat.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 13 Jan 2012 11:13:46 +0000
> From: Pedro Alves <palves@redhat.com>
> CC: Joel Brobecker <brobecker@adacore.com>, Eli Zaretskii <eliz@gnu.org>,
> Doug Evans <dje@google.com>, Paul Pluzhnikov <ppluzhnikov@google.com>,
> gdb-patches@sourceware.org
>
> On 01/13/2012 11:06 AM, Jan Kratochvil wrote:
> > This mail became a real nitpick/bikeshed.
>
> But it's a useful one, because it eliminates all future possible nitpicks,
> by casting the rule in stone. I'm glad you're doing this. Thank you.
Seconded.
FWIW, all I meant is to leave your original example intact, and modify
the text as follows:
Any two or more lines in code should be wrapped in braces, even if
they are comments, as they look as separate statements:
Thanks.