This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
linespec.c:cplusplus_hint()?
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 30 Jan 2002 23:34:58 -0500
- Subject: linespec.c:cplusplus_hint()?
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<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.
enjoy,
Andrew