From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2202 invoked by alias); 5 Jun 2008 20:02:12 -0000 Received: (qmail 2181 invoked by uid 22791); 5 Jun 2008 20:02:11 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 05 Jun 2008 20:01:53 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m55K1pu6021118 for ; Thu, 5 Jun 2008 16:01:51 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m55K1p3L012364; Thu, 5 Jun 2008 16:01:51 -0400 Received: from opsy.redhat.com (vpn-10-81.bos.redhat.com [10.16.10.81]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m55K1opu011360; Thu, 5 Jun 2008 16:01:51 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id E320B37819B; Thu, 5 Jun 2008 14:01:49 -0600 (MDT) To: Eli Zaretskii Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Patch to limit field name completion candidates References: <20080605170952.GJ29085@caradoc.them.org> From: Tom Tromey Reply-To: Tom Tromey X-Attribution: Tom Date: Thu, 05 Jun 2008 20:02:00 -0000 In-Reply-To: (Eli Zaretskii's message of "Thu\, 05 Jun 2008 22\:29\:53 +0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-06/txt/msg00065.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: Eli> Thanks, but this text leaves too many questions unanswered (what is Eli> ``allowable field names''? allowable by whom? what are ``field Eli> operations''? etc.). I think an example will go a long way towards Eli> making this clear. How about this? * When completing in expressions, gdb will attempt to limit completions to allowable fields, where appropriate. For instance, consider: # struct example { int f1; double f2; }; # struct example variable; (gdb) p variable. If the user types TAB at the end of this command line, the available completions will be "f1" and "f2". Tom