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: Another proposal for frontends and queries.


> 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


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