GDB (API)
Classes | Defines | Typedefs | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/symtab.h File Reference
#include "vec.h"
#include "gdb_vecs.h"
#include "gdbtypes.h"
#include "minsyms.h"

Go to the source code of this file.

Classes

struct  cplus_specific
struct  general_symbol_info
struct  minimal_symbol
struct  symbol_computed_ops
struct  symbol_block_ops
struct  symbol_register_ops
struct  symbol_impl
struct  symbol
struct  template_symbol
struct  linetable_entry
struct  linetable
struct  section_offsets
struct  symtab
struct  field_of_this_result
struct  gnu_ifunc_fns
struct  symtab_and_line
struct  symtabs_and_lines
struct  symbol_search

Defines

#define SYMBOL_VALUE(symbol)   (symbol)->ginfo.value.ivalue
#define SYMBOL_VALUE_ADDRESS(symbol)   (symbol)->ginfo.value.address
#define SYMBOL_VALUE_BYTES(symbol)   (symbol)->ginfo.value.bytes
#define SYMBOL_VALUE_COMMON_BLOCK(symbol)   (symbol)->ginfo.value.common_block
#define SYMBOL_BLOCK_VALUE(symbol)   (symbol)->ginfo.value.block
#define SYMBOL_VALUE_CHAIN(symbol)   (symbol)->ginfo.value.chain
#define SYMBOL_LANGUAGE(symbol)   (symbol)->ginfo.language
#define SYMBOL_SECTION(symbol)   (symbol)->ginfo.section
#define SYMBOL_OBJ_SECTION(objfile, symbol)
#define SYMBOL_SET_LANGUAGE(symbol, language, obstack)   (symbol_set_language (&(symbol)->ginfo, (language), (obstack)))
#define SYMBOL_SET_LINKAGE_NAME(symbol, linkage_name)   (symbol)->ginfo.name = (linkage_name)
#define SYMBOL_SET_NAMES(symbol, linkage_name, len, copy_name, objfile)   symbol_set_names (&(symbol)->ginfo, linkage_name, len, copy_name, objfile)
#define SYMBOL_NATURAL_NAME(symbol)   (symbol_natural_name (&(symbol)->ginfo))
#define SYMBOL_LINKAGE_NAME(symbol)   (symbol)->ginfo.name
#define SYMBOL_DEMANGLED_NAME(symbol)   (symbol_demangled_name (&(symbol)->ginfo))
#define SYMBOL_PRINT_NAME(symbol)   (demangle ? SYMBOL_NATURAL_NAME (symbol) : SYMBOL_LINKAGE_NAME (symbol))
#define SYMBOL_SEARCH_NAME(symbol)   (symbol_search_name (&(symbol)->ginfo))
#define SYMBOL_MATCHES_SEARCH_NAME(symbol, name)   (strcmp_iw (SYMBOL_SEARCH_NAME (symbol), (name)) == 0)
#define MSYMBOL_TARGET_FLAG_1(msymbol)   (msymbol)->target_flag_1
#define MSYMBOL_TARGET_FLAG_2(msymbol)   (msymbol)->target_flag_2
#define MSYMBOL_SIZE(msymbol)   ((msymbol)->size + 0)
#define SET_MSYMBOL_SIZE(msymbol, sz)
#define MSYMBOL_HAS_SIZE(msymbol)   ((msymbol)->has_size + 0)
#define MSYMBOL_TYPE(msymbol)   (msymbol)->type
#define SYMBOL_ACLASS_BITS   6
#define SYMBOL_DOMAIN(symbol)   (symbol)->domain
#define SYMBOL_IMPL(symbol)   (symbol_impls[(symbol)->aclass_index])
#define SYMBOL_ACLASS_INDEX(symbol)   (symbol)->aclass_index
#define SYMBOL_CLASS(symbol)   (SYMBOL_IMPL (symbol).aclass)
#define SYMBOL_IS_ARGUMENT(symbol)   (symbol)->is_argument
#define SYMBOL_INLINED(symbol)   (symbol)->is_inlined
#define SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION(symbol)   (symbol)->is_cplus_template_function
#define SYMBOL_TYPE(symbol)   (symbol)->type
#define SYMBOL_LINE(symbol)   (symbol)->line
#define SYMBOL_SYMTAB(symbol)   (symbol)->symtab
#define SYMBOL_COMPUTED_OPS(symbol)   (SYMBOL_IMPL (symbol).ops_computed)
#define SYMBOL_BLOCK_OPS(symbol)   (SYMBOL_IMPL (symbol).ops_block)
#define SYMBOL_REGISTER_OPS(symbol)   (SYMBOL_IMPL (symbol).ops_register)
#define SYMBOL_LOCATION_BATON(symbol)   (symbol)->aux_value
#define SYMBOL_OBJFILE(symbol)   (SYMBOL_SYMTAB (symbol)->objfile)
#define ANOFFSET(secoff, whichone)
#define SIZEOF_N_SECTION_OFFSETS(n)
#define BLOCKVECTOR(symtab)   (symtab)->blockvector
#define LINETABLE(symtab)   (symtab)->linetable
#define SYMTAB_PSPACE(symtab)   (symtab)->objfile->pspace
#define VTBL_FNADDR_OFFSET   2
#define gnu_ifunc_resolve_addr   gnu_ifunc_fns_p->gnu_ifunc_resolve_addr
#define gnu_ifunc_resolve_name   gnu_ifunc_fns_p->gnu_ifunc_resolve_name
#define gnu_ifunc_resolver_stop   gnu_ifunc_fns_p->gnu_ifunc_resolver_stop
#define gnu_ifunc_resolver_return_stop   gnu_ifunc_fns_p->gnu_ifunc_resolver_return_stop

