From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5967 invoked by alias); 8 Oct 2012 00:57:17 -0000 Received: (qmail 5956 invoked by uid 22791); 8 Oct 2012 00:57: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; Mon, 08 Oct 2012 00:57:11 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1TL1ee-0007Ld-RH from Yao_Qi@mentor.com ; Sun, 07 Oct 2012 17:57:08 -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); Sun, 7 Oct 2012 17:57:08 -0700 Received: from qiyao.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; Sun, 7 Oct 2012 17:57:07 -0700 Message-ID: <507224D8.5000902@codesourcery.com> Date: Mon, 08 Oct 2012 00:57: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: "Prus, Vladimir" CC: "Kozlov, Dmitry" , "gdb@sourceware.org" , "Gustavo, Luis" , "Shebs, Stan" , Marc Khouzam Subject: Re: question on trace-stop-notes implementation References: <506C3395.8010701@mentor.com>,<5071367F.4030203@codesourcery.com> <8815DDFC-F8BA-4C5C-BC00-7187CB58356C@mentor.com> In-Reply-To: <8815DDFC-F8BA-4C5C-BC00-7187CB58356C@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/msg00042.txt.bz2 On 10/08/2012 01:26 AM, Prus, Vladimir wrote: > Does that work if we connect to a target that has tracing in progress, with some end note already set? Yes, I think so. Command parameter change notification is emitted whenever command parameter is changed, it has nothing to do with other factors. The session below is about what you want, IIUC, (gdb) set trace-stop-notes foo &"set trace-stop-notes foo\n" =cmd-param-changed,param="trace-stop-notes",value="foo" ^done (gdb) tstart &"tstart\n" =tracepoint-downloaded,id="1",address="0x080483ca"\n ^done (gdb) set trace-stop-notes bar &"set trace-stop-notes bar\n" =cmd-param-changed,param="trace-stop-notes",value="bar" ^done -- Yao