question on trace-stop-notes implementation

Yao Qi yao@codesourcery.com
Mon Oct 8 00:57:00 GMT 2012


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



More information about the Gdb mailing list