From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29857 invoked by alias); 31 Jan 2002 04:55:40 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 29817 invoked from network); 31 Jan 2002 04:55:36 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 31 Jan 2002 04:55:36 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16W9GC-0005tS-00 for ; Wed, 30 Jan 2002 23:55:44 -0500 Date: Wed, 30 Jan 2002 20:55:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: linespec.c:cplusplus_hint()? Message-ID: <20020130235544.B22536@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <3C58C972.9060904@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C58C972.9060904@cygnus.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00801.txt.bz2 On Wed, Jan 30, 2002 at 11:34:58PM -0500, Andrew Cagney wrote: > Hello, > > I'm wondering if the function: > > /* While the C++ support is still in flux, issue a possibly helpful hint on > using the new command completion feature on single quoted demangled C++ > symbols. Remove when loose ends are cleaned up. FIXME -fnf */ > > static void > cplusplus_hint (char *name) > { > while (*name == '\'') > name++; > printf_filtered ("Hint: try '%s or '%s\n", name, name); > printf_filtered ("(Note leading single quote.)\n"); > } > > is still needed. I'm not worried either way but if it is, I'll change > it and its calls a little. My vote is to keep it. Using completion on something inside single quotes is not obvious to me. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer