This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: question on trace-stop-notes implementation


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]