From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24013 invoked by alias); 22 Apr 2002 10:54:56 -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 24001 invoked from network); 22 Apr 2002 10:54:52 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 22 Apr 2002 10:54:52 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id OAA15084; Mon, 22 Apr 2002 14:53:23 +0300 (IDT) Date: Mon, 22 Apr 2002 03:54:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Pierre Muller cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Enhance completer for fields of structures. In-Reply-To: <4.2.0.58.20020422110003.01c386f0@ics.u-strasbg.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-04/txt/msg00782.txt.bz2 On Mon, 22 Apr 2002, Pierre Muller wrote: > The patch attached below does allow me to get a > correct completion of expressions like > if X is a variable of type > PRECORD, PRECORD being a pointer to type > TRECORD = record > x,y : longint; > next : precord; > end; > > (gdb) print X^.N > if I press tab, I get X^.NEXT > even if there are several global variables starting with letter N. Sounds good, but please make sure the change doesn't break any past behavior. For example, did you test it with C++ foo:bar and foo::bar class members?