From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27848 invoked by alias); 18 Sep 2012 07:24:19 -0000 Received: (qmail 27830 invoked by uid 22791); 18 Sep 2012 07:24:13 -0000 X-SWARE-Spam-Status: No, hits=-4.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Sep 2012 07:23:59 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TDsA2-0004lc-Vl from Yao_Qi@mentor.com ; Tue, 18 Sep 2012 00:23:58 -0700 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Tue, 18 Sep 2012 00:23:58 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Tue, 18 Sep 2012 00:23:57 -0700 Message-ID: <50582156.50107@codesourcery.com> Date: Tue, 18 Sep 2012 07:24:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: Eli Zaretskii CC: Subject: Re: [PATCH] traceframe_changed observer and MI notification References: <1346404195-20864-1-git-send-email-yao@codesourcery.com> <5057BB72.9070305@codesourcery.com> <83pq5j257w.fsf@gnu.org> In-Reply-To: <83pq5j257w.fsf@gnu.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2012-09/txt/msg00345.txt.bz2 On 09/18/2012 02:52 PM, Eli Zaretskii wrote: >> +or @value{GDBN} stops examining traceframes and resumes live debugging. > This line should be edited to explain the meaning of negative values > of tfnum. > tfnum will never be negative in notification. In traceframe_changed observer, tfnum can be negative, and notification "=traceframe-changed,end" is emitted accordingly. > Also, I don't understand the significance of the reference to > 'tfind'. Why is it important to mention that? > because users use command 'tfind' to examine a certain traceframe, and the changes of traceframe trigger this MI notification, so I mention 'tfind' here. -- Yao