From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11762 invoked by alias); 20 Dec 2014 10:43:55 -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 11748 invoked by uid 89); 20 Dec 2014 10:43:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout22.012.net.il Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 20 Dec 2014 10:43:52 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NGV00500MH3ER00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Sat, 20 Dec 2014 12:43:49 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NGV005GVN504D50@a-mtaout22.012.net.il>; Sat, 20 Dec 2014 12:43:49 +0200 (IST) Date: Sat, 20 Dec 2014 10:43:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] symbol lookup cache In-reply-to: To: Doug Evans Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83d27esisa.fsf@gnu.org> References: X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00586.txt.bz2 > From: Doug Evans > Date: Fri, 19 Dec 2014 23:56:23 -0800 > > Here is an updated patch for the symbol cache, > with docs and ChangeLog entry. Thanks. > +@kindex maint set symbol-cache-size > +@kindex maint show symbol-cache-size > +@cindex symbol cache size > +@item maint set symbol-cache-size @var{size} > +@item maint show symbol-cache-size > +Set the size of the symbol cache to @var{size}. > +The default size is intended to be good enough for debugging > +most applications. This option exists to allow for experimenting > +with different sizes. The item is both for "set" and "show", but the text only says "Set". Otherwise, the documentation parts are OK. Btw, I wonder if this should be a user option, not a "maint" option. The heuristics used to determine the cache size tend to be wrong in some rare corner cases, so letting the user override this should be a good thing, I think.