GDB (xrefs)
Classes | Macros | Typedefs | Functions | Variables
/tmp/gdb-7.10/gdb/cp-support.h File Reference
#include "symtab.h"
#include "vec.h"
#include "gdb_vecs.h"
#include "gdb_obstack.h"

Go to the source code of this file.

Classes

struct  demangle_parse_info
 
struct  using_direct
 

Macros

#define CP_ANONYMOUS_NAMESPACE_STR   "(anonymous namespace)"
 
#define CP_ANONYMOUS_NAMESPACE_LEN   21
 

Typedefs

typedef const char *( canonicalization_ftype) (struct type *, void *)
 

Functions

char * cp_canonicalize_string (const char *string)
 
char * cp_canonicalize_string_no_typedefs (const char *string)
 
char * cp_canonicalize_string_full (const char *string, canonicalization_ftype *finder, void *data)
 
char * cp_class_name_from_physname (const char *physname)
 
char * method_name_from_physname (const char *physname)
 
unsigned int cp_find_first_component (const char *name)
 
unsigned int cp_entire_prefix_len (const char *name)
 
char * cp_func_name (const char *full_name)
 
char * cp_remove_params (const char *demangled_name)
 
struct symbol ** make_symbol_overload_list (const char *, const char *)
 
struct symbol ** make_symbol_overload_list_adl (struct type **arg_types, int nargs, const char *func_name)
 
struct typecp_lookup_rtti_type (const char *name, struct block *block)
 
int cp_is_in_anonymous (const char *symbol_name)
 
void cp_add_using_directive (const char *dest, const char *src, const char *alias, const char *declaration, VEC(const_char_ptr)*excludes, int copy_names, struct obstack *obstack)
 
void cp_scan_for_anonymous_namespaces (const struct symbol *symbol, struct objfile *objfile)
 
struct symbolcp_lookup_symbol_nonlocal (const struct language_defn *langdef, const char *name, const struct block *block, const domain_enum domain)
 
struct symbolcp_lookup_symbol_namespace (const char *the_namespace, const char *name, const struct block *block, const domain_enum domain)
 
struct symbolcp_lookup_symbol_imports_or_template (const char *scope, const char *name, const struct block *block, const domain_enum domain)
 
struct symbolcp_lookup_nested_symbol (struct type *parent_type, const char *nested_name, const struct block *block, const domain_enum domain)
 
struct typecp_lookup_transparent_type (const char *name)
 
struct typecp_find_type_baseclass_by_name (struct type *parent_type, const char *name)
 
struct demangle_parse_infocp_demangled_name_to_comp (const char *demangled_name, const char **errmsg)
 
char * cp_comp_to_string (struct demangle_component *result, int estimated_len)
 
void cp_demangled_name_parse_free (struct demangle_parse_info *)
 
struct cleanupmake_cleanup_cp_demangled_name_parse_free (struct demangle_parse_info *)
 
void cp_merge_demangle_parse_infos (struct demangle_parse_info *, struct demangle_component *, struct demangle_parse_info *)
 
struct demangle_parse_infocp_new_demangle_parse_info (void)
 
char * gdb_demangle (const char *name, int options)
 

Variables

struct cmd_list_elementmaint_cplus_cmd_list
 

Macro Definition Documentation

#define CP_ANONYMOUS_NAMESPACE_LEN   21

Definition at line 46 of file cp-support.h.

Referenced by cp_scan_for_anonymous_namespaces().

#define CP_ANONYMOUS_NAMESPACE_STR   "(anonymous namespace)"

Typedef Documentation

typedef const char*( canonicalization_ftype) (struct type *, void *)

Definition at line 152 of file cp-support.h.

Function Documentation

void cp_add_using_directive ( const char *  dest,
const char *  src,
const char *  alias,
const char *  declaration,
VEC(const_char_ptr)*  excludes,
int  copy_names,
struct obstack *  obstack 
)
char* cp_canonicalize_string ( const char *  string)
char* cp_canonicalize_string_full ( const char *  string,
canonicalization_ftype finder,
void *  data 
)
char* cp_canonicalize_string_no_typedefs ( const char *  string)

Definition at line 577 of file cp-support.c.

References cp_canonicalize_string_full().

Referenced by find_linespec_symbols(), and inspect_type().

char* cp_class_name_from_physname ( const char *  physname)
char* cp_comp_to_string ( struct demangle_component *  result,
int  estimated_len 
)
void cp_demangled_name_parse_free ( struct demangle_parse_info )
struct demangle_parse_info* cp_demangled_name_to_comp ( const char *  demangled_name,
const char **  errmsg 
)
unsigned int cp_entire_prefix_len ( const char *  name)
unsigned int cp_find_first_component ( const char *  name)
struct type* cp_find_type_baseclass_by_name ( struct type parent_type,
const char *  name 
)
char* cp_func_name ( const char *  full_name)
int cp_is_in_anonymous ( const char *  symbol_name)
struct symbol* cp_lookup_nested_symbol ( struct type parent_type,
const char *  nested_name,
const struct block block,
const domain_enum  domain 
)
struct type* cp_lookup_rtti_type ( const char *  name,
struct block block 
)
struct symbol* cp_lookup_symbol_imports_or_template ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain 
)
struct symbol* cp_lookup_symbol_namespace ( const char *  the_namespace,
const char *  name,
const struct block block,
const domain_enum  domain 
)
struct symbol* cp_lookup_symbol_nonlocal ( const struct language_defn langdef,
const char *  name,
const struct block block,
const domain_enum  domain 
)
struct type* cp_lookup_transparent_type ( const char *  name)
void cp_merge_demangle_parse_infos ( struct demangle_parse_info ,
struct demangle_component *  ,
struct demangle_parse_info  
)
struct demangle_parse_info* cp_new_demangle_parse_info ( void  )
char* cp_remove_params ( const char *  demangled_name)
void cp_scan_for_anonymous_namespaces ( const struct symbol symbol,
struct objfile objfile 
)
char* gdb_demangle ( const char *  name,
int  options 
)
struct cleanup* make_cleanup_cp_demangled_name_parse_free ( struct demangle_parse_info )

Definition at line 110 of file cp-support.c.

References do_demangled_name_parse_free_cleanup(), and make_cleanup().

Referenced by typy_legacy_template_argument().

struct symbol** make_symbol_overload_list ( const char *  ,
const char *   
)
struct symbol** make_symbol_overload_list_adl ( struct type **  arg_types,
int  nargs,
const char *  func_name 
)
char* method_name_from_physname ( const char *  physname)

Variable Documentation

struct cmd_list_element* maint_cplus_cmd_list

Definition at line 65 of file cp-support.c.

Referenced by _initialize_cp_namespace().