From: David Carlton Date: Wed, 23 Oct 2002 23:36:16 +0000 (+0000) Subject: 2002-10-23 David Carlton X-Git-Tag: drow-cplus-merge-20021025~11 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a82e5870e6b8f4a3bfdda7c975a3b9f587af1a49;p=pf3gnuchains%2Fpf3gnuchains4x.git 2002-10-23 David Carlton * symtab.c: Delete cplusplus_hint. Delete prototype for find_template_name_end. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2e2faeb3c0..8c4b6e3454 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2002-10-23 David Carlton + + * symtab.c: Delete cplusplus_hint. + Delete prototype for find_template_name_end. + 2002-10-23 Elena Zannoni * symtab.h: Update comment. diff --git a/gdb/symtab.c b/gdb/symtab.c index 3ae4f2a131..a55fd110bf 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -50,11 +50,6 @@ #include #include "cp-abi.h" -/* Prototype for one function in parser-defs.h, - instead of including that entire file. */ - -extern char *find_template_name_end (char *); - /* Prototypes for local functions */ static void completion_list_add_name (char *, char *, int, char *, char *); @@ -121,19 +116,6 @@ struct type *builtin_type_error; const struct block *block_found; -/* 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"); -} - /* Check for a symtab of a specific name; first in symtabs, then in psymtabs. *If* there is no '/' in the name, a match after a '/' in the symtab filename will also work. */