question on trace-stop-notes implementation

Yao Qi yao@codesourcery.com
Sun Oct 7 08:00:00 GMT 2012


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



More information about the Gdb mailing list