GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/gdb/cp-namespace.c File Reference
#include "defs.h"
#include "cp-support.h"
#include "gdb_obstack.h"
#include "symtab.h"
#include "symfile.h"
#include "gdb_assert.h"
#include "block.h"
#include "objfiles.h"
#include "gdbtypes.h"
#include "dictionary.h"
#include "command.h"
#include "frame.h"
#include "buildsym.h"
#include "language.h"

Go to the source code of this file.

Functions

static struct symbollookup_namespace_scope (const char *name, const struct block *block, const domain_enum domain, const char *scope, int scope_len)
static struct symbollookup_symbol_file (const char *name, const struct block *block, const domain_enum domain, int anonymous_namespace, int search)
static struct typecp_lookup_transparent_type_loop (const char *name, const char *scope, int scope_len)
void cp_scan_for_anonymous_namespaces (const struct symbol *const symbol, struct objfile *const objfile)
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)
int cp_is_anonymous (const char *namespace)
struct symbolcp_lookup_symbol_nonlocal (const char *name, const struct block *block, const domain_enum domain)
static struct symbolcp_lookup_symbol_in_namespace (const char *namespace, const char *name, const struct block *block, const domain_enum domain, int search)
static void reset_directive_searched (void *data)
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)
static struct symbolsearch_symbol_list (const char *name, int num, struct symbol **syms)
struct symbolcp_lookup_symbol_imports_or_template (const char *scope, const char *name, const struct block *block, const domain_enum domain)
struct symbolcp_lookup_symbol_namespace (const char *scope, const char *name, const struct block *block, const domain_enum domain)
static struct symbolfind_symbol_in_baseclass (struct type *parent_type, const char *name, const struct block *block)
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)
static void maintenance_cplus_namespace (char *args, int from_tty)
void _initialize_cp_namespace (void)

Variables

initialize_file_ftype _initialize_cp_namespace

Function Documentation

void _initialize_cp_namespace ( void  )
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 
)
int cp_is_anonymous ( const char *  namespace)
struct symbol* cp_lookup_nested_symbol ( struct type parent_type,
const char *  nested_name,
const struct block block 
) [read]
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]
struct symbol* cp_lookup_symbol_imports_or_template ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain 
) [read]
static struct symbol* cp_lookup_symbol_in_namespace ( const char *  namespace,
const char *  name,
const struct block block,
const domain_enum  domain,
int  search 
) [static, read]
struct symbol* cp_lookup_symbol_namespace ( const char *  scope,
const char *  name,
const struct block block,
const domain_enum  domain 
) [read]
struct symbol* cp_lookup_symbol_nonlocal ( const char *  name,
const struct block block,
const domain_enum  domain 
) [read]
struct type* cp_lookup_transparent_type ( const char *  name) [read]
static struct type * cp_lookup_transparent_type_loop ( const char *  name,
const char *  scope,
int  scope_len 
) [static, read]
void cp_scan_for_anonymous_namespaces ( const struct symbol *const  symbol,
struct objfile *const  objfile 
)
static struct symbol* find_symbol_in_baseclass ( struct type parent_type,
const char *  name,
const struct block block 
) [static, read]
static struct symbol * lookup_namespace_scope ( const char *  name,
const struct block block,
const domain_enum  domain,
const char *  scope,
int  scope_len 
) [static, read]
static struct symbol * lookup_symbol_file ( const char *  name,
const struct block block,
const domain_enum  domain,
int  anonymous_namespace,
int  search 
) [static, read]
static void maintenance_cplus_namespace ( char *  args,
int  from_tty 
) [static]

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

References _, and printf_unfiltered().

Referenced by _initialize_cp_namespace().

static void reset_directive_searched ( void *  data) [static]

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

References using_direct::searched.

Referenced by cp_lookup_symbol_imports().

static struct symbol* search_symbol_list ( const char *  name,
int  num,
struct symbol **  syms 
) [static, read]

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

References SYMBOL_NATURAL_NAME.

Referenced by cp_lookup_symbol_imports_or_template().


Variable Documentation

Referenced by initialize_all_files().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines