From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3586 invoked by alias); 13 May 2008 15:37:12 -0000 Received: (qmail 3578 invoked by uid 22791); 13 May 2008 15:37:12 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 May 2008 15:36:52 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3C8EF98366; Tue, 13 May 2008 15:36:50 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 03753982C4; Tue, 13 May 2008 15:36:50 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JvwYa-0008Mn-PO; Tue, 13 May 2008 11:36:48 -0400 Date: Tue, 13 May 2008 18:32:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [RFA] Patch to limit field name completion candidates Message-ID: <20080513153648.GA32119@caradoc.them.org> Mail-Followup-To: Tom Tromey , Eli Zaretskii , gdb-patches@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-05) 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-05/txt/msg00395.txt.bz2 On Tue, May 13, 2008 at 09:31:20AM -0600, Tom Tromey wrote: > Nope, it won't. > > I didn't realize this syntax was permissible. And I can't seem to get > it to work on a simple test case: > > Breakpoint 1, main () at s.c:8 > 8 return values[57].free2; > (gdb) p s.c:values[0] > No symbol "s" in current context. > > How can I see this in action? The only way I know of is 'filename.c'::bar, including the quotes (see scope.exp). -- Daniel Jacobowitz CodeSourcery