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: [PATCH] Don't call Insight hooks when not appropriate


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


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