Re: Another proposal for frontends and queries.

Joel Brobecker
2009-09-14T14:09:21Z

> Another proposal that was thrown out there was to disable queries
> when having started GDB with the MI interpreter. The idea is that
> it would be frontends that would start GDB like that, and frontends
> know what they are doing and don't need queries.
> http://sourceware.org/ml/gdb/2009-07/msg00113.html
> This seems too drastic to me.

Isn't this is the approach that has always been taken in the past?
I think that we should bite the bullet and implement this approach.
The only issue, really, is how to detect that situation from the FE
so that it can itself ask the user for confirmation before it sends
the command... Or perhaps, another approach is to return an error
(like it probably does now) that the frontend detect, and then provide
a switch for that command to force the execution of that command despite
the reported consequences.

--
Joel