Typedefs

typedef enum domain_enum_tag domain_enum
typedef struct symtabsymtab_ptr
typedef intsymbol_found_callback_ftype )(struct symbol *sym, void *data)

Enumerations

enum  minimal_symbol_type {
  mst_unknown = 0, mst_text, mst_text_gnu_ifunc, mst_slot_got_plt,
  mst_data, mst_bss, mst_abs, mst_solib_trampoline,
  mst_file_text, mst_file_data, mst_file_bss
}
enum  domain_enum_tag {
  UNDEF_DOMAIN, VAR_DOMAIN, STRUCT_DOMAIN, LABEL_DOMAIN,
  COMMON_BLOCK_DOMAIN
}
enum  search_domain { VARIABLES_DOMAIN = 0, FUNCTIONS_DOMAIN = 1, TYPES_DOMAIN = 2, ALL_DOMAIN = 3 }
enum  address_class {
  LOC_UNDEF, LOC_CONST, LOC_STATIC, LOC_REGISTER,
  LOC_ARG, LOC_REF_ARG, LOC_REGPARM_ADDR, LOC_LOCAL,
  LOC_TYPEDEF, LOC_LABEL, LOC_BLOCK, LOC_CONST_BYTES,
  LOC_UNRESOLVED, LOC_OPTIMIZED_OUT, LOC_COMPUTED, LOC_COMMON_BLOCK,
  LOC_FINAL_VALUE
}
enum  print_source_lines_flags { PRINT_SOURCE_LINES_NOERROR = (1 << 0), PRINT_SOURCE_LINES_FILENAME = (1 << 1) }

Functions

void symbol_set_demangled_name (struct general_symbol_info *, const char *, struct obstack *)
const char * symbol_get_demangled_name (const struct general_symbol_info *)
CORE_ADDR symbol_overlayed_address (CORE_ADDR, struct obj_section *)
void symbol_set_language (struct general_symbol_info *symbol, enum language language, struct obstack *obstack)
void symbol_set_names (struct general_symbol_info *symbol, const char *linkage_name, int len, int copy_name, struct objfile *objfile)
const char * symbol_natural_name (const struct general_symbol_info *symbol)
const char * symbol_demangled_name (const struct general_symbol_info *symbol)
const char * symbol_search_name (const struct general_symbol_info *)
const char * domain_name (domain_enum)
const char * search_domain_name (enum search_domain)
int register_symbol_computed_impl (enum address_class, const struct symbol_computed_ops *)
int register_symbol_block_impl (enum address_class aclass, const struct symbol_block_ops *ops)
int register_symbol_register_impl (enum address_class, const struct symbol_register_ops *)
 DEF_VEC_P (symtab_ptr)
