From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10884 invoked by alias); 4 May 2006 01:59:53 -0000 Received: (qmail 10874 invoked by uid 22791); 4 May 2006 01:59:52 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 04 May 2006 01:59:51 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FbT88-0005Ah-OZ; Wed, 03 May 2006 21:59:48 -0400 Date: Thu, 04 May 2006 01:59:00 -0000 From: Daniel Jacobowitz To: Ross Morley Cc: GDB List Subject: Re: Source info in discontiguous hand asm files Message-ID: <20060504015948.GA19834@nevyn.them.org> Mail-Followup-To: Ross Morley , GDB List References: <44595771.1070907@tensilica.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44595771.1070907@tensilica.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00016.txt.bz2 On Wed, May 03, 2006 at 06:22:57PM -0700, Ross Morley wrote: > Hello, > > gdb 6.1, as 2.15.92.0.2, gcc 3.4.2 per FC3 distro. All of these are fairly old versions. Have you looked at the generated debug information? Is it correct, or not? > The DWARF .debug_aranges section seems to have enough information > to deal with this, but GDB doesn't use it. I'm not sure how .debug_aranges comes into this. That's used to describe the range of the compilation unit DIEs and shouldn't affect .debug_line. -- Daniel Jacobowitz CodeSourcery