Re: [RFC/RFA?] Should break FILE:LINENO skip prologue?

Michael Snyder
2008-01-14T23:02:58Z

On Sun, 2008-01-13 at 02:36 -0800, Joel Brobecker wrote:
> > > What I suggest is that we document *FUNCTION as a special case and yet
> > > very useful form of *EXPRESSION, and explain why it works.
> >
> > In what languages _does_ it work, besides C/C++?
>
> I can say for sure for some of the languages only. For sure, it will
> work with c, c++, asm, minimal, objective-c. I made some experiments
> by forcing the language to other values, and tried "break *main",
> and it also worked for the following languages: fortran, java,
> modula-2, and pascal. It did NOT work with scheme. We have users
> from at least Fortran, Pascal and Modula-2, we should as them to
> confirm.

Joel, if my memory is correct, this is because the "*" is not
interpreted by the language parser, it is interpreted by the
linespec parser.