From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17320 invoked by alias); 30 Nov 2007 11:10:31 -0000 Received: (qmail 17305 invoked by uid 22791); 30 Nov 2007 11:10:31 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 30 Nov 2007 11:10:27 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id lAUBAOjO031340 for ; Fri, 30 Nov 2007 06:10:24 -0500 Received: from pobox.stuttgart.redhat.com (pobox.stuttgart.redhat.com [172.16.2.10]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lAUBAN8U024830 for ; Fri, 30 Nov 2007 06:10:24 -0500 Received: from host0.dyn.jankratochvil.net (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.stuttgart.redhat.com (8.13.1/8.13.1) with ESMTP id lAUBAMtW028543 for ; Fri, 30 Nov 2007 06:10:22 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.1/8.14.1) with ESMTP id lAUBALSB017903; Fri, 30 Nov 2007 12:10:21 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.1/8.14.1/Submit) id lAUBAL4Y017902; Fri, 30 Nov 2007 12:10:21 +0100 Date: Fri, 30 Nov 2007 11:10:00 -0000 From: Jan Kratochvil To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] Parse DW_AT_ranges into PSYMTABS (for childless CU, for vDSO32) Message-ID: <20071130111021.GA17867@host0.dyn.jankratochvil.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) 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/msg00562.txt.bz2 On Fri, 30 Nov 2007 08:42:00 +0100, Vladimir Prus wrote: > Jan, > I'm afraid this patch causes the following regression for me: > > FAIL: gdb.threads/thread_check.exp: breakpoint at tf > > This FAIL disappears as soon as I revert to revision 1.236 of > gdb/dwarf2read.c -- right before your changes. Do you see the same > failure? 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. Thanks, Jan