From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32645 invoked by alias); 3 Nov 2013 16:50:03 -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 32635 invoked by uid 89); 3 Nov 2013 16:50:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mtaout22.012.net.il Received: from Unknown (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 03 Nov 2013 16:50:01 +0000 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MVP00J0058D0400@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Sun, 03 Nov 2013 18:49:53 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MVP00IOA5F2PV80@a-mtaout22.012.net.il>; Sun, 03 Nov 2013 18:49:51 +0200 (IST) Date: Sun, 03 Nov 2013 16:50:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 05/10] Invalidate or shrink dcache when setting is changed. In-reply-to: <1383458049-20893-6-git-send-email-yao@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83li15a0rb.fsf@gnu.org> References: <1383458049-20893-1-git-send-email-yao@codesourcery.com> <1383458049-20893-6-git-send-email-yao@codesourcery.com> X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00043.txt.bz2 > From: Yao Qi > Date: Sun, 3 Nov 2013 13:54:05 +0800 > > --- a/gdb/doc/gdb.texinfo > +++ b/gdb/doc/gdb.texinfo > @@ -10863,13 +10863,16 @@ printed in hex. > @item set dcache size @var{size} > @cindex dcache size > @kindex set dcache size > -Set maximum number of entries in dcache (dcache depth above). > +Set maximum number of entries in dcache (dcache depth above). When > +the dcache is being used, its size is greater than this setting, it > +is shrunk. ^^^^^^^^^^^^^^^^^^^^^^^^ "if its size is greater than ..." > @kindex set dcache line-size > Set number of bytes each dcache entry caches (dcache width above). > -Must be a power of 2. > +Must be a power of 2. When the dcache is being used, its width is > +different from this setting, it is invalidated. Likewise. OK with those changes. Thanks.