From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13141 invoked by alias); 30 Jul 2004 10:46:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13134 invoked from network); 30 Jul 2004 10:46:07 -0000 Received: from unknown (HELO aragorn.inter.net.il) (192.114.186.23) by sourceware.org with SMTP; 30 Jul 2004 10:46:07 -0000 Received: from zaretski (pns03-201-72.inter.net.il [80.230.201.72]) by aragorn.inter.net.il (MOS 3.4.6-GR) with ESMTP id DZI20469; Fri, 30 Jul 2004 13:45:19 +0300 (IDT) Date: Fri, 30 Jul 2004 11:32:00 -0000 From: "Eli Zaretskii" To: Daniel Jacobowitz Message-Id: <2914-Fri30Jul2004134328+0300-eliz@gnu.org> CC: allenh@eecs.berkeley.edu, gdb@sources.redhat.com In-reply-to: <20040729152940.GA7326@nevyn.them.org> (message from Daniel Jacobowitz on Thu, 29 Jul 2004 11:29:40 -0400) Subject: Re: breaking at for-loop test line Reply-to: Eli Zaretskii References: <4108321A.6070306@eecs.berkeley.edu> <20040729152940.GA7326@nevyn.them.org> X-SW-Source: 2004-07/txt/msg00369.txt.bz2 > Date: Thu, 29 Jul 2004 11:29:40 -0400 > From: Daniel Jacobowitz > > 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?