From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24062 invoked by alias); 10 Feb 2014 10:06:26 -0000 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 Received: (qmail 24052 invoked by uid 89); 10 Feb 2014 10:06:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 10 Feb 2014 10:06:25 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id D6763116519; Mon, 10 Feb 2014 05:06:22 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7m+shmfiA0Yv; Mon, 10 Feb 2014 05:06:22 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 75245116484; Mon, 10 Feb 2014 05:06:22 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 7ABDDE075B; Mon, 10 Feb 2014 14:06:22 +0400 (RET) Date: Mon, 10 Feb 2014 10:06:00 -0000 From: Joel Brobecker To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [commit/Ada] Add a symbol lookup cache Message-ID: <20140210100622.GU5485@adacore.com> References: <1392018685-15134-1-git-send-email-brobecker@adacore.com> <52F8A39E.8030300@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52F8A39E.8030300@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-02/txt/msg00288.txt.bz2 > > +/* An obstack used to store the entries in our cache. */ > > +static struct obstack cache_space; > > + > > +/* The root of the hash table used to implement our symbol cache. */ > > +static struct cache_entry *cache[HASH_SIZE]; > > Seems to me this should be per program space, not global? You're right. I'm in the middle of testing the DLL load/unload cleanup patches, but I will take care of it right after. Thanks, -- Joel