This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?
> Date: Sun, 13 Jan 2008 10:21:13 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: drow@false.org, mark.kettenis@xs4all.nl, gdb-patches@sourceware.org
>
> > Date: Sun, 13 Jan 2008 06:21:36 +0200
> > From: Eli Zaretskii <eliz@gnu.org>
> >
> > > In Ada, as Joel said, this is not true. *FUNCTION won't work
> >
> > That's too bad: this is an important feature, so if we cannot make it
> > work in all languages, we should at least document that.
>
> This is exactly the reason why documenting *FUNCTION on its own is the
> wrong thing to do. What we implement in GDB is *EXPRESSION, where
> EXPRESSION is an expression in the current language yielding an
> address.
You seem to be saying that documenting things that might be obvious is
a bad thing. If so, then I disagree: if it wasn't obvious for me,
there will be others.