Re: RFC: preserve line number when skipping prologue

Daniel Jacobowitz
2009-03-27T02:18:54Z

On Thu, Mar 26, 2009 at 03:49:49PM -0700, Joel Brobecker wrote:
> I don't know which one I prefer, though. Actually, I think I would
> prefer if GDB reported the real line on which it was inserted. But
> that would be a change of behavior from before, and that could
> have ramifications that could potentially annoys the users
> (on the "clear" command, for instance).

FWIW, a (related) request we often see is for IDEs to report which
lines can have breakpoints set on them. Still not foolproof with
optimized code, but much better. Eclipse JDT (Java) does this, and I
believe at least one vendor has managed to get CDT to do it also.

--
Daniel Jacobowitz
CodeSourcery