From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29440 invoked by alias); 30 Nov 2007 14:56:22 -0000 Received: (qmail 29430 invoked by uid 22791); 30 Nov 2007 14:56:22 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Nov 2007 14:56:16 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 5F58198249; Fri, 30 Nov 2007 14:56:15 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 7CCFC98245; Fri, 30 Nov 2007 14:56:14 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Iy7Hp-0001bW-5a; Fri, 30 Nov 2007 09:56:13 -0500 Date: Fri, 30 Nov 2007 14:56:00 -0000 From: Daniel Jacobowitz To: Jan Kratochvil , Jim Blandy Cc: Vladimir Prus , gdb-patches@sources.redhat.com Subject: Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32) Message-ID: <20071130145613.GA5941@caradoc.them.org> Mail-Followup-To: Jan Kratochvil , Jim Blandy , Vladimir Prus , gdb-patches@sources.redhat.com References: <20071009180246.GA26829@host0.dyn.jankratochvil.net> <20071009181701.GA30757@caradoc.them.org> <20071009185434.GA27810@host0.dyn.jankratochvil.net> <20071009185931.GA1220@caradoc.them.org> <20071124154339.GA14913@host0.dyn.jankratochvil.net> <20071130111021.GA17867@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071130111021.GA17867@host0.dyn.jankratochvil.net> User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00564.txt.bz2 On Fri, Nov 30, 2007 at 12:10:21PM +0100, Jan Kratochvil wrote: > It was not reproducible for me but the problem is Vladimir's i386 crti.S has > DW_AT_ranges which overlap the main code (due to its .fini part). The main > code full-symbols get ignored now due to it. > > Going to post a fix (try to load symtab for each matching psymtab?) and an > updated testcase. Jim, can we get your addrmap changes in as they are, instead of working on a representation change (which was the state when they were briefly discussed, in October)? After that, it's simple to solve this problem more accurately by using addrmaps for symtabs too, not just blocks. -- Daniel Jacobowitz CodeSourcery