const char * multiple_symbols_select_mode (void)
int symbol_matches_domain (enum language symbol_language, domain_enum symbol_domain, domain_enum domain)
struct symtablookup_symtab (const char *)
struct symbollookup_symbol_in_language (const char *, const struct block *, const domain_enum, enum language, struct field_of_this_result *)
struct symbollookup_symbol (const char *, const struct block *, const domain_enum, struct field_of_this_result *)
struct symbolbasic_lookup_symbol_nonlocal (const char *, const struct block *, const domain_enum)
struct symbollookup_symbol_static (const char *name, const struct block *block, const domain_enum domain)
struct symbollookup_symbol_global (const char *name, const struct block *block, const domain_enum domain)
struct symbollookup_symbol_aux_block (const char *name, const struct block *block, const domain_enum domain)
struct symbollookup_language_this (const struct language_defn *lang, const struct block *block)
struct symbollookup_static_symbol_aux (const char *name, const domain_enum domain)
struct symbollookup_block_symbol (const struct block *, const char *, const domain_enum)
struct typelookup_struct (const char *, const struct block *)
struct typelookup_union (const char *, const struct block *)
struct typelookup_enum (const char *, const struct block *)
struct symbolfind_pc_function (CORE_ADDR)
struct symbolfind_pc_sect_function (CORE_ADDR, struct obj_section *)
int find_pc_partial_function_gnu_ifunc (CORE_ADDR pc, const char **name, CORE_ADDR *address, CORE_ADDR *endaddr, int *is_gnu_ifunc_p)
int find_pc_partial_function (CORE_ADDR, const char **, CORE_ADDR *, CORE_ADDR *)
void clear_pc_function_cache (void)
struct symtabfind_pc_sect_symtab_via_partial (CORE_ADDR, struct obj_section *)
struct symtabfind_pc_symtab (CORE_ADDR)
struct symtabfind_pc_sect_symtab (CORE_ADDR, struct obj_section *)
int find_pc_line_pc_range (CORE_ADDR, CORE_ADDR *, CORE_ADDR *)
void reread_symbols (void)
struct typelookup_transparent_type (const char *)
struct typebasic_lookup_transparent_type (const char *)
int in_gnu_ifunc_stub (CORE_ADDR pc)
CORE_ADDR find_solib_trampoline_target (struct frame_info *, CORE_ADDR)
void init_sal (struct symtab_and_line *sal)
struct symtab_and_line find_pc_line (CORE_ADDR, int)
struct symtab_and_line find_pc_sect_line (CORE_ADDR, struct obj_section *, int)
int find_line_pc (struct symtab *, int, CORE_ADDR *)
int find_line_pc_range (struct symtab_and_line, CORE_ADDR *, CORE_ADDR *)
void resolve_sal_pc (struct symtab_and_line *)
void clear_solib (void)
int identify_source_line (struct symtab *, int, int, CORE_ADDR)
void print_source_lines (struct symtab *, int, int, enum print_source_lines_flags)
void forget_cached_source_info_for_objfile (struct objfile *)
void forget_cached_source_info (void)
void select_source_symtab (struct symtab *)
 VEC (char_ptr)*default_make_symbol_completion_list_break_on(const char *text
const char enum type_code
const char const char enum
type_code const char const
char const char const char
const char *int 
matching_obj_sections (struct obj_section *, struct obj_section *)
struct symtabfind_line_symtab (struct symtab *, int, int *, int *)
struct symtab_and_line find_function_start_sal (struct symbol *sym, int)
void skip_prologue_sal (struct symtab_and_line *)
void clear_symtab_users (int add_flags)
enum language deduce_language_from_filename (const char *)
int in_prologue (struct gdbarch *gdbarch, CORE_ADDR pc, CORE_ADDR func_start)
CORE_ADDR skip_prologue_using_sal (struct gdbarch *gdbarch, CORE_ADDR func_addr)
struct symbolfixup_symbol_section (struct symbol *, struct objfile *)
void search_symbols (char *, enum search_domain, int, char **, struct symbol_search **)
void free_search_symbols (struct symbol_search *)
struct cleanup * make_cleanup_free_search_symbols (struct symbol_search **)
void set_main_name (const char *name)
char * main_name (void)
struct symbollookup_global_symbol_from_objfile (const struct objfile *, const char *name, const domain_enum domain)
int producer_is_realview (const char *producer)
void fixup_section (struct general_symbol_info *ginfo, CORE_ADDR addr, struct objfile *objfile)
struct objfilelookup_objfile_from_block (const struct block *block)
int compare_filenames_for_search (const char *filename, const char *search_name)
int iterate_over_some_symtabs (const char *name, const char *real_path, int(*callback)(struct symtab *symtab, void *data), void *data, struct symtab *first, struct symtab *after_last)
void iterate_over_symtabs (const char *name, int(*callback)(struct symtab *symtab, void *data), void *data)
 DEF_VEC_I (CORE_ADDR)
 VEC (CORE_ADDR)*find_pcs_for_symtab_line(struct symtab *symtab
void iterate_over_symbols (const struct block *block, const char *name, const domain_enum domain, symbol_found_callback_ftype *callback, void *data)
struct cleanup * demangle_for_lookup (const char *name, enum language lang, const char **result_name)
struct symbolallocate_symbol (struct objfile *)
void initialize_symbol (struct symbol *)
struct template_symbolallocate_template_symbol (struct objfile *)

Variables

int demangle
struct symbol_implsymbol_impls
int currently_reading_symtab
const char multiple_symbols_ask []
const char multiple_symbols_all []
const char multiple_symbols_cancel []
struct gnu_ifunc_fnsgnu_ifunc_fns_p
const char * word
const char const char * break_on
const char const char enum
type_code 
code
enum language language_of_main
int symtab_create_debug
int basenames_may_differ
int line
int struct linetable_entry ** best_entry

Define Documentation

#define ANOFFSET (   secoff,
  whichone 
)
Value:
((whichone == -1)                         \
   ? (internal_error (__FILE__, __LINE__, \
                      _("Section index is uninitialized")), -1) \
   : secoff->offsets[whichone])

Definition at line 818 of file symtab.h.

#define BLOCKVECTOR (   symtab)    (symtab)->blockvector

Definition at line 940 of file symtab.h.

Definition at line 1149 of file symtab.h.

Definition at line 1150 of file symtab.h.

Definition at line 1152 of file symtab.h.

Definition at line 1151 of file symtab.h.

#define LINETABLE (   symtab)    (symtab)->linetable

Definition at line 941 of file symtab.h.

#define MSYMBOL_HAS_SIZE (   msymbol)    ((msymbol)->has_size + 0)

Definition at line 390 of file symtab.h.

#define MSYMBOL_SIZE (   msymbol)    ((msymbol)->size + 0)

Definition at line 383 of file symtab.h.

#define MSYMBOL_TARGET_FLAG_1 (   msymbol)    (msymbol)->target_flag_1

Definition at line 381 of file symtab.h.

#define MSYMBOL_TARGET_FLAG_2 (   msymbol)    (msymbol)->target_flag_2

Definition at line 382 of file symtab.h.

#define MSYMBOL_TYPE (   msymbol)    (msymbol)->type

Definition at line 391 of file symtab.h.

#define SET_MSYMBOL_SIZE (   msymbol,
  sz 
)
Value:
do                                              \
    {                                           \
      (msymbol)->size = sz;                     \
      (msymbol)->has_size = 1;                  \
    } while (0)

