Robert Dewar writes:
 > Ian Lance Taylor wrote:
 > > Alexandre Oliva <[EMAIL PROTECTED]> writes:
 > > 
 > >>   A plan to fix local variable debug information in GCC
 > >>
 > >>           by Alexandre Oliva <[EMAIL PROTECTED]>
 > >>
 > >>                      2007-12-18 draft
 > > 
 > > Thank you for writing this.  It makes an enormous difference.
 > > 
 > > 
 > >> == Goals
 > > 
 > > I note that you don't say anything about the other big problem with
 > > debugging optimized code, which is that the debugger jumps around all
 > > over the place.  That is fine, of course.
 > 
 > I don't think it is fine, we have constant complaints from our
 > users about this. I think we definitely need an optimization
 > level that avoids this.

Short of putting a barrier at every sequence point, how would you stop
the debugger from jumping all over the place?  I'm assuming that you
do want the debugger to show what is actually going on, not fake it.

Andrew.

-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 
1TE, UK
Registered in England and Wales No. 3798903

Reply via email to