This is the mail archive of the gdb@sources.redhat.com 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: breaking at for-loop test line


On Tue, Aug 03, 2004 at 04:08:54PM -0400, Andrew Cagney wrote:
> Does dwarf3 include column information? That would let us break:
> 
>    for (i ; i < 10 ; i++)
> 
> into:
> 
>    for (i ;
>             i < 10 ;
>                      i++)
> 
> which, at least on a graphics device, could be very effectively 
> represented to the user - the section of code to next be executed could 
> be highlighted.

Hmm, yes - the line table does have a field for column.  GCC is working
on tracking columns internally, so after that, it shouldn't be too
difficult to make it output appropriate line table data.

-- 
Daniel Jacobowitz


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