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


> 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?


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