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/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


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