From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22165 invoked by alias); 13 May 2008 19:00:55 -0000 Received: (qmail 22155 invoked by uid 22791); 13 May 2008 19:00:54 -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; Tue, 13 May 2008 19:00:33 +0000 Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0K0T00LGBLBLZ5R0@i-mtaout7.012.net.il> for gdb-patches@sources.redhat.com; Tue, 13 May 2008 21:42:58 +0300 (IDT) Date: Tue, 13 May 2008 20:52: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: 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/msg00406.txt.bz2 > Cc: gdb-patches@sources.redhat.com > From: Tom Tromey > Date: Tue, 13 May 2008 09:31:20 -0600 > > Eli> Thanks. But what about the situation where I actually want to type > Eli> p foo.c:bar > Eli> If I type "p foo.", will I see "foo.c" as one of the possible > Eli> completions, after your change, whether there is or isn't also a > Eli> struct foo in the program? > > 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? What if you type p s, does it work then?