Re: [RFC] New GDB/MI command "-info-gdb-mi-command"

Joel Brobecker
2013-11-13T03:03:43Z

> > Can you give some ideas as to how it would be used.
>
> Like this perhaps:
>
> if ($_featurep(FOO))
> lets-use-FOO
> end
>
> > Remember also that you can always execute a GDB/MI command from CLI
> > using "interpreter-exec".
>
> But their output is not easily caught and used like above.

This is true. But I have to say that I am still a little unsure
whether this CLI feature will actually be used, should we implement it.
Can we wait for an actual request before we do so, especially for
a query about GDB/MI when in CLI mode? That way, we then know that
we provide something people actually need. If you know you would
use that feature now, then of course that qualifies...

I think this feature can also be treated independently from
the new GDB/MI command. Adding this new feature wouldn't affect
this patch, I would think.

--
Joel