This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] use correct column info for function definitions
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: joseph at codesourcery dot com, gcc-patches at gcc dot gnu dot org, charlet at act-europe dot fr, tromey at redhat dot com
- Date: Mon, 8 Sep 2008 20:07:36 -0400
- Subject: Re: [patch] use correct column info for function definitions
- References: <20080908213706.GA7429@redhat.com> <y0mtzcqntxd.fsf@ton.toronto.redhat.com>
On Mon, Sep 08, 2008 at 06:39:58PM -0400, Frank Ch. Eigler wrote:
>
> Aldy Hernandez <aldyh@redhat.com> writes:
>
> > [...] In C, we are are using the opening brace of a function as the
> > column location for the function DECL. This is confusing for error
> > messages, though rumor has it, for debugging, we need the prologue
> > to point to the instruction after the opening brace-- hence the
> > current behavior.
>
> Have you tested the gdb test suite before & after this change?
Yes, as I mentioned in the original message, I have tested both the GCC
and the GDB regression testsuite. Two points to Aldy for being on top
of the game :).
Aldy