Patch: completion -vs- duplicates

Tom Tromey tromey@redhat.com
Sat Jan 5 12:37:00 GMT 2002


>>>>> "Andrew" == Andrew Cagney <ac131313@cygnus.com> 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
function.

I basically don't know anything about MI.  I don't think Insight
really uses it, does it?

Tom



More information about the Gdb-patches mailing list