This is the mail archive of the
mailing list for the GDB project.
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 30 Jan 2002 23:55:44 -0500
- Subject: Re: linespec.c:cplusplus_hint()?
- References: <3C58C972.firstname.lastname@example.org>
On Wed, Jan 30, 2002 at 11:34:58PM -0500, Andrew Cagney wrote:
> 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 == '\'')
> printf_filtered ("Hint: try '%s<TAB> or '%s<ESC-?>\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