Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: gdb/cp-support.h

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/cp-namespace.c ('k') | gdb/cp-support.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/cp-support.h
diff --git a/gdb/cp-support.h b/gdb/cp-support.h
index 0d2b5131b549eae2e006096d198b4fdd0a495568..4358b23d592100eba37ce6b8ed7842670cd6d7fc 100644
--- a/gdb/cp-support.h
+++ b/gdb/cp-support.h
@@ -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.
@@ -125,11 +125,11 @@ struct demangle_parse_info
struct using_direct
{
- char *import_src;
- char *import_dest;
+ const char *import_src;
+ const char *import_dest;
- char *alias;
- char *declaration;
+ const char *alias;
+ const char *declaration;
struct using_direct *next;
@@ -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);
@@ -180,14 +186,9 @@ extern void cp_add_using_directive (const char *dest,
const char *alias,
const char *declaration,
VEC (const_char_ptr) *excludes,
+ int copy_names,
struct obstack *obstack);
-extern void cp_set_block_scope (const struct symbol *symbol,
- struct block *block,
- struct obstack *obstack,
- const char *processing_current_prefix,
- int processing_has_namespace_info);
-
extern void cp_scan_for_anonymous_namespaces (const struct symbol *symbol,
struct objfile *objfile);
@@ -219,6 +220,11 @@ extern struct symbol *cp_lookup_nested_symbol (struct type *parent_type,
struct type *cp_lookup_transparent_type (const char *name);
+/* See description in cp-namespace.c. */
+
+struct type *find_type_baseclass_by_name (struct type *parent_type,
+ const char *name);
+
/* Functions from cp-name-parser.y. */
extern struct demangle_parse_info *cp_demangled_name_to_comp
@@ -240,4 +246,8 @@ extern struct demangle_parse_info *cp_new_demangle_parse_info (void);
extern struct cmd_list_element *maint_cplus_cmd_list;
+/* A wrapper for bfd_demangle. */
+
+char *gdb_demangle (const char *name, int options);
+
#endif /* CP_SUPPORT_H */
« no previous file with comments | « gdb/cp-namespace.c ('k') | gdb/cp-support.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698