Definition at line 384 of file symtab.h.

#define SIZEOF_N_SECTION_OFFSETS (   n)
Value:
(sizeof (struct section_offsets) \
   + sizeof (((struct section_offsets *) 0)->offsets) * ((n)-1))

Definition at line 825 of file symtab.h.

#define SYMBOL_ACLASS_BITS   6

Definition at line 646 of file symtab.h.

#define SYMBOL_ACLASS_INDEX (   symbol)    (symbol)->aclass_index

Definition at line 721 of file symtab.h.

#define SYMBOL_BLOCK_OPS (   symbol)    (SYMBOL_IMPL (symbol).ops_block)

Definition at line 731 of file symtab.h.

#define SYMBOL_BLOCK_VALUE (   symbol)    (symbol)->ginfo.value.block

Definition at line 194 of file symtab.h.

#define SYMBOL_CLASS (   symbol)    (SYMBOL_IMPL (symbol).aclass)

Definition at line 722 of file symtab.h.

#define SYMBOL_COMPUTED_OPS (   symbol)    (SYMBOL_IMPL (symbol).ops_computed)

Definition at line 730 of file symtab.h.

#define SYMBOL_DEMANGLED_NAME (   symbol)    (symbol_demangled_name (&(symbol)->ginfo))

Definition at line 254 of file symtab.h.

