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?
> From: Jim Blandy <jimb@codesourcery.com>
> Date: Mon, 14 Jan 2008 14:24:55 -0800
>
> There are three possible approaches:
>
> a) In Eli's original message, the list include "*EXPRESSION" and
> "*FUNCTION" as separate cases. This suggested to me that Eli
> thought we should document them as separate cases.
>
> b) We could document the "*EXPRESSION" case, and then point out the
> commonly used "*FUNCTION" usage of that case.
>
> c) We could document "*EXPRESSION", and not mention "*FUNCTION" at
> all.
>
> I dislike a), because it suggests that "*FUNCTION" is recognized
> specially --- it is not. In many languages this doesn't matter, but
> as Joel points out, a) would be actively misleading for Ada users, as
> "*FUNCTION" does not refer to the first instruction of FUNCTION in
> Ada.
>
> I dislike c), for the reasons Eli mentioned, and because I appreciate
> having handy use cases pointed out.
>
> So b) is my first choice.
And b) is exactly what I tried to get across (although it seems I
failed). Hopefully this mail from Jim clarifies things.