This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: preserve line number when skipping prologue


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]