Re: Another proposal for frontends and queries.

Joel Brobecker
2009-09-16T14:26:39Z

> And about the patch I said can handle this issue is "set record query
> <on|off>" patch. I cannot find who don't like this patch.

I am one of the maintainers would dislike this idea.

> On the other hand, about the nquery.
> Let me talk my idea. The nquery is a function of GDB right? MI is a
> function of GDB too. Eclipse is a very important soft that support
> GDB.
> If you want change nquery to query, why not remove nquery directly?

I had the same thoughts, actually. But we have one more usage of that
function relative to pending breakpoints, and for some reason it was
decided that the default was 'n' rather than 'y'. Not sure why.

I'm also thinking that what we need is an enhancement of the MI protocol
to handle queries that the frontends can then pass to the user for
answering. But this is just a wild idea at this point, as I don't know
the MI protocol much. Plus, it would probably be a fairly significant
update unsuitable for 7.0.

--
Joel