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: "Eli Zaretskii" <eliz at gnu dot org>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: allenh at eecs dot berkeley dot edu, gdb at sources dot redhat dot com
- Date: Fri, 30 Jul 2004 13:43:28 +0200
- Subject: Re: breaking at for-loop test line
- References: <4108321A.6070306@eecs.berkeley.edu> <20040729152940.GA7326@nevyn.them.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 29 Jul 2004 11:29:40 -0400
> From: Daniel Jacobowitz <drow@false.org>
>
> I've been thinking for a while about a better interface for this, but I
> haven't come up with one yet.
Does GCC tell us in any way (via the debug info) that a single source
line has more than a single statement?
If not, the only way for GDB to figure that out is to parse the source
code by itself.
> GDB could also make it much easier to figure out where the condition is
> than it does now...
How?