From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10987 invoked by alias); 13 Feb 2007 16:46:39 -0000 Received: (qmail 10962 invoked by uid 22791); 13 Feb 2007 16:46:37 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 13 Feb 2007 16:46:31 +0000 Received: from dsl093-172-095.pit1.dsl.speakeasy.net ([66.93.172.95] helo=caradoc.them.org) by nevyn.them.org with esmtp (Exim 4.63) (envelope-from ) id 1HH0nV-0007Z9-4w; Tue, 13 Feb 2007 11:46:29 -0500 Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HH0nU-00041x-D4; Tue, 13 Feb 2007 11:46:28 -0500 Date: Tue, 13 Feb 2007 16:56:00 -0000 From: Daniel Jacobowitz To: Thomas Richter Cc: gdb@sourceware.org Subject: Re: [BUG] Tab Expansion for C++ Message-ID: <20070213164628.GA15154@caradoc.them.org> Mail-Followup-To: Thomas Richter , gdb@sourceware.org References: <200702131613.l1DGDWVX009239@mersenne.math.TU-Berlin.DE> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200702131613.l1DGDWVX009239@mersenne.math.TU-Berlin.DE> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00106.txt.bz2 On Tue, Feb 13, 2007 at 05:13:32PM +0100, Thomas Richter wrote: > the TAB expansion for C++ class members in GDB is - unfortunately - close > to useless. That's your misunderstanding right there - GDB doesn't support context sensitive tab completion at all. I think Pierre implemented this for Pascal once, but it was never merged. Aha, there's the patch - April 2002. There's a bit of yacc hacking required. I'm not really sure how it would work for C++, but I think badly: the grammar will not gracefully handle partially typed expressions, like "p ( x.". -- Daniel Jacobowitz CodeSourcery