From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 949 invoked by alias); 12 Sep 2002 20:54:39 -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 926 invoked from network); 12 Sep 2002 20:54:37 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Sep 2002 20:54:37 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8CKc1w09475; Thu, 12 Sep 2002 16:38:02 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8CKsYd12025; Thu, 12 Sep 2002 16:54:34 -0400 Received: from dot.sfbay.redhat.com (dot.sfbay.redhat.com [172.16.24.7]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g8CKsYC16259; Thu, 12 Sep 2002 13:54:34 -0700 Received: (from rth@localhost) by dot.sfbay.redhat.com (8.11.6/8.11.6) id g8CKsZm20425; Thu, 12 Sep 2002 13:54:35 -0700 X-Authentication-Warning: dot.sfbay.redhat.com: rth set sender to rth@redhat.com using -f Date: Thu, 12 Sep 2002 13:54:00 -0000 From: Richard Henderson To: Elias Athanasopoulos Cc: Pierre Habraken , binutils@sources.redhat.com, gdb@sources.redhat.com, Richard.Earnshaw@arm.com Subject: Re: [PATCH] Re: Section .debug_info in object file Message-ID: <20020912205434.GA20375@redhat.com> References: <3D806189.7A45FCBA@imag.fr> <20020912220303.A1134@neutrino.particles.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020912220303.A1134@neutrino.particles.org> User-Agent: Mutt/1.4i X-SW-Source: 2002-09/txt/msg00128.txt.bz2 On Thu, Sep 12, 2002 at 10:03:03PM +0300, Elias Athanasopoulos wrote: > * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field. > (out_debug_info): Likewise. I suppose we could do something like this. But it seems to me that this is a gdb bug. The complete file+line mapping is available in .debug_line. What purpose does the AT_name field of the compilation unit serve? > + * FIXME: we only store the first source > + * file, but we should add more records to > + * .debug_info for each source file we assemble. Definitely not. r~