Re: [PATCH] Don't call Insight hooks when not appropriate

Andrew STUBBS
2006-03-27T11:32:31Z

Daniel Jacobowitz wrote:
>> How would you like it done?
>
> Does something like this work? Fixes a nasty cleanups bug in user
> commands at the same time.

I haven't actually tested it, but shouldn't gdbtk_readline() and
gdbtk_query() return values? In particular, gdbtk_query() should return
1 (yes) as the default answer, just as query() does in utils.c.

Andrew