This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Have block_innermost_frame start from selected frame
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Hilfinger at adacore dot com, gdb-patches at sourceware dot org
- Date: Tue, 10 Jan 2012 00:20:57 -0500
- Subject: Re: [RFA] Have block_innermost_frame start from selected frame
- References: <20111230215222.86B713FEE8@kwai.gnat.com> <8339c1td3u.fsf@gnu.org> <20120109071645.93E9F92BF6@kwai.gnat.com> <20120110043213.GC31383@adacore.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Tue, 10 Jan 2012 08:32:13 +0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: Eli Zaretskii <eliz@gnu.org>, gdb-patches@sourceware.org
>
> > +@smallexample
> > +void
> > +foo (int a)
> > +@{
> > + if (a < 10)
> > + bar (a);
> > + else
> > + process (a); /* Stop here */
> > +@}
>
> Nit-picking: The formatting looks a little off for the if and else
> blocks. It would be nicer, I think, if we remained consistent the GDB
> style...
>
> Eli?
Using the GNU style is preferable, yes.