From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13392 invoked by alias); 11 Apr 2013 02:44:06 -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 13366 invoked by uid 89); 11 Apr 2013 02:44:06 -0000 X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 11 Apr 2013 02:44:05 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1UQ7Ua-00037V-88 from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Wed, 10 Apr 2013 19:44:04 -0700 Received: from SVR-ORW-FEM-04.mgc.mentorg.com ([147.34.97.41]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 10 Apr 2013 19:44:04 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.1.289.1; Wed, 10 Apr 2013 19:44:03 -0700 From: Yao Qi To: Subject: [PATCH 7/7] range stepping: doc and NEWS Date: Thu, 11 Apr 2013 07:30:00 -0000 Message-ID: <1365648222-12540-8-git-send-email-yao@codesourcery.com> In-Reply-To: <1365648222-12540-1-git-send-email-yao@codesourcery.com> References: <1363006291-13334-1-git-send-email-yao@codesourcery.com> <1365648222-12540-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2013-04/txt/msg00304.txt.bz2 It was reviewed and approved by Eli here gdb/doc: 2013-04-10 Yao Qi * gdb.texinfo (Packets): Document about 'vCont;r'. gdb: 2013-04-10 Yao Qi * NEWS: Mention range stepping, new packet and new commands. --- gdb/NEWS | 12 ++++++++++++ gdb/doc/gdb.texinfo | 5 +++++ 2 files changed, 17 insertions(+), 0 deletions(-) diff --git a/gdb/NEWS b/gdb/NEWS index 6f202e2..0368c10 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -10,6 +10,10 @@ maint set|show per-command time maint set|show per-command symtab Enable display of per-command gdb resource usage. +maint set range-stepping +maint show range-stepping + Control and show whether to do range stepping. + * New options set remote trace-status-packet @@ -240,11 +244,19 @@ show debug notification feature to be enabled. For more information, see: http://fedoraproject.org/wiki/Features/MiniDebugInfo +* GDB now supports range stepping, which improves the performance of + single stepping over a source line by reducing the number of control + packets from GDB. + * New remote packets QTBuffer:size Set the size of trace buffer. The remote stub reports support for this packet to gdb's qSupported query. +vCont;r + Tell the remote stub to do range stepping in an address range. The remote + stub reports a stop reply when the program goes out of the range or is + stopped due to other reasons, such as hitting a breakpoint. Qbtrace:bts Enable Branch Trace Store (BTS)-based branch tracing for the current diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 9292b94..16059dc 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -36375,6 +36375,11 @@ Step. Step with signal @var{sig}. The signal @var{sig} should be two hex digits. @item t Stop. +@item r @var{start},@var{end} +Step repeatedly while the PC is within the range [@var{start}, +@var{end}). Note that a stop reply may be sent at any point even if +the PC is within the stepping range; for example, it is permissible to +implement this packet in a degenerate way as a single step operation. @end table The optional argument @var{addr} normally associated with the -- 1.7.7.6