From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28481 invoked by alias); 30 Jul 2009 16:16:09 -0000 Received: (qmail 28454 invoked by uid 22791); 30 Jul 2009 16:16:07 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Jul 2009 16:16:00 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n6UGFusg028410; Thu, 30 Jul 2009 12:15:56 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n6UGFtOK031350; Thu, 30 Jul 2009 12:15:55 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n6UGFsjw015567; Thu, 30 Jul 2009 12:15:54 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 4034A5081C4; Thu, 30 Jul 2009 10:15:54 -0600 (MDT) To: Paul Pluzhnikov Cc: gdb@sourceware.org Subject: Re: Solibs and objfile BFD ownership References: <20090728154001.GA19451@caradoc.them.org> <8ac60eac0907291656v13f568ebw4f3a2b9bb7c7223d@mail.gmail.com> From: Tom Tromey Reply-To: tromey@redhat.com Date: Thu, 30 Jul 2009 16:16:00 -0000 In-Reply-To: <8ac60eac0907291656v13f568ebw4f3a2b9bb7c7223d@mail.gmail.com> (Paul Pluzhnikov's message of "Wed\, 29 Jul 2009 16\:56\:44 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-07/txt/msg00240.txt.bz2 >>>>> "Paul" == Paul Pluzhnikov writes: Paul> There doesn't appear to be a correct order of destruction :-( [...] Paul> I do not know if there is a better way to fix this. It seems to me that there are not many choices. Either we must pick a single owner, pick an order, implement something like reference counting for BFDs, or have a separate function to clean up the BFDs. Tom