From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1843 invoked by alias); 7 Oct 2012 17:26:16 -0000 Received: (qmail 1831 invoked by uid 22791); 7 Oct 2012 17:26:14 -0000 X-SWARE-Spam-Status: No, hits=-5.0 required=5.0 tests=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 17:26:05 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1TKuc8-0003Xn-BT from Vladimir_Prus@mentor.com ; Sun, 07 Oct 2012 10:26:04 -0700 Received: from SVR-IES-FEM-04.mgc.mentorg.com ([137.202.0.110]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 7 Oct 2012 10:26:04 -0700 Received: from EU-MBX-01.mgc.mentorg.com ([169.254.1.232]) by SVR-IES-FEM-04.mgc.mentorg.com ([137.202.0.110]) with mapi id 14.01.0289.001; Sun, 7 Oct 2012 18:26:02 +0100 From: "Prus, Vladimir" To: "Qi, Yao" CC: "Kozlov, Dmitry" , "gdb@sourceware.org" , "Gustavo, Luis" , "Shebs, Stan" , Marc Khouzam Subject: Re: question on trace-stop-notes implementation Date: Sun, 07 Oct 2012 17:26:00 -0000 Message-ID: <8815DDFC-F8BA-4C5C-BC00-7187CB58356C@mentor.com> References: <506C3395.8010701@mentor.com>,<5071367F.4030203@codesourcery.com> In-Reply-To: <5071367F.4030203@codesourcery.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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/msg00041.txt.bz2 Does that work if we connect to a target that has tracing in progress, with= some end note already set? - Volodya On 07.10.2012, at 12:00, "Yao Qi" wrote: > 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. >=20 > 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. >=20 > (gdb) > set trace-stop-notes bar > &"set trace-stop-notes bar\n" > =3Dcmd-param-changed,param=3D"trace-stop-notes",value=3D"bar" > ^done >=20 > This notification (along with other notifications I added recently) is to= address the difficulties you mentioned (MI frontend has to query GDB to ge= t some states of GDB). >=20 > --=20 > Yao