From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2867 invoked by alias); 7 Oct 2012 08:00:19 -0000 Received: (qmail 2846 invoked by uid 22791); 7 Oct 2012 08:00:16 -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; Sun, 07 Oct 2012 08:00:12 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TKlmV-0004bJ-19 from Yao_Qi@mentor.com ; Sun, 07 Oct 2012 01:00:11 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 7 Oct 2012 01:00:10 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.1.289.1; Sun, 7 Oct 2012 01:00:09 -0700 Message-ID: <5071367F.4030203@codesourcery.com> Date: Sun, 07 Oct 2012 08:00:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 MIME-Version: 1.0 To: Dmitry Kozlov CC: , Vladimir Prus , Luis Machado , "'Stan_Shebs@mentor.com'" , Marc Khouzam Subject: Re: question on trace-stop-notes implementation References: <506C3395.8010701@mentor.com> In-Reply-To: <506C3395.8010701@mentor.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2012-10/txt/msg00040.txt.bz2 On 10/03/2012 08:46 PM, Dmitry Kozlov wrote: > This provides difficulties for IDE integration: for exampe IDE can't > know that stop notes changed without explicit quering gdb by show > stop-notes. A new MI notification 'command param changed' was added to GDB CVS mainline some weeks ago, and MI frontend should get the notification when stop note is changed by 'set trace-stop-notes' command. (gdb) set trace-stop-notes bar &"set trace-stop-notes bar\n" =cmd-param-changed,param="trace-stop-notes",value="bar" ^done This notification (along with other notifications I added recently) is to address the difficulties you mentioned (MI frontend has to query GDB to get some states of GDB). -- Yao