* gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
[deliverable/binutils-gdb.git] / gdb / cp-support.h
index 03ccb733cbb241fa51538792ead98a2d5d732126..c22c1e7ff0a7d763fbc710d5655e84e69cd5785d 100644 (file)
@@ -1,5 +1,5 @@
 /* Helper routines for C++ support in GDB.
-   Copyright (C) 2002-2005, 2007-2012 Free Software Foundation, Inc.
+   Copyright (C) 2002-2013 Free Software Foundation, Inc.
 
    Contributed by MontaVista Software.
    Namespace support contributed by David Carlton.
@@ -149,6 +149,12 @@ extern char *cp_canonicalize_string (const char *string);
 
 extern char *cp_canonicalize_string_no_typedefs (const char *string);
 
+typedef const char *(canonicalization_ftype) (struct type *, void *);
+
+extern char *cp_canonicalize_string_full (const char *string,
+                                         canonicalization_ftype *finder,
+                                         void *data);
+
 extern char *cp_class_name_from_physname (const char *physname);
 
 extern char *method_name_from_physname (const char *physname);
@@ -182,11 +188,6 @@ extern void cp_add_using_directive (const char *dest,
                                    VEC (const_char_ptr) *excludes,
                                     struct obstack *obstack);
 
-extern void cp_initialize_namespace (void);
-
-extern void cp_finalize_namespace (struct block *static_block,
-                                  struct obstack *obstack);
-
 extern void cp_set_block_scope (const struct symbol *symbol,
                                struct block *block,
                                struct obstack *obstack,
@@ -218,9 +219,9 @@ extern struct symbol *cp_lookup_symbol_imports_or_template
       const struct block *block,
       const domain_enum domain);
 
-extern struct type *cp_lookup_nested_type (struct type *parent_type,
-                                          const char *nested_name,
-                                          const struct block *block);
+extern struct symbol *cp_lookup_nested_symbol (struct type *parent_type,
+                                              const char *nested_name,
+                                              const struct block *block);
 
 struct type *cp_lookup_transparent_type (const char *name);
 
This page took 0.024215 seconds and 4 git commands to generate.