From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13125 invoked by alias); 6 Jun 2008 09:47:08 -0000 Received: (qmail 13116 invoked by uid 22791); 6 Jun 2008 09:47:08 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 06 Jun 2008 09:46:46 +0000 Received: from HOME-C4E4A596F7 ([83.130.2.23]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K21004TVBOB5940@i-mtaout7.012.net.il> for gdb-patches@sources.redhat.com; Fri, 06 Jun 2008 12:29:15 +0300 (IDT) Date: Fri, 06 Jun 2008 09:47:00 -0000 From: Eli Zaretskii Subject: Re: [RFA] Patch to limit field name completion candidates In-reply-to: X-012-Sender: halo1@inter.net.il To: Tom Tromey Cc: gdb-patches@sources.redhat.com Reply-to: Eli Zaretskii Message-id: References: <20080605170952.GJ29085@caradoc.them.org> X-IsSubscribed: yes 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/msg00106.txt.bz2 > Cc: gdb-patches@sources.redhat.com > From: Tom Tromey > Date: Thu, 05 Jun 2008 14:01:49 -0600 > > 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". This is fine, but please say "structure fields" in the 1st sentence above (the one that follows the asterisk).