aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorDavid Carlton <carlton@bactrian.org>2002-10-23 23:36:16 +0000
committerDavid Carlton <carlton@bactrian.org>2002-10-23 23:36:16 +0000
commit87f2f08c7fbf5adf4a48ad01d5b9e0ed45e6f8ab (patch)
tree81feecdf8210ce34a2e7e66c65c04678c8e892e2 /gdb/symtab.c
parent88cda038b7b399c9bd94e176bf66bac447a86fe2 (diff)
downloadgdb-87f2f08c7fbf5adf4a48ad01d5b9e0ed45e6f8ab.zip
gdb-87f2f08c7fbf5adf4a48ad01d5b9e0ed45e6f8ab.tar.gz
gdb-87f2f08c7fbf5adf4a48ad01d5b9e0ed45e6f8ab.tar.bz2
2002-10-23 David Carlton <carlton@math.stanford.edu>
* symtab.c: Delete cplusplus_hint. Delete prototype for find_template_name_end.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 3ae4f2a..a55fd11 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -50,11 +50,6 @@
#include <ctype.h>
#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<TAB> or '%s<ESC-?>\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. */