#define SYMBOL_DOMAIN (   symbol)    (symbol)->domain

Definition at line 719 of file symtab.h.

#define SYMBOL_IMPL (   symbol)    (symbol_impls[(symbol)->aclass_index])

Definition at line 720 of file symtab.h.

#define SYMBOL_INLINED (   symbol)    (symbol)->is_inlined

Definition at line 724 of file symtab.h.

#define SYMBOL_IS_ARGUMENT (   symbol)    (symbol)->is_argument

Definition at line 723 of file symtab.h.

#define SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION (   symbol)    (symbol)->is_cplus_template_function

Definition at line 725 of file symtab.h.

#define SYMBOL_LANGUAGE (   symbol)    (symbol)->ginfo.language

Definition at line 196 of file symtab.h.

#define SYMBOL_LINE (   symbol)    (symbol)->line

Definition at line 728 of file symtab.h.

#define SYMBOL_LINKAGE_NAME (   symbol)    (symbol)->ginfo.name

Definition at line 250 of file symtab.h.

#define SYMBOL_LOCATION_BATON (   symbol)    (symbol)->aux_value

Definition at line 733 of file symtab.h.

#define SYMBOL_MATCHES_SEARCH_NAME (   symbol,
  name 
)    (strcmp_iw (SYMBOL_SEARCH_NAME (symbol), (name)) == 0)

Definition at line 285 of file symtab.h.

#define SYMBOL_NATURAL_NAME (   symbol)    (symbol_natural_name (&(symbol)->ginfo))

Definition at line 240 of file symtab.h.

#define SYMBOL_OBJ_SECTION (   objfile,
  symbol 
)
Value:
(((symbol)->ginfo.section >= 0)                         \
   ? (&(((objfile)->sections)[(symbol)->ginfo.section]))        \
   : NULL)

Definition at line 198 of file symtab.h.

#define SYMBOL_OBJFILE (   symbol)    (SYMBOL_SYMTAB (symbol)->objfile)

Definition at line 734 of file symtab.h.

Definition at line 269 of file symtab.h.

#define SYMBOL_REGISTER_OPS (   symbol)    (SYMBOL_IMPL (symbol).ops_register)

Definition at line 732 of file symtab.h.

#define SYMBOL_SEARCH_NAME (   symbol)    (symbol_search_name (&(symbol)->ginfo))

Definition at line 278 of file symtab.h.

#define SYMBOL_SECTION (   symbol)    (symbol)->ginfo.section

Definition at line 197 of file symtab.h.

#define SYMBOL_SET_LANGUAGE (   symbol,
  language,
  obstack 
)    (symbol_set_language (&(symbol)->ginfo, (language), (obstack)))

Definition at line 205 of file symtab.h.

#define SYMBOL_SET_LINKAGE_NAME (   symbol,
  linkage_name 
)    (symbol)->ginfo.name = (linkage_name)

Definition at line 216 of file symtab.h.

#define SYMBOL_SET_NAMES (   symbol,
  linkage_name,
  len,
  copy_name,
  objfile 
)    symbol_set_names (&(symbol)->ginfo, linkage_name, len, copy_name, objfile)

Definition at line 221 of file symtab.h.

#define SYMBOL_SYMTAB (   symbol)    (symbol)->symtab

Definition at line 729 of file symtab.h.

#define SYMBOL_TYPE (   symbol)    (symbol)->type

Definition at line 727 of file symtab.h.

#define SYMBOL_VALUE (   symbol)    (symbol)->ginfo.value.ivalue

Definition at line 190 of file symtab.h.

#define SYMBOL_VALUE_ADDRESS (   symbol)    (symbol)->ginfo.value.address

Definition at line 191 of file symtab.h.

#define SYMBOL_VALUE_BYTES (   symbol)    (symbol)->ginfo.value.bytes

