This is the mail archive of the
mailing list for the GDB project.
Re: Patch: completion -vs- duplicates
>>>>> "Andrew" == Andrew Cagney <firstname.lastname@example.org> writes:
Andrew> Tom, what exactly does Insight need? Probably should do the
Andrew> right thing and MI the interface.
Right now Insight just runs the gdb `complete' command and uses its
output. I looked at the implementation of `complete' a bit. Making
that work looks ugly. One approach would be to introduce a new
function which would return the whole array for use, and then have
both `complete' and line_completion_function() be clients of this new
I basically don't know anything about MI. I don't think Insight
really uses it, does it?