This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Sat Mar 12 01:53:29 UTC 2011
- From: Eli Zaretskii <eliz at gnu dot org>
- To: "Pierre Muller" <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: pedro at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Mon, 14 Mar 2011 08:52:51 -0400
- Subject: Re: New ARI warning Sat Mar 12 01:53:29 UTC 2011
- References: <20110312015329.GA20179@sourceware.org> <006701cbe220$a1a8dba0$e4fa92e0$@muller@ics-cnrs.unistra.fr> <E1Pz5v6-0002FS-Es@fencepost.gnu.org> <201103141213.43979.pedro@codesourcery.com> <000601cbe244$22256280$66702780$@muller@ics-cnrs.unistra.fr>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
> Date: Mon, 14 Mar 2011 13:34:16 +0100
>
> > "A function declaration should not have its name in column zero. A
> > function definition should have its name in column zero."
>
> Thank you for finding this out...
> This is clearer than what I try to explain to Eli before.
>
> Eli, do you agree with this statement
> in gdbint.textinfo or should it be modified?
That sentence says what one should _not_ do. The issue in this thread
is what to do instead.
> Would you like to enhance it to specify what to do if
> the whole function declaration
> TYPE NAME (PARAMS);
> doesn't fit into a 80 columns line?
>
> I am willing to adapt the ARI rule to such recommendations.
I suggested how to format that case. If that suggestion is accepted,
I will change gdbint.texinfo accordingly.