This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/2] MI notification on record started and stopped
On 09/12/2012 07:06 PM, Tom Tromey wrote:
>>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:
>
> Yao> This patch is to add the MI notification on record started and
> Yao> stopped.
>
> Yao> + fprintf_unfiltered (mi->event_channel, "record-%s,id=\"%d\"",
> Yao> + started ? "started" : "stopped", inferior->num);
>
> Other MI notifications seem to use "i%d" when identifying an inferior.
>
Yeah, and they use the thread group terminology (of which only inferiors are
supported currently, but could be extended towards itsets). So for consistency IMO,
this would best be thread-group=\"i%d\"".
--
Pedro Alves