Definition at line 192 of file symtab.h.

#define SYMBOL_VALUE_CHAIN (   symbol)    (symbol)->ginfo.value.chain

Definition at line 195 of file symtab.h.

#define SYMBOL_VALUE_COMMON_BLOCK (   symbol)    (symbol)->ginfo.value.common_block

Definition at line 193 of file symtab.h.

#define SYMTAB_PSPACE (   symtab)    (symtab)->objfile->pspace

Definition at line 942 of file symtab.h.

#define VTBL_FNADDR_OFFSET   2

Definition at line 960 of file symtab.h.


Typedef Documentation

typedef int( symbol_found_callback_ftype)(struct symbol *sym, void *data)

Definition at line 1370 of file symtab.h.

typedef struct symtab* symtab_ptr

Definition at line 944 of file symtab.h.


Enumeration Type Documentation

Enumerator:
LOC_UNDEF 
LOC_CONST 
LOC_STATIC 
LOC_REGISTER 
LOC_ARG 
LOC_REF_ARG 
LOC_REGPARM_ADDR 
LOC_LOCAL 
LOC_TYPEDEF 
LOC_LABEL 
LOC_BLOCK 
LOC_CONST_BYTES 
LOC_UNRESOLVED 
LOC_OPTIMIZED_OUT 
LOC_COMPUTED 
LOC_COMMON_BLOCK 
LOC_FINAL_VALUE 

Definition at line 455 of file symtab.h.

Enumerator:
UNDEF_DOMAIN 
VAR_DOMAIN 
STRUCT_DOMAIN 
LABEL_DOMAIN 
COMMON_BLOCK_DOMAIN 

Definition at line 402 of file symtab.h.

Enumerator:
mst_unknown 
mst_text 
mst_text_gnu_ifunc 
mst_slot_got_plt 
mst_data 
mst_bss 
mst_abs 
mst_solib_trampoline 
mst_file_text 
mst_file_data 
mst_file_bss 

Definition at line 296 of file symtab.h.

Enumerator:
PRINT_SOURCE_LINES_NOERROR 
PRINT_SOURCE_LINES_FILENAME 

Definition at line 1218 of file symtab.h.

Enumerator:
VARIABLES_DOMAIN 
FUNCTIONS_DOMAIN 
TYPES_DOMAIN 
ALL_DOMAIN 

Definition at line 435 of file symtab.h.


Function Documentation

struct symbol* allocate_symbol ( struct objfile ) [read]

Definition at line 5188 of file symtab.c.

struct template_symbol* allocate_template_symbol ( struct objfile ) [read]

Definition at line 5202 of file symtab.c.

struct symbol* basic_lookup_symbol_nonlocal ( const char *  ,
const struct block ,
const domain_enum   
) [read]

Definition at line 1724 of file symtab.c.

struct type* basic_lookup_transparent_type ( const char *  ) [read]

Definition at line 1918 of file symtab.c.

void clear_pc_function_cache ( void  )

Definition at line 168 of file blockframe.c.

void clear_solib ( void  )

Definition at line 1139 of file solib.c.

void clear_symtab_users ( int  add_flags)

Definition at line 2842 of file symfile.c.

int compare_filenames_for_search ( const char *  filename,
const char *  search_name 
)

Definition at line 183 of file symtab.c.

Definition at line 2767 of file symfile.c.

struct cleanup* demangle_for_lookup ( const char *  name,
enum language  lang,
const char **  result_name 
) [read]

Definition at line 1182 of file symtab.c.

Definition at line 149 of file symtab.c.

struct symtab_and_line find_function_start_sal ( struct symbol sym,
int   
) [read]

Definition at line 2778 of file symtab.c.

int find_line_pc ( struct symtab ,
int  ,
CORE_ADDR  
)

Definition at line 2611 of file symtab.c.

Definition at line 2638 of file symtab.c.

struct symtab* find_line_symtab ( struct symtab ,
int  ,
int ,
int  
) [read]

Definition at line 2479 of file symtab.c.

struct symbol* find_pc_function ( CORE_ADDR  ) [read]

Definition at line 151 of file blockframe.c.

struct symtab_and_line find_pc_line ( CORE_ADDR  ,
int   
) [read]

