This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: question on trace-stop-notes implementation
- From: Yao Qi <yao at codesourcery dot com>
- To: Dmitry Kozlov <dmitry_kozlov at mentor dot com>
- Cc: <gdb at sourceware dot org>, Vladimir Prus <vladimir at codesourcery dot com>, Luis Machado <luis_gustavo at mentor dot com>, "'Stan_Shebs at mentor dot com'" <Stan_Shebs at mentor dot com>, Marc Khouzam <marc dot khouzam at ericsson dot com>
- Date: Sun, 7 Oct 2012 15:59:59 +0800
- Subject: Re: question on trace-stop-notes implementation
- References: <506C3395.8010701@mentor.com>
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