[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] [DSF] Sending random MI commands?

There is a bug about this (which can be applied to MI just as well)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=305581

The reason why we didn't commit such a fix was that
we didn't have a good answer for:

"Why do you find
getCommandFactory().createCLICommand(context, command)
to be cleaner than
new CLICommand(context, command)"

Marc


> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Alena Laskavaia
> Sent: Wednesday, June 23, 2010 9:17 AM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] [DSF] Sending random MI commands?
> 
> We asked same question about CLI command, see
> http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg17677.html
> 
> I think the answer was - it will not be able to parse output...
> 
> On Wed, Jun 23, 2010 at 4:59 AM, Vladimir Prus
> <vladimir@xxxxxxxxxxxxxxxx> wrote:
> >
> > It appears that in order to send any new MI command 
> whatsoever, I need
> > a new method in the CommandFactory class. Why is that 
> required, as opposed
> > to having a backdoor like
> >
> >        createRandomMICommand(String name, String[] arguments)
> >
> > ?
> >
> > Thanks,
> >
> > --
> > Vladimir Prus
> > CodeSourcery
> > vladimir@xxxxxxxxxxxxxxxx
> > (650) 331-3385 x722
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>