From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25298 invoked by alias); 1 Dec 2007 00:55:30 -0000 Received: (qmail 25290 invoked by uid 22791); 1 Dec 2007 00:55:30 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 01 Dec 2007 00:55:23 +0000 Received: (qmail 2496 invoked from network); 1 Dec 2007 00:55:22 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Dec 2007 00:55:22 -0000 To: Jan Kratochvil a Cc: Vladimir Prus , gdb-patches@sources.redhat.com, Joel Brobecker Subject: Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32) 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> <20071130145613.GA5941@caradoc.them.org> From: Jim Blandy Date: Sat, 01 Dec 2007 00:55:00 -0000 In-Reply-To: <20071130145613.GA5941@caradoc.them.org> (Daniel Jacobowitz's message of "Fri, 30 Nov 2007 09:56:13 -0500") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-12/txt/msg00000.txt.bz2 Daniel Jacobowitz writes: > 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. Sure, if Joel doesn't object.