From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17983 invoked by alias); 23 Oct 2013 08:29:16 -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 17926 invoked by uid 89); 23 Oct 2013 08:29:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 Oct 2013 08:29:14 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1VYtoY-0006XO-06 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Wed, 23 Oct 2013 01:29:14 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 23 Oct 2013 01:29:13 -0700 Received: from qiyao.dyndns.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Wed, 23 Oct 2013 01:29:13 -0700 From: Yao Qi To: Subject: [PATCH 5/5] set/show code-cache NEWS and doc Date: Wed, 23 Oct 2013 08:29:00 -0000 Message-ID: <1382516855-32218-6-git-send-email-yao@codesourcery.com> In-Reply-To: <1382516855-32218-1-git-send-email-yao@codesourcery.com> References: <1382516855-32218-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2013-10/txt/msg00711.txt.bz2 gdb: 2013-10-23 Yao Qi * NEWS: Add note on new "set code-cache" option. gdb/doc: 2013-10-23 Yao Qi * gdb.texinfo (Caching Remote Data): Document new `set/show stack-cache' option. --- gdb/NEWS | 6 ++++++ gdb/doc/gdb.texinfo | 10 ++++++++++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index 10834df..2533b0c 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -98,6 +98,12 @@ set range-stepping show range-stepping Control whether target-assisted range stepping is enabled. +set code-cache +show code-cache + Use more aggressive caching for accesses to the code. This improves + performance of remote debugging (particularly disassemble) without + affecting correctness. + * You can now use a literal value 'unlimited' for options that interpret 0 or -1 as meaning "unlimited". E.g., "set trace-buffer-size unlimited" is now an alias for "set diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 44fb174..c80f17d 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -10821,6 +10821,16 @@ caching. By default, this option is @code{ON}. @item show stack-cache Show the current state of data caching for memory accesses. +@kindex set code-cache +@item set code-cache on +@itemx set code-cache off +Enable or disable caching of code accesses. When @code{ON}, use +caching. By default, this option is @code{ON}. + +@kindex show code-cache +@item show code-cache +Show the current state of data caching for code accesses. + @kindex info dcache @item info dcache @r{[}line@r{]} Print the information about the data cache performance. The -- 1.7.7.6