From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 989 invoked by alias); 7 Apr 2012 22:27:52 -0000 Received: (qmail 980 invoked by uid 22791); 7 Apr 2012 22:27:52 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TVD_SUBJ_NUM_OBFU_MINFP X-Spam-Check-By: sourceware.org Received: from shell4.bayarea.net (HELO shell4.bayarea.net) (209.128.82.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 07 Apr 2012 22:27:39 +0000 Received: (qmail 19485 invoked from network); 7 Apr 2012 15:27:39 -0700 Received: from c-76-102-3-160.hsd1.ca.comcast.net (HELO redwood.eagercon.com) (76.102.3.160) by shell4.bayarea.net with SMTP; 7 Apr 2012 15:27:39 -0700 Message-ID: <4F80BF5A.7070004@eagerm.com> Date: Sat, 07 Apr 2012 22:27:00 -0000 From: Michael Eager User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: Doug Evans CC: gdb-patches@sourceware.org Subject: Re: [commit] dwarf2read.c (load_partial_dies): Change condition to assert. References: <20120407193915.4B21224618E@ruffy.mtv.corp.google.com> <4F80A628.7050304@eagerm.com> <4F80B598.9050606@eagerm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: 2012-04/txt/msg00120.txt.bz2 On 04/07/2012 03:13 PM, Doug Evans wrote: > I think we need to be careful with terminology here (gdb sometimes > doesn't make this easy though). > There's per_cu and there's per_cu->cu. > per_cu (i.e. struct dwarf2_per_cu_data) does not get flushed or aged. > per_cu->cu (i.e. struct dwarf2_cu) does. > > In your case did a struct dwarf2_per_cu_data disappear, or was it per_cu->cu? Probably the per_cu->cu. The terminology and the many uses of the same or similar names make remembering the details difficult. > I have no doubt there are bugs in this area, btw. Yup. -- Michael Eager eager@eagercon.com 1960 Park Blvd., Palo Alto, CA 94306 650-325-8077