From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28349 invoked by alias); 3 Nov 2011 17:25:08 -0000 Received: (qmail 28328 invoked by uid 22791); 3 Nov 2011 17:25:07 -0000 X-SWARE-Spam-Status: No, hits=-7.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 03 Nov 2011 17:24:53 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pA3HOr6Z007504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 3 Nov 2011 13:24:53 -0400 Received: from host1.jankratochvil.net (ovpn-116-23.ams2.redhat.com [10.36.116.23]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pA3HOpuD027002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 3 Nov 2011 13:24:52 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id pA3HOoSW023535; Thu, 3 Nov 2011 18:24:50 +0100 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id pA3HOo88023534; Thu, 3 Nov 2011 18:24:50 +0100 Date: Thu, 03 Nov 2011 17:25:00 -0000 From: Jan Kratochvil To: Michael Eager Cc: "gdb-patches@sourceware.org" Subject: Re: SEGV in dwarf2read.c -- gdb-7.2 Message-ID: <20111103172450.GA23503@host1.jankratochvil.net> References: <4EB2BD58.3080003@eagerm.com> <20111103162026.GA12269@host1.jankratochvil.net> <4EB2C9DD.4030305@eagerm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4EB2C9DD.4030305@eagerm.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2011-11/txt/msg00088.txt.bz2 On Thu, 03 Nov 2011 18:05:33 +0100, Michael Eager wrote: > Can't help that. Bugs are found on the tools in use, not necessarily > the latest release. In such case I have to unfortunately say the bug is probably already fixed, see the other mail. > > I guess for performance reasons, the CU header read-in vs. load_full_comp_unit > > is a big difference. There are already some PRs (such as 12828 (a)) where GDB > > needlessly expands too many CUs "locking itself" by inacceptable performance. > > It seems that this would cause the CU header to be read many times, when > it would otherwise use the cache. It still may be more effective this way, it is difficult to decide without benchmarking specific cases. Thanks, Jan