Definition at line 2458 of file symtab.c.

Definition at line 2722 of file symtab.c.

int find_pc_partial_function ( CORE_ADDR  ,
const char **  ,
CORE_ADDR ,
CORE_ADDR  
)

Definition at line 348 of file blockframe.c.

int find_pc_partial_function_gnu_ifunc ( CORE_ADDR  pc,
const char **  name,
CORE_ADDR address,
CORE_ADDR endaddr,
int is_gnu_ifunc_p 
)

Definition at line 192 of file blockframe.c.

struct symbol* find_pc_sect_function ( CORE_ADDR  ,
struct obj_section  
) [read]

Definition at line 137 of file blockframe.c.

struct symtab_and_line find_pc_sect_line ( CORE_ADDR  ,
struct obj_section ,
int   
) [read]

Definition at line 2214 of file symtab.c.

struct symtab* find_pc_sect_symtab ( CORE_ADDR  ,
struct obj_section  
) [read]

Definition at line 2076 of file symtab.c.

struct symtab* find_pc_sect_symtab_via_partial ( CORE_ADDR  ,
struct obj_section  
) [read]

Definition at line 1006 of file symtab.c.

struct symtab* find_pc_symtab ( CORE_ADDR  ) [read]

Definition at line 2190 of file symtab.c.

CORE_ADDR find_solib_trampoline_target ( struct frame_info *  ,
CORE_ADDR   
)

Definition at line 1327 of file minsyms.c.

void fixup_section ( struct general_symbol_info ginfo,
CORE_ADDR  addr,
struct objfile objfile 
)

Definition at line 1041 of file symtab.c.

struct symbol* fixup_symbol_section ( struct symbol ,
struct objfile  
) [read]

Definition at line 1122 of file symtab.c.

void forget_cached_source_info ( void  )

Definition at line 387 of file source.c.

Definition at line 360 of file source.c.

void free_search_symbols ( struct symbol_search )

Definition at line 3304 of file symtab.c.

int identify_source_line ( struct symtab ,
int  ,
int  ,
CORE_ADDR   
)

Definition at line 1285 of file source.c.

Definition at line 752 of file minsyms.c.

int in_prologue ( struct gdbarch *  gdbarch,
CORE_ADDR  pc,
CORE_ADDR  func_start 
)

Definition at line 4775 of file symtab.c.

void init_sal ( struct symtab_and_line sal)

Definition at line 926 of file symtab.c.

void initialize_symbol ( struct symbol )

Definition at line 5178 of file symtab.c.

int iterate_over_some_symtabs ( const char *  name,
const char *  real_path,
int(*)(struct symtab *symtab, void *data)  callback,
void *  data,
struct symtab first,
struct symtab after_last 
)

Definition at line 230 of file symtab.c.

void iterate_over_symbols ( const struct block block,
const char *  name,
const domain_enum  domain,
symbol_found_callback_ftype callback,
void *  data 
)

Definition at line 2051 of file symtab.c.

void iterate_over_symtabs ( const char *  name,
int(*)(struct symtab *symtab, void *data)  callback,
void *  data 
)

Definition at line 291 of file symtab.c.

struct symbol* lookup_block_symbol ( const struct block ,
const char *  ,
const domain_enum   
) [read]

Definition at line 1996 of file symtab.c.

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

Definition at line 1296 of file gdbtypes.c.

struct symbol* lookup_global_symbol_from_objfile ( const struct objfile ,
const char *  name,
const domain_enum  domain 
) [read]

Definition at line 1552 of file symtab.c.

struct symbol* lookup_language_this ( const struct language_defn lang,
const struct block block 
) [read]

Definition at line 1298 of file symtab.c.

struct objfile* lookup_objfile_from_block ( const struct block block) [read]

Definition at line 1507 of file symtab.c.

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

Definition at line 1444 of file symtab.c.

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

Definition at line 1250 of file gdbtypes.c.

struct symbol* lookup_symbol ( const char *  ,
const struct block ,
const domain_enum  ,
struct field_of_this_result  
) [read]

Definition at line 1285 of file symtab.c.

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

Definition at line 1533 of file symtab.c.

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

Definition at line 1825 of file symtab.c.

