This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: breaking at for-loop test line
- From: Daniel Jacobowitz <drow at false dot org>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: Eli Zaretskii <eliz at gnu dot org>, allenh at eecs dot berkeley dot edu,gdb at sources dot redhat dot com
- Date: Tue, 3 Aug 2004 16:20:13 -0400
- Subject: Re: breaking at for-loop test line
- References: <4108321A.6070306@eecs.berkeley.edu> <20040729152940.GA7326@nevyn.them.org> <2914-Fri30Jul2004134328+0300-eliz@gnu.org> <20040803191957.GB25595@nevyn.them.org> <410FF0D6.3060902@gnu.org>
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