From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27422 invoked by alias); 4 Dec 2001 23:37:21 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 27395 invoked from network); 4 Dec 2001 23:37:20 -0000 Received: from unknown (HELO monkey.daikokuya.demon.co.uk) (158.152.184.26) by sources.redhat.com with SMTP; 4 Dec 2001 23:37:20 -0000 Received: from neil by monkey.daikokuya.demon.co.uk with local (Exim 3.33 #1 (Debian)) id 16BP8a-0006KH-00; Tue, 04 Dec 2001 23:38:08 +0000 Date: Tue, 04 Dec 2001 15:37:00 -0000 From: Neil Booth To: Geoff Keating Cc: gcc@gcc.gnu.org Subject: Re: problems debugging gcc Message-ID: <20011204233807.A24275@daikokuya.demon.co.uk> References: <200112041958.LAA06265@kankakee.wrs.com> <20011204203454.A20475@daikokuya.demon.co.uk> <20011204223213.A23655@daikokuya.demon.co.uk> <200112042325.PAA32650@geoffk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200112042325.PAA32650@geoffk.org> User-Agent: Mutt/1.3.23i X-SW-Source: 2001-12/txt/msg00191.txt.bz2 Geoff Keating wrote:- > Oh, it's not related to the global variables. If it was just that, > I'd have fixed it a month ago. Look at STMT_LINENO in c-common.h, and > notice there is no STMT_FILENAME nor any easy way to add one. > > It started around when functions-as-trees was added. Instead of adding a filename component and taking up more memory, would it be too much to switch to using a single lineno and using the line maps to imply the file name? It probably is for a quick patch, but I might as well try. If it is too much, do you nevertheless agree that this, and similarly in other places, is worthwhile doing in GCC? Neil.