From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19736 invoked by alias); 4 Dec 2001 22:31:30 -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 19693 invoked from network); 4 Dec 2001 22:31:28 -0000 Received: from unknown (HELO monkey.daikokuya.demon.co.uk) (158.152.184.26) by sources.redhat.com with SMTP; 4 Dec 2001 22:31:28 -0000 Received: from neil by monkey.daikokuya.demon.co.uk with local (Exim 3.33 #1 (Debian)) id 16BO6o-00069t-00; Tue, 04 Dec 2001 22:32:14 +0000 Date: Tue, 04 Dec 2001 14:31:00 -0000 From: Neil Booth To: Geoff Keating Cc: gcc@gcc.gnu.org Subject: Re: problems debugging gcc Message-ID: <20011204223213.A23655@daikokuya.demon.co.uk> References: <200112041958.LAA06265@kankakee.wrs.com> <20011204203454.A20475@daikokuya.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23i X-SW-Source: 2001-12/txt/msg00182.txt.bz2 Geoff Keating wrote:- > There's a bug in cc1: it doesn't store file names for statements, only > line numbers, and so debugging information for functions that have > lines from multiple files is often wrong. Hmm, sounds like it's non-trivial to fix and been around forever then. It also sounds like a good reason to use the line maps and drop the mucking about with global filename and line number variables, no? Neil.