GDB (API)
Classes | Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/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

Defines

#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_anonymous (const char *namespace)
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 char *name, const struct block *block, const domain_enum domain)
struct symbolcp_lookup_symbol_namespace (const char *namespace, const char *name, const struct block *block, const domain_enum domain)
struct symbolcp_lookup_symbol_imports (const char *scope, const char *name, const struct block *block, const domain_enum domain, const int declaration_only, const int search_parents)
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)
struct typecp_lookup_transparent_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 cleanup * make_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

Define Documentation

#define CP_ANONYMOUS_NAMESPACE_LEN   21

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

#define CP_ANONYMOUS_NAMESPACE_STR   "(anonymous namespace)"

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


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 
)

Definition at line 127 of file cp-namespace.c.

char* cp_canonicalize_string ( const char *  string)

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

char* cp_canonicalize_string_full ( const char *  string,
canonicalization_ftype finder,
void *  data 
)

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

char* cp_canonicalize_string_no_typedefs ( const char *  string)

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

char* cp_class_name_from_physname ( const char *  physname)

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

char* cp_comp_to_string ( struct demangle_component *  result,
int  estimated_len 
)

Definition at line 4593 of file cp-name-parser.c.

Definition at line 4620 of file cp-name-parser.c.

struct demangle_parse_info* cp_demangled_name_to_comp ( const char *  demangled_name,
const char **  errmsg 
) [read]

Definition at line 4681 of file cp-name-parser.c.

unsigned int cp_entire_prefix_len ( const char *  name)

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

unsigned int cp_find_first_component ( const char *  name)

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

char* cp_func_name ( const char *  full_name)

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

int cp_is_anonymous ( const char *  namespace)

Definition at line 212 of file cp-namespace.c.

struct symbol* cp_lookup_nested_symbol ( struct type parent_type,
const char *  nested_name,
const struct block block 
) [read]

Definition at line 772 of file cp-namespace.c.

struct type* cp_lookup_rtti_type ( const char *  name,
struct block block 
) [read]

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

struct symbol* cp_lookup_symbol_imports ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain,
const int  declaration_only,
const int  search_parents 
) [read]

Definition at line 306 of file cp-namespace.c.

struct symbol* cp_lookup_symbol_imports_or_template ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain 
) [read]

Definition at line 445 of file cp-namespace.c.

struct symbol* cp_lookup_symbol_namespace ( const char *  namespace,
const char *  name,
const struct block block,
const domain_enum  domain 
) [read]

Definition at line 522 of file cp-namespace.c.

struct symbol* cp_lookup_symbol_nonlocal ( const char *  name,
const struct block block,
const domain_enum  domain 
) [read]

Definition at line 227 of file cp-namespace.c.

struct type* cp_lookup_transparent_type ( const char *  name) [read]

Definition at line 854 of file cp-namespace.c.

void cp_merge_demangle_parse_infos ( struct demangle_parse_info ,
struct demangle_component *  ,
struct demangle_parse_info  
)

Definition at line 4652 of file cp-name-parser.c.

Definition at line 4605 of file cp-name-parser.c.

char* cp_remove_params ( const char *  demangled_name)

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

void cp_scan_for_anonymous_namespaces ( const struct symbol symbol,
struct objfile objfile 
)

Definition at line 56 of file cp-namespace.c.

char* gdb_demangle ( const char *  name,
int  options 
)

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

struct cleanup* make_cleanup_cp_demangled_name_parse_free ( struct demangle_parse_info ) [read]

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

struct symbol** make_symbol_overload_list ( const char *  ,
const char *   
) [read]

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

struct symbol** make_symbol_overload_list_adl ( struct type **  arg_types,
int  nargs,
const char *  func_name 
) [read]

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

char* method_name_from_physname ( const char *  physname)

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


Variable Documentation

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines