Re: [PATCH 2/2] MI notification on record started and stopped

Pedro Alves
2012-09-12T19:04:25Z

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