From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2694 invoked by alias); 5 Jan 2002 20:37:54 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 2650 invoked from network); 5 Jan 2002 20:37:50 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 5 Jan 2002 20:37:50 -0000 Received: from creche.cygnus.com (ta0204.peakpeak.com [204.144.244.204]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id NAA18961; Sat, 5 Jan 2002 13:37:44 -0700 Received: (from tromey@localhost) by creche.cygnus.com (8.9.3/8.9.3) id NAA18113; Sat, 5 Jan 2002 13:50:15 -0700 To: Andrew Cagney Cc: Daniel Berlin , Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: Patch: completion -vs- duplicates References: <87k7uw1wdh.fsf@creche.redhat.com> <3C374749.30805@cygnus.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: I just heard the SEVENTIES were over!! And I was just getting in touch with my LEISURE SUIT!! Date: Sat, 05 Jan 2002 12:37:00 -0000 In-Reply-To: Andrew Cagney's message of "Sat, 05 Jan 2002 13:34:49 -0500" Message-ID: <87heq01q0o.fsf@creche.redhat.com> X-Mailer: Gnus v5.7/Emacs 20.5 X-SW-Source: 2002-01/txt/msg00076.txt.bz2 >>>>> "Andrew" == Andrew Cagney 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