This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]