struct symbol* lookup_symbol_in_language ( const char *  ,
const struct block ,
const domain_enum  ,
enum  language,
struct field_of_this_result  
) [read]

Definition at line 1266 of file symtab.c.

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

Definition at line 1769 of file symtab.c.

struct symtab* lookup_symtab ( const char *  ) [read]

Definition at line 354 of file symtab.c.

struct type* lookup_transparent_type ( const char *  ) [read]

Definition at line 1876 of file symtab.c.

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

Definition at line 1272 of file gdbtypes.c.

char* main_name ( void  )

Definition at line 5025 of file symtab.c.

struct cleanup* make_cleanup_free_search_symbols ( struct symbol_search **  ) [read]

Definition at line 3325 of file symtab.c.

const char enum type_code const char const char enum type_code const char const char const char const char const char* int matching_obj_sections ( struct obj_section ,
struct obj_section  
)

Definition at line 945 of file symtab.c.

Definition at line 135 of file symtab.c.

void print_source_lines ( struct symtab ,
int  ,
int  ,
enum  print_source_lines_flags 
)

Definition at line 1470 of file source.c.

int producer_is_realview ( const char *  producer)

Definition at line 5046 of file symtab.c.

int register_symbol_block_impl ( enum address_class  aclass,
const struct symbol_block_ops ops 
)

Definition at line 5125 of file symtab.c.

int register_symbol_computed_impl ( enum  address_class,
const struct symbol_computed_ops  
)

Definition at line 5099 of file symtab.c.

int register_symbol_register_impl ( enum  address_class,
const struct symbol_register_ops  
)

Definition at line 5148 of file symtab.c.

void reread_symbols ( void  )

Definition at line 2352 of file symfile.c.

void resolve_sal_pc ( struct symtab_and_line )

Definition at line 9816 of file breakpoint.c.

const char* search_domain_name ( enum  search_domain)

Definition at line 165 of file symtab.c.

void search_symbols ( char *  ,
enum  search_domain,
int  ,
char **  ,
struct symbol_search **   
)
void select_source_symtab ( struct symtab )

Definition at line 244 of file source.c.

void set_main_name ( const char *  name)

Definition at line 4959 of file symtab.c.

void skip_prologue_sal ( struct symtab_and_line )

Definition at line 2810 of file symtab.c.

CORE_ADDR skip_prologue_using_sal ( struct gdbarch *  gdbarch,
CORE_ADDR  func_addr 
)

Definition at line 4858 of file symtab.c.

Definition at line 886 of file symtab.c.

Definition at line 502 of file symtab.c.

int symbol_matches_domain ( enum language  symbol_language,
domain_enum  symbol_domain,
domain_enum  domain 
)

Definition at line 1851 of file symtab.c.

const char* symbol_natural_name ( const struct general_symbol_info symbol)

Definition at line 861 of file symtab.c.

Definition at line 3101 of file symfile.c.

Definition at line 915 of file symtab.c.

void symbol_set_demangled_name ( struct general_symbol_info ,
const char *  ,
struct obstack *   
)

Definition at line 471 of file symtab.c.

void symbol_set_language ( struct general_symbol_info symbol,
enum language  language,
struct obstack *  obstack 
)

Definition at line 526 of file symtab.c.

void symbol_set_names ( struct general_symbol_info symbol,
const char *  linkage_name,
int  len,
int  copy_name,
struct objfile objfile 
)

Definition at line 713 of file symtab.c.

VEC ( char_ptr  ) const
VEC ( CORE_ADDR  )

Variable Documentation

Definition at line 114 of file symtab.c.

Definition at line 1361 of file symtab.h.

const char const char* break_on

Definition at line 1236 of file symtab.h.

const char const char enum type_code code

Definition at line 1237 of file symtab.h.

Definition at line 46 of file demangle.c.

Definition at line 810 of file minsyms.c.

Definition at line 4956 of file symtab.c.

Definition at line 1360 of file symtab.h.

Definition at line 121 of file symtab.c.

Definition at line 120 of file symtab.c.

Definition at line 122 of file symtab.c.

Definition at line 5087 of file symtab.c.

Definition at line 109 of file symtab.c.

const char* word

Definition at line 1236 of file symtab.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines