GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions | Variables
symtab.c File Reference
#include "defs.h"
#include "dwarf2/call-site.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "frame.h"
#include "target.h"
#include "value.h"
#include "symfile.h"
#include "objfiles.h"
#include "gdbcmd.h"
#include "gdbsupport/gdb_regex.h"
#include "expression.h"
#include "language.h"
#include "demangle.h"
#include "inferior.h"
#include "source.h"
#include "filenames.h"
#include "objc-lang.h"
#include "d-lang.h"
#include "ada-lang.h"
#include "go-lang.h"
#include "p-lang.h"
#include "addrmap.h"
#include "cli/cli-utils.h"
#include "cli/cli-style.h"
#include "cli/cli-cmds.h"
#include "fnmatch.h"
#include "hashtab.h"
#include "typeprint.h"
#include "gdbsupport/gdb_obstack.h"
#include "block.h"
#include "dictionary.h"
#include <sys/types.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <ctype.h>
#include "cp-abi.h"
#include "cp-support.h"
#include "observable.h"
#include "solist.h"
#include "macrotab.h"
#include "macroscope.h"
#include "parser-defs.h"
#include "completer.h"
#include "progspace-and-thread.h"
#include "gdbsupport/gdb_optional.h"
#include "filename-seen-cache.h"
#include "arch-utils.h"
#include <algorithm>
#include "gdbsupport/gdb_string_view.h"
#include "gdbsupport/pathstuff.h"
#include "gdbsupport/common-utils.h"

Go to the source code of this file.

Classes

struct  main_info
 
struct  symbol_cache_slot
 
struct  block_symbol_cache
 
struct  symbol_cache
 
struct  demangled_name_entry
 
struct  output_source_filename_data
 
struct  filename_partial_match_opts
 
struct  info_vars_funcs_options
 
struct  info_types_options
 
struct  add_partial_filename_data
 
struct  info_modules_var_func_options
 

Macros

#define DEFAULT_SYMBOL_CACHE_SIZE   1021
 
#define MAX_SYMBOL_CACHE_SIZE   (1024*1024)
 
#define SYMBOL_LOOKUP_FAILED    ((struct block_symbol) {(struct symbol *) 1, NULL})
 
#define SYMBOL_LOOKUP_FAILED_P(SIB)   (SIB.symbol == (struct symbol *) 1)
 
#define MAX_SYMBOL_IMPLS   (LOC_FINAL_VALUE + 11)
 

Typedefs

using isrc_flag_option_def = gdb::option::flag_option_def<filename_partial_match_opts>
 

Enumerations

enum  symbol_cache_slot_state { SYMBOL_SLOT_UNUSED , SYMBOL_SLOT_NOT_FOUND , SYMBOL_SLOT_FOUND }
 

Functions

static void rbreak_command (const char *, int)
 
static int find_line_common (const linetable *, int, int *, int)
 
static struct block_symbol lookup_symbol_aux (const char *name, symbol_name_match_type match_type, const struct block *block, const domain_enum domain, enum language language, struct field_of_this_result *)
 
static struct block_symbol lookup_local_symbol (const char *name, symbol_name_match_type match_type, const struct block *block, const domain_enum domain, enum language language)
 
static struct block_symbol lookup_symbol_in_objfile (struct objfile *objfile, enum block_enum block_index, const char *name, const domain_enum domain)
 
static void set_main_name (program_space *pspace, const char *name, language lang)
 
static void symbol_cache_clear_slot (struct symbol_cache_slot *slot)
 
static void destroy_block_symbol_cache (struct block_symbol_cache *bsc)
 
const char * multiple_symbols_select_mode (void)
 
const char * domain_name (domain_enum e)
 
const char * search_domain_name (enum search_domain e)
 
bool compare_filenames_for_search (const char *filename, const char *search_name)
 
bool compare_glob_filenames_for_search (const char *filename, const char *search_name)
 
bool iterate_over_some_symtabs (const char *name, const char *real_path, struct compunit_symtab *first, struct compunit_symtab *after_last, gdb::function_view< bool(symtab *)> callback)
 
void iterate_over_symtabs (const char *name, gdb::function_view< bool(symtab *)> callback)
 
struct symtablookup_symtab (const char *name)
 
char * gdb_mangle_name (struct type *type, int method_id, int signature_id)
 
static hashval_t hash_demangled_name_entry (const void *data)
 
static int eq_demangled_name_entry (const void *a, const void *b)
 
static void free_demangled_name_entry (void *data)
 
static void create_demangled_names_hash (struct objfile_per_bfd_storage *per_bfd)
 
gdb::unique_xmalloc_ptr< char > symbol_find_demangled_name (struct general_symbol_info *gsymbol, const char *mangled)
 
bool symbol_matches_search_name (const struct general_symbol_info *gsymbol, const lookup_name_info &name)
 
bool matching_obj_sections (struct obj_section *obj_first, struct obj_section *obj_second)
 
static unsigned int hash_symbol_entry (const struct objfile *objfile_context, const char *name, domain_enum domain)
 
static int eq_symbol_entry (const struct symbol_cache_slot *slot, const struct objfile *objfile_context, const char *name, domain_enum domain)
 
static size_t symbol_cache_byte_size (unsigned int size)
 
static void resize_symbol_cache (struct symbol_cache *cache, unsigned int new_size)
 
static struct symbol_cacheget_symbol_cache (struct program_space *pspace)
 
static void set_symbol_cache_size (unsigned int new_size)
 
static void set_symbol_cache_size_handler (const char *args, int from_tty, struct cmd_list_element *c)
 
static struct block_symbol symbol_cache_lookup (struct symbol_cache *cache, struct objfile *objfile_context, enum block_enum block, const char *name, domain_enum domain, struct block_symbol_cache **bsc_ptr, struct symbol_cache_slot **slot_ptr)
 
static void symbol_cache_mark_found (struct block_symbol_cache *bsc, struct symbol_cache_slot *slot, struct objfile *objfile_context, struct symbol *symbol, const struct block *block)
 
static void symbol_cache_mark_not_found (struct block_symbol_cache *bsc, struct symbol_cache_slot *slot, struct objfile *objfile_context, const char *name, domain_enum domain)
 
static void symbol_cache_flush (struct program_space *pspace)
 
static void symbol_cache_dump (const struct symbol_cache *cache)
 
static void maintenance_print_symbol_cache (const char *args, int from_tty)
 
static void maintenance_flush_symbol_cache (const char *args, int from_tty)
 
static void symbol_cache_stats (struct symbol_cache *cache)
 
static void maintenance_print_symbol_cache_statistics (const char *args, int from_tty)
 
static void symtab_new_objfile_observer (struct objfile *objfile)
 
static void symtab_all_objfiles_removed (program_space *pspace)
 
static void symtab_free_objfile_observer (struct objfile *objfile)
 
void fixup_symbol_section (struct symbol *sym, struct objfile *objfile)
 
const char * demangle_for_lookup (const char *name, enum language lang, demangle_result_storage &storage)
 
unsigned int search_name_hash (enum language language, const char *search_name)
 
struct block_symbol lookup_symbol_in_language (const char *name, const struct block *block, const domain_enum domain, enum language lang, struct field_of_this_result *is_a_field_of_this)
 
struct block_symbol lookup_symbol (const char *name, const struct block *block, domain_enum domain, struct field_of_this_result *is_a_field_of_this)
 
struct block_symbol lookup_symbol_search_name (const char *search_name, const struct block *block, domain_enum domain)
 
struct block_symbol lookup_language_this (const struct language_defn *lang, const struct block *block)
 
static int check_field (struct type *type, const char *name, struct field_of_this_result *is_a_field_of_this)
 
static struct block_symbol lookup_symbol_aux (const char *name, symbol_name_match_type match_type, const struct block *block, const domain_enum domain, enum language language, struct field_of_this_result *is_a_field_of_this)
 
static struct block_symbol lookup_local_symbol (const char *name, symbol_name_match_type match_type, const struct block *block, const domain_enum domain, enum language language)
 
struct symbollookup_symbol_in_block (const char *name, symbol_name_match_type match_type, const struct block *block, const domain_enum domain)
 
struct block_symbol lookup_global_symbol_from_objfile (struct objfile *main_objfile, enum block_enum block_index, const char *name, const domain_enum domain)
 
static struct block_symbol lookup_symbol_in_objfile_symtabs (struct objfile *objfile, enum block_enum block_index, const char *name, const domain_enum domain)
 
static struct block_symbol lookup_symbol_in_objfile_from_linkage_name (struct objfile *objfile, const char *linkage_name, domain_enum domain)
 
static void ATTRIBUTE_NORETURN error_in_psymtab_expansion (enum block_enum block_index, const char *name, struct compunit_symtab *cust)
 
static struct block_symbol lookup_symbol_via_quick_fns (struct objfile *objfile, enum block_enum block_index, const char *name, const domain_enum domain)
 
struct block_symbol lookup_symbol_in_static_block (const char *name, const struct block *block, const domain_enum domain)
 
static struct block_symbol lookup_global_or_static_symbol (const char *name, enum block_enum block_index, struct objfile *objfile, const domain_enum domain)
 
struct block_symbol lookup_static_symbol (const char *name, const domain_enum domain)
 
struct block_symbol lookup_global_symbol (const char *name, const struct block *block, const domain_enum domain)
 
bool symbol_matches_domain (enum language symbol_language, domain_enum symbol_domain, domain_enum domain)
 
struct typelookup_transparent_type (const char *name)
 
static struct typebasic_lookup_transparent_type_quick (struct objfile *objfile, enum block_enum block_index, const char *name)
 
static struct typebasic_lookup_transparent_type_1 (struct objfile *objfile, enum block_enum block_index, const char *name)
 
struct typebasic_lookup_transparent_type (const char *name)
 
bool iterate_over_symbols (const struct block *block, const lookup_name_info &name, const domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback)
 
bool iterate_over_symbols_terminated (const struct block *block, const lookup_name_info &name, const domain_enum domain, gdb::function_view< symbol_found_callback_ftype > callback)
 
struct compunit_symtabfind_pc_sect_compunit_symtab (CORE_ADDR pc, struct obj_section *section)
 
struct compunit_symtabfind_pc_compunit_symtab (CORE_ADDR pc)
 
struct symbolfind_symbol_at_address (CORE_ADDR address)
 
struct symtab_and_line find_pc_sect_line (CORE_ADDR pc, struct obj_section *section, int notcurrent)
 
struct symtab_and_line find_pc_line (CORE_ADDR pc, int notcurrent)
 
struct symtabfind_pc_line_symtab (CORE_ADDR pc)
 
struct symtabfind_line_symtab (struct symtab *sym_tab, int line, int *index, bool *exact_match)
 
std::vector< CORE_ADDR > find_pcs_for_symtab_line (struct symtab *symtab, int line, const linetable_entry **best_item)
 
bool find_line_pc (struct symtab *symtab, int line, CORE_ADDR *pc)
 
bool find_line_pc_range (struct symtab_and_line sal, CORE_ADDR *startptr, CORE_ADDR *endptr)
 
bool find_pc_line_pc_range (CORE_ADDR pc, CORE_ADDR *startptr, CORE_ADDR *endptr)
 
static symtab_and_line find_function_start_sal_1 (CORE_ADDR func_addr, obj_section *section, bool funfirstline)
 
symtab_and_line find_function_start_sal (CORE_ADDR func_addr, obj_section *section, bool funfirstline)
 
symtab_and_line find_function_start_sal (symbol *sym, bool funfirstline)
 
static CORE_ADDR skip_prologue_using_lineinfo (CORE_ADDR func_addr, struct symtab *symtab)
 
static gdb::optional< CORE_ADDR > skip_prologue_using_linetable (CORE_ADDR func_addr)
 
void skip_prologue_sal (struct symtab_and_line *sal)
 
CORE_ADDR skip_prologue_using_sal (struct gdbarch *gdbarch, CORE_ADDR func_addr)
 
symbolfind_function_alias_target (bound_minimal_symbol msymbol)
 
static const char * operator_chars (const char *p, const char **end)
 
static gdb::option::option_def_group make_info_sources_options_def_group (filename_partial_match_opts *isrc_opts)
 
static void info_sources_command_completer (cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *word)
 
void info_sources_worker (struct ui_out *uiout, bool group_by_objfile, const info_sources_filter &filter)
 
static void info_sources_command (const char *args, int from_tty)
 
static bool file_matches (const char *file, const std::vector< const char * > &filenames, bool basenames)
 
bool treg_matches_sym_type_name (const compiled_regex &treg, const struct symbol *sym)
 
std::string symbol_to_info_string (struct symbol *sym, int block, enum search_domain kind)
 
static void print_symbol_info (enum search_domain kind, struct symbol *sym, int block, const char *last)
 
static void print_msymbol_info (struct bound_minimal_symbol msymbol)
 
static void symtab_symbol_info (bool quiet, bool exclude_minsyms, const char *regexp, enum search_domain kind, const char *t_regexp, int from_tty)
 
static gdb::option::option_def_group make_info_vars_funcs_options_def_group (info_vars_funcs_options *opts)
 
static void info_vars_funcs_command_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *)
 
static void info_variables_command (const char *args, int from_tty)
 
static void info_functions_command (const char *args, int from_tty)
 
static gdb::option::option_def_group make_info_types_options_def_group (info_types_options *opts)
 
static void info_types_command (const char *args, int from_tty)
 
static void info_types_command_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *)
 
static void info_modules_command (const char *args, int from_tty)
 
static void info_main_command (const char *args, int from_tty)
 
static int compare_symbol_name (const char *symbol_name, language symbol_language, const lookup_name_info &lookup_name, completion_match_result &match_res)
 
bool completion_list_add_name (completion_tracker &tracker, language symbol_language, const char *symname, const lookup_name_info &lookup_name, const char *text, const char *word)
 
static void completion_list_add_symbol (completion_tracker &tracker, symbol *sym, const lookup_name_info &lookup_name, const char *text, const char *word)
 
static void completion_list_add_msymbol (completion_tracker &tracker, minimal_symbol *sym, const lookup_name_info &lookup_name, const char *text, const char *word)
 
static void completion_list_objc_symbol (completion_tracker &tracker, struct minimal_symbol *msymbol, const lookup_name_info &lookup_name, const char *text, const char *word)
 
static const char * language_search_unquoted_string (const char *text, const char *p)
 
static void completion_list_add_fields (completion_tracker &tracker, struct symbol *sym, const lookup_name_info &lookup_name, const char *text, const char *word)
 
bool symbol_is_function_or_method (symbol *sym)
 
bool symbol_is_function_or_method (minimal_symbol *msymbol)
 
bound_minimal_symbol find_gnu_ifunc (const symbol *sym)
 
static void add_symtab_completions (struct compunit_symtab *cust, completion_tracker &tracker, complete_symbol_mode mode, const lookup_name_info &lookup_name, const char *text, const char *word, enum type_code code)
 
void default_collect_symbol_completion_matches_break_on (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, const char *break_on, enum type_code code)
 
void collect_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word)
 
void collect_symbol_completion_matches_type (completion_tracker &tracker, const char *text, const char *word, enum type_code code)
 
void collect_file_symbol_completion_matches (completion_tracker &tracker, complete_symbol_mode mode, symbol_name_match_type name_match_type, const char *text, const char *word, const char *srcfile)
 
static void add_filename_to_list (const char *fname, const char *text, const char *word, completion_list *list)
 
static int not_interesting_fname (const char *fname)
 
completion_list make_source_files_completion_list (const char *text, const char *word)
 
static main_infoget_main_info (program_space *pspace)
 
static void find_main_name (void)
 
const char * main_name ()
 
enum language main_language (void)
 
bool producer_is_realview (const char *producer)
 
gdb::array_view< const struct symbol_implsymbol_impls (symbol_impl)
 
 gdb_static_assert (MAX_SYMBOL_IMPLS<=(1<< SYMBOL_ACLASS_BITS))
 
int register_symbol_computed_impl (enum address_class aclass, const struct symbol_computed_ops *ops)
 
int register_symbol_block_impl (enum address_class aclass, const struct symbol_block_ops *ops)
 
int register_symbol_register_impl (enum address_class aclass, const struct symbol_register_ops *ops)
 
static void initialize_ordinary_address_classes (void)
 
CORE_ADDR get_symbol_address (const struct symbol *sym)
 
CORE_ADDR get_msymbol_address (struct objfile *objf, const struct minimal_symbol *minsym)
 
std::vector< module_symbol_searchsearch_module_symbols (const char *module_regexp, const char *regexp, const char *type_regexp, search_domain kind)
 
static void info_module_subcommand (bool quiet, const char *module_regexp, const char *regexp, const char *type_regexp, search_domain kind)
 
static gdb::option::option_def_group make_info_modules_var_func_options_def_group (info_modules_var_func_options *opts)
 
static void info_module_functions_command (const char *args, int from_tty)
 
static void info_module_variables_command (const char *args, int from_tty)
 
static void info_module_var_func_command_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *)
 
void _initialize_symtab ()
 

Variables

static const registry< program_space >::key< main_infomain_progspace_key
 
static const registry< program_space >::key< symbol_cachesymbol_cache_key
 
unsigned int symtab_create_debug = 0
 
unsigned int symbol_lookup_debug = 0
 
static unsigned int new_symbol_cache_size = DEFAULT_SYMBOL_CACHE_SIZE
 
static unsigned int symbol_cache_size = DEFAULT_SYMBOL_CACHE_SIZE
 
bool basenames_may_differ = false
 
const char multiple_symbols_ask [] = "ask"
 
const char multiple_symbols_all [] = "all"
 
const char multiple_symbols_cancel [] = "cancel"
 
static const char *const multiple_symbols_modes []
 
static const char * multiple_symbols_mode = multiple_symbols_all
 
static bool ignore_prologue_end_flag = false
 
static const gdb::option::option_def info_sources_option_defs []
 
static const gdb::option::option_def info_vars_funcs_options_defs []
 
static const gdb::option::option_def info_types_options_defs []
 
static int next_aclass_value = LOC_FINAL_VALUE
 
static struct symbol_impl symbol_impl [MAX_SYMBOL_IMPLS]
 
static struct cmd_list_elementinfo_module_cmdlist = NULL
 
static const gdb::option::option_def info_modules_var_func_options_defs []
 

Macro Definition Documentation

◆ DEFAULT_SYMBOL_CACHE_SIZE

#define DEFAULT_SYMBOL_CACHE_SIZE   1021

Definition at line 128 of file symtab.c.

◆ MAX_SYMBOL_CACHE_SIZE

#define MAX_SYMBOL_CACHE_SIZE   (1024*1024)

Definition at line 133 of file symtab.c.

Referenced by set_symbol_cache_size_handler().

◆ MAX_SYMBOL_IMPLS

#define MAX_SYMBOL_IMPLS   (LOC_FINAL_VALUE + 11)

◆ SYMBOL_LOOKUP_FAILED

#define SYMBOL_LOOKUP_FAILED    ((struct block_symbol) {(struct symbol *) 1, NULL})

Definition at line 137 of file symtab.c.

Referenced by symbol_cache_lookup().

◆ SYMBOL_LOOKUP_FAILED_P

#define SYMBOL_LOOKUP_FAILED_P ( SIB)    (SIB.symbol == (struct symbol *) 1)

Definition at line 139 of file symtab.c.

Referenced by lookup_global_or_static_symbol().

Typedef Documentation

◆ isrc_flag_option_def

Definition at line 4402 of file symtab.c.

Enumeration Type Documentation

◆ symbol_cache_slot_state

Enumerator
SYMBOL_SLOT_UNUSED 
SYMBOL_SLOT_NOT_FOUND 
SYMBOL_SLOT_FOUND 

Definition at line 144 of file symtab.c.

Function Documentation

◆ _initialize_symtab()

void _initialize_symtab ( )

Definition at line 6852 of file symtab.c.

Referenced by initialize_all_files().

◆ add_filename_to_list()

static void add_filename_to_list ( const char * fname,
const char * text,
const char * word,
completion_list * list )
static

◆ add_symtab_completions()

static void add_symtab_completions ( struct compunit_symtab * cust,
completion_tracker & tracker,
complete_symbol_mode mode,
const lookup_name_info & lookup_name,
const char * text,
const char * word,
enum type_code code )
static

◆ basic_lookup_transparent_type()

struct type * basic_lookup_transparent_type ( const char * name)

◆ basic_lookup_transparent_type_1()

static struct type * basic_lookup_transparent_type_1 ( struct objfile * objfile,
enum block_enum block_index,
const char * name )
static

◆ basic_lookup_transparent_type_quick()

static struct type * basic_lookup_transparent_type_quick ( struct objfile * objfile,
enum block_enum block_index,
const char * name )
static

◆ check_field()

static int check_field ( struct type * type,
const char * name,
struct field_of_this_result * is_a_field_of_this )
static

◆ collect_file_symbol_completion_matches()

void collect_file_symbol_completion_matches ( completion_tracker & tracker,
complete_symbol_mode mode,
symbol_name_match_type name_match_type,
const char * text,
const char * word,
const char * srcfile )

◆ collect_symbol_completion_matches()

void collect_symbol_completion_matches ( completion_tracker & tracker,
complete_symbol_mode mode,
symbol_name_match_type name_match_type,
const char * text,
const char * word )

◆ collect_symbol_completion_matches_type()

void collect_symbol_completion_matches_type ( completion_tracker & tracker,
const char * text,
const char * word,
enum type_code code )

◆ compare_filenames_for_search()

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

◆ compare_glob_filenames_for_search()

bool compare_glob_filenames_for_search ( const char * filename,
const char * search_name )

◆ compare_symbol_name()

static int compare_symbol_name ( const char * symbol_name,
language symbol_language,
const lookup_name_info & lookup_name,
completion_match_result & match_res )
static

Definition at line 5398 of file symtab.c.

References language_defn::get_symbol_name_matcher(), and language_def().

Referenced by completion_list_add_name().

◆ completion_list_add_fields()

static void completion_list_add_fields ( completion_tracker & tracker,
struct symbol * sym,
const lookup_name_info & lookup_name,
const char * text,
const char * word )
static

◆ completion_list_add_msymbol()

static void completion_list_add_msymbol ( completion_tracker & tracker,
minimal_symbol * sym,
const lookup_name_info & lookup_name,
const char * text,
const char * word )
static

◆ completion_list_add_name()

bool completion_list_add_name ( completion_tracker & tracker,
language symbol_language,
const char * symname,
const lookup_name_info & lookup_name,
const char * text,
const char * word )

◆ completion_list_add_symbol()

static void completion_list_add_symbol ( completion_tracker & tracker,
symbol * sym,
const lookup_name_info & lookup_name,
const char * text,
const char * word )
static

◆ completion_list_objc_symbol()

static void completion_list_objc_symbol ( completion_tracker & tracker,
struct minimal_symbol * msymbol,
const lookup_name_info & lookup_name,
const char * text,
const char * word )
static

◆ create_demangled_names_hash()

static void create_demangled_names_hash ( struct objfile_per_bfd_storage * per_bfd)
static

◆ default_collect_symbol_completion_matches_break_on()

void default_collect_symbol_completion_matches_break_on ( completion_tracker & tracker,
complete_symbol_mode mode,
symbol_name_match_type name_match_type,
const char * text,
const char * word,
const char * break_on,
enum type_code code )

◆ demangle_for_lookup()

const char * demangle_for_lookup ( const char * name,
enum language lang,
demangle_result_storage & storage )

◆ destroy_block_symbol_cache()

static void destroy_block_symbol_cache ( struct block_symbol_cache * bsc)
static

◆ domain_name()

const char * domain_name ( domain_enum e)

◆ eq_demangled_name_entry()

static int eq_demangled_name_entry ( const void * a,
const void * b )
static

Definition at line 853 of file symtab.c.

References demangled_name_entry::mangled.

Referenced by create_demangled_names_hash().

◆ eq_symbol_entry()

static int eq_symbol_entry ( const struct symbol_cache_slot * slot,
const struct objfile * objfile_context,
const char * name,
domain_enum domain )
static

◆ error_in_psymtab_expansion()

static void ATTRIBUTE_NORETURN error_in_psymtab_expansion ( enum block_enum block_index,
const char * name,
struct compunit_symtab * cust )
static

◆ file_matches()

static bool file_matches ( const char * file,
const std::vector< const char * > & filenames,
bool basenames )
static

◆ find_function_alias_target()

symbol * find_function_alias_target ( bound_minimal_symbol msymbol)

◆ find_function_start_sal() [1/2]

symtab_and_line find_function_start_sal ( CORE_ADDR func_addr,
obj_section * section,
bool funfirstline )

◆ find_function_start_sal() [2/2]

symtab_and_line find_function_start_sal ( symbol * sym,
bool funfirstline )

◆ find_function_start_sal_1()

static symtab_and_line find_function_start_sal_1 ( CORE_ADDR func_addr,
obj_section * section,
bool funfirstline )
static

◆ find_gnu_ifunc()

bound_minimal_symbol find_gnu_ifunc ( const symbol * sym)

◆ find_line_common()

static int find_line_common ( const linetable * l,
int lineno,
int * exact_match,
int start )
static

◆ find_line_pc()

bool find_line_pc ( struct symtab * symtab,
int line,
CORE_ADDR * pc )

◆ find_line_pc_range()

bool find_line_pc_range ( struct symtab_and_line sal,
CORE_ADDR * startptr,
CORE_ADDR * endptr )

◆ find_line_symtab()

struct symtab * find_line_symtab ( struct symtab * sym_tab,
int line,
int * index,
bool * exact_match )

◆ find_main_name()

static void find_main_name ( void )
static

◆ find_pc_compunit_symtab()

struct compunit_symtab * find_pc_compunit_symtab ( CORE_ADDR pc)

◆ find_pc_line()

struct symtab_and_line find_pc_line ( CORE_ADDR pc,
int notcurrent )

Definition at line 3295 of file symtab.c.

References symtab_and_line::end, find_pc_overlay(), find_pc_sect_line(), overlay_mapped_address(), overlay_unmapped_address(), symtab_and_line::pc, pc_in_unmapped_range(), and symtab_and_line::section.

Referenced by aarch64_scan_prologue(), after_prologue(), arc_make_frame_cache(), arm_linux_copy_svc(), BP_MANIPULATION(), btrace_compute_src_line_range(), c_parse(), call0_analyze_prologue(), convert_address_location_to_sals(), cp_lookup_symbol_via_imports(), cris_skip_prologue(), decode_static_tracepoint_spec(), default_macro_scope(), do_mixed_source_and_assembly(), do_mixed_source_and_assembly_deprecated(), find_frame_sal(), find_last_line_symbol(), find_pc_line_pc_range(), find_pc_line_symtab(), find_pc_sect_line(), finish_backward(), finish_forward(), frv_skip_prologue(), ft32_skip_prologue(), gdbscm_find_pc_line(), h8300_skip_prologue(), handle_step_into_function(), handle_step_into_function_backward(), info_checkpoints_command(), insert_single_step_breakpoint(), iq2000_skip_prologue(), list_command(), m32r_skip_prologue(), m68hc11_skip_prologue(), microblaze_skip_prologue(), moxie_skip_prologue(), or1k_skip_prologue(), parse_breakpoint_sals(), print_one_static_tracepoint_marker(), process_event_stop_test(), pspy_find_pc_line(), recpy_bt_insn_sal(), tui_source_window_base::refill(), refine_prologue_limit(), save_bookmark_command(), set_momentary_breakpoint_at_pc(), set_traceframe_context(), skip_prologue(), skip_prologue_using_linetable(), skip_prologue_using_sal(), sparc64_skip_prologue(), tfind_line_command(), tui_update_source_windows_with_addr(), until_break_command(), until_next_command(), update_static_tracepoint(), v850_skip_prologue(), using_direct::valid_line(), write_macro_definitions(), xstormy16_skip_prologue(), xtensa_skip_prologue(), and z80_skip_prologue().

◆ find_pc_line_pc_range()

bool find_pc_line_pc_range ( CORE_ADDR pc,
CORE_ADDR * startptr,
CORE_ADDR * endptr )

◆ find_pc_line_symtab()

struct symtab * find_pc_line_symtab ( CORE_ADDR pc)

◆ find_pc_sect_compunit_symtab()

struct compunit_symtab * find_pc_sect_compunit_symtab ( CORE_ADDR pc,
struct obj_section * section )

◆ find_pc_sect_line()

struct symtab_and_line find_pc_sect_line ( CORE_ADDR pc,
struct obj_section * section,
int notcurrent )

◆ find_pcs_for_symtab_line()

std::vector< CORE_ADDR > find_pcs_for_symtab_line ( struct symtab * symtab,
int line,
const linetable_entry ** best_item )

◆ find_symbol_at_address()

struct symbol * find_symbol_at_address ( CORE_ADDR address)

◆ fixup_symbol_section()

void fixup_symbol_section ( struct symbol * sym,
struct objfile * objfile )

◆ free_demangled_name_entry()

static void free_demangled_name_entry ( void * data)
static

Definition at line 864 of file symtab.c.

Referenced by create_demangled_names_hash().

◆ gdb_mangle_name()

char * gdb_mangle_name ( struct type * type,
int method_id,
int signature_id )

◆ gdb_static_assert()

gdb_static_assert ( MAX_SYMBOL_IMPLS<= 1<< SYMBOL_ACLASS_BITS)

◆ get_main_info()

static main_info * get_main_info ( program_space * pspace)
static

Definition at line 6187 of file symtab.c.

References registry< T >::get(), and main_progspace_key.

Referenced by main_language(), main_name(), and set_main_name().

◆ get_msymbol_address()

CORE_ADDR get_msymbol_address ( struct objfile * objf,
const struct minimal_symbol * minsym )

◆ get_symbol_address()

CORE_ADDR get_symbol_address ( const struct symbol * sym)

◆ get_symbol_cache()

static struct symbol_cache * get_symbol_cache ( struct program_space * pspace)
static

◆ hash_demangled_name_entry()

static hashval_t hash_demangled_name_entry ( const void * data)
static

◆ hash_symbol_entry()

static unsigned int hash_symbol_entry ( const struct objfile * objfile_context,
const char * name,
domain_enum domain )
static

Definition at line 1205 of file symtab.c.

References name, STRUCT_DOMAIN, and VAR_DOMAIN.

Referenced by symbol_cache_lookup().

◆ info_functions_command()

static void info_functions_command ( const char * args,
int from_tty )
static

◆ info_main_command()

static void info_main_command ( const char * args,
int from_tty )
static

Definition at line 5328 of file symtab.c.

References gdb_printf(), and main_name().

◆ info_module_functions_command()

static void info_module_functions_command ( const char * args,
int from_tty )
static

◆ info_module_subcommand()

static void info_module_subcommand ( bool quiet,
const char * module_regexp,
const char * regexp,
const char * type_regexp,
search_domain kind )
static

◆ info_module_var_func_command_completer()

static void info_module_var_func_command_completer ( struct cmd_list_element * ignore,
completion_tracker & tracker,
const char * text,
const char *  )
static

◆ info_module_variables_command()

static void info_module_variables_command ( const char * args,
int from_tty )
static

◆ info_modules_command()

static void info_modules_command ( const char * args,
int from_tty )
static

◆ info_sources_command()

static void info_sources_command ( const char * args,
int from_tty )
static

◆ info_sources_command_completer()

static void info_sources_command_completer ( cmd_list_element * ignore,
completion_tracker & tracker,
const char * text,
const char * word )
static

◆ info_sources_worker()

void info_sources_worker ( struct ui_out * uiout,
bool group_by_objfile,
const info_sources_filter & filter )

◆ info_types_command()

static void info_types_command ( const char * args,
int from_tty )
static

◆ info_types_command_completer()

static void info_types_command_completer ( struct cmd_list_element * ignore,
completion_tracker & tracker,
const char * text,
const char *  )
static

◆ info_variables_command()

static void info_variables_command ( const char * args,
int from_tty )
static

◆ info_vars_funcs_command_completer()

static void info_vars_funcs_command_completer ( struct cmd_list_element * ignore,
completion_tracker & tracker,
const char * text,
const char *  )
static

◆ initialize_ordinary_address_classes()

static void initialize_ordinary_address_classes ( void )
static

Definition at line 6469 of file symtab.c.

References symbol_impl::aclass, and LOC_FINAL_VALUE.

◆ iterate_over_some_symtabs()

bool iterate_over_some_symtabs ( const char * name,
const char * real_path,
struct compunit_symtab * first,
struct compunit_symtab * after_last,
gdb::function_view< bool(symtab *)> callback )

◆ iterate_over_symbols()

bool iterate_over_symbols ( const struct block * block,
const lookup_name_info & name,
const domain_enum domain,
gdb::function_view< symbol_found_callback_ftype > callback )

Definition at line 2790 of file symtab.c.

References name.

Referenced by iterate_over_symbols_terminated().

◆ iterate_over_symbols_terminated()

bool iterate_over_symbols_terminated ( const struct block * block,
const lookup_name_info & name,
const domain_enum domain,
gdb::function_view< symbol_found_callback_ftype > callback )

Definition at line 2811 of file symtab.c.

References iterate_over_symbols(), and name.

Referenced by map_matching_symbols().

◆ iterate_over_symtabs()

void iterate_over_symtabs ( const char * name,
gdb::function_view< bool(symtab *)> callback )

◆ language_search_unquoted_string()

static const char * language_search_unquoted_string ( const char * text,
const char * p )
static

◆ lookup_global_or_static_symbol()

static struct block_symbol lookup_global_or_static_symbol ( const char * name,
enum block_enum block_index,
struct objfile * objfile,
const domain_enum domain )
static

◆ lookup_global_symbol()

struct block_symbol lookup_global_symbol ( const char * name,
const struct block * block,
const domain_enum domain )

◆ lookup_global_symbol_from_objfile()

struct block_symbol lookup_global_symbol_from_objfile ( struct objfile * main_objfile,
enum block_enum block_index,
const char * name,
const domain_enum domain )

◆ lookup_language_this()

struct block_symbol lookup_language_this ( const struct language_defn * lang,
const struct block * block )

◆ lookup_local_symbol() [1/2]

static struct block_symbol lookup_local_symbol ( const char * name,
symbol_name_match_type match_type,
const struct block * block,
const domain_enum domain,
enum language language )
static

Referenced by lookup_symbol_aux().

◆ lookup_local_symbol() [2/2]

static struct block_symbol lookup_local_symbol ( const char * name,
symbol_name_match_type match_type,
const struct block * block,
const domain_enum domain,
enum language language )
static

◆ lookup_static_symbol()

struct block_symbol lookup_static_symbol ( const char * name,
const domain_enum domain )

◆ lookup_symbol()

struct block_symbol lookup_symbol ( const char * name,
const struct block * block,
domain_enum domain,
struct field_of_this_result * is_a_field_of_this )

◆ lookup_symbol_aux() [1/2]

static struct block_symbol lookup_symbol_aux ( const char * name,
symbol_name_match_type match_type,
const struct block * block,
const domain_enum domain,
enum language language,
struct field_of_this_result *  )
static

◆ lookup_symbol_aux() [2/2]

static struct block_symbol lookup_symbol_aux ( const char * name,
symbol_name_match_type match_type,
const struct block * block,
const domain_enum domain,
enum language language,
struct field_of_this_result * is_a_field_of_this )
static

◆ lookup_symbol_in_block()

struct symbol * lookup_symbol_in_block ( const char * name,
symbol_name_match_type match_type,
const struct block * block,
const domain_enum domain )

◆ lookup_symbol_in_language()

struct block_symbol lookup_symbol_in_language ( const char * name,
const struct block * block,
const domain_enum domain,
enum language lang,
struct field_of_this_result * is_a_field_of_this )

◆ lookup_symbol_in_objfile()

static struct block_symbol lookup_symbol_in_objfile ( struct objfile * objfile,
enum block_enum block_index,
const char * name,
const domain_enum domain )
static

◆ lookup_symbol_in_objfile_from_linkage_name()

static struct block_symbol lookup_symbol_in_objfile_from_linkage_name ( struct objfile * objfile,
const char * linkage_name,
domain_enum domain )
static

◆ lookup_symbol_in_objfile_symtabs()

static struct block_symbol lookup_symbol_in_objfile_symtabs ( struct objfile * objfile,
enum block_enum block_index,
const char * name,
const domain_enum domain )
static

◆ lookup_symbol_in_static_block()

struct block_symbol lookup_symbol_in_static_block ( const char * name,
const struct block * block,
const domain_enum domain )

◆ lookup_symbol_search_name()

struct block_symbol lookup_symbol_search_name ( const char * search_name,
const struct block * block,
domain_enum domain )

◆ lookup_symbol_via_quick_fns()

static struct block_symbol lookup_symbol_via_quick_fns ( struct objfile * objfile,
enum block_enum block_index,
const char * name,
const domain_enum domain )
static

◆ lookup_symtab()

struct symtab * lookup_symtab ( const char * name)

◆ lookup_transparent_type()

struct type * lookup_transparent_type ( const char * name)

Definition at line 2671 of file symtab.c.

References current_language, language_defn::lookup_transparent_type(), and name.

Referenced by check_typedef().

◆ main_language()

enum language main_language ( void )

Definition at line 6336 of file symtab.c.

References current_program_space, find_main_name(), and get_main_info().

Referenced by set_initial_language().

◆ main_name()

const char * main_name ( )

◆ maintenance_flush_symbol_cache()

static void maintenance_flush_symbol_cache ( const char * args,
int from_tty )
static

Definition at line 1629 of file symtab.c.

References program_spaces, and symbol_cache_flush().

◆ maintenance_print_symbol_cache()

static void maintenance_print_symbol_cache ( const char * args,
int from_tty )
static

◆ maintenance_print_symbol_cache_statistics()

static void maintenance_print_symbol_cache_statistics ( const char * args,
int from_tty )
static

◆ make_info_modules_var_func_options_def_group()

static gdb::option::option_def_group make_info_modules_var_func_options_def_group ( info_modules_var_func_options * opts)
inlinestatic

◆ make_info_sources_options_def_group()

static gdb::option::option_def_group make_info_sources_options_def_group ( filename_partial_match_opts * isrc_opts)
inlinestatic

Definition at line 4424 of file symtab.c.

References info_sources_option_defs.

Referenced by info_sources_command(), and info_sources_command_completer().

◆ make_info_types_options_def_group()

static gdb::option::option_def_group make_info_types_options_def_group ( info_types_options * opts)
static

◆ make_info_vars_funcs_options_def_group()

static gdb::option::option_def_group make_info_vars_funcs_options_def_group ( info_vars_funcs_options * opts)
static

◆ make_source_files_completion_list()

completion_list make_source_files_completion_list ( const char * text,
const char * word )

◆ matching_obj_sections()

bool matching_obj_sections ( struct obj_section * obj_first,
struct obj_section * obj_second )

◆ multiple_symbols_select_mode()

const char * multiple_symbols_select_mode ( void )

Definition at line 295 of file symtab.c.

References multiple_symbols_mode.

Referenced by decode_line_full(), and user_select_syms().

◆ not_interesting_fname()

static int not_interesting_fname ( const char * fname)
static

◆ operator_chars()

static const char * operator_chars ( const char * p,
const char ** end )
static

Definition at line 4088 of file symtab.c.

References CP_OPERATOR_LEN, CP_OPERATOR_STR, and symtab_and_line::end.

Referenced by global_symbol_searcher::search().

◆ print_msymbol_info()

static void print_msymbol_info ( struct bound_minimal_symbol msymbol)
static

◆ print_symbol_info()

static void print_symbol_info ( enum search_domain kind,
struct symbol * sym,
int block,
const char * last )
static

◆ producer_is_realview()

bool producer_is_realview ( const char * producer)

Definition at line 6350 of file symtab.c.

Referenced by dwarf2_frame_find_quirks(), prototyped_function_p(), and read_structure_type().

◆ rbreak_command()

static void rbreak_command ( const char * regexp,
int from_tty )
static

◆ register_symbol_block_impl()

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

◆ register_symbol_computed_impl()

int register_symbol_computed_impl ( enum address_class aclass,
const struct symbol_computed_ops * ops )

◆ register_symbol_register_impl()

int register_symbol_register_impl ( enum address_class aclass,
const struct symbol_register_ops * ops )

◆ resize_symbol_cache()

static void resize_symbol_cache ( struct symbol_cache * cache,
unsigned int new_size )
static

◆ search_domain_name()

const char * search_domain_name ( enum search_domain e)

◆ search_module_symbols()

std::vector< module_symbol_search > search_module_symbols ( const char * module_regexp,
const char * regexp,
const char * type_regexp,
search_domain kind )

◆ search_name_hash()

unsigned int search_name_hash ( enum language language,
const char * search_name )

◆ set_main_name()

static void set_main_name ( program_space * pspace,
const char * name,
language lang )
static

Definition at line 6206 of file symtab.c.

References get_main_info(), language_unknown, and name.

Referenced by find_main_name(), and symtab_all_objfiles_removed().

◆ set_symbol_cache_size()

static void set_symbol_cache_size ( unsigned int new_size)
static

◆ set_symbol_cache_size_handler()

static void set_symbol_cache_size_handler ( const char * args,
int from_tty,
struct cmd_list_element * c )
static

◆ skip_prologue_sal()

void skip_prologue_sal ( struct symtab_and_line * sal)

◆ skip_prologue_using_lineinfo()

static CORE_ADDR skip_prologue_using_lineinfo ( CORE_ADDR func_addr,
struct symtab * symtab )
static

◆ skip_prologue_using_linetable()

static gdb::optional< CORE_ADDR > skip_prologue_using_linetable ( CORE_ADDR func_addr)
static

◆ skip_prologue_using_sal()

CORE_ADDR skip_prologue_using_sal ( struct gdbarch * gdbarch,
CORE_ADDR func_addr )

◆ symbol_cache_byte_size()

static size_t symbol_cache_byte_size ( unsigned int size)
static

Definition at line 1302 of file symtab.c.

References size.

Referenced by resize_symbol_cache().

◆ symbol_cache_clear_slot()

static void symbol_cache_clear_slot ( struct symbol_cache_slot * slot)
static

◆ symbol_cache_dump()

static void symbol_cache_dump ( const struct symbol_cache * cache)
static

◆ symbol_cache_flush()

static void symbol_cache_flush ( struct program_space * pspace)
static

◆ symbol_cache_lookup()

static struct block_symbol symbol_cache_lookup ( struct symbol_cache * cache,
struct objfile * objfile_context,
enum block_enum block,
const char * name,
domain_enum domain,
struct block_symbol_cache ** bsc_ptr,
struct symbol_cache_slot ** slot_ptr )
static

◆ symbol_cache_mark_found()

static void symbol_cache_mark_found ( struct block_symbol_cache * bsc,
struct symbol_cache_slot * slot,
struct objfile * objfile_context,
struct symbol * symbol,
const struct block * block )
static

◆ symbol_cache_mark_not_found()

static void symbol_cache_mark_not_found ( struct block_symbol_cache * bsc,
struct symbol_cache_slot * slot,
struct objfile * objfile_context,
const char * name,
domain_enum domain )
static

◆ symbol_cache_stats()

static void symbol_cache_stats ( struct symbol_cache * cache)
static

◆ symbol_find_demangled_name()

gdb::unique_xmalloc_ptr< char > symbol_find_demangled_name ( struct general_symbol_info * gsymbol,
const char * mangled )

◆ symbol_impls()

gdb::array_view< const struct symbol_impl > symbol_impls ( symbol_impl )

◆ symbol_is_function_or_method() [1/2]

bool symbol_is_function_or_method ( minimal_symbol * msymbol)

◆ symbol_is_function_or_method() [2/2]

bool symbol_is_function_or_method ( symbol * sym)

Definition at line 5638 of file symtab.c.

References type::code(), and symbol::type().

Referenced by completion_skip_symbol().

◆ symbol_matches_domain()

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

◆ symbol_matches_search_name()

bool symbol_matches_search_name ( const struct general_symbol_info * gsymbol,
const lookup_name_info & name )

◆ symbol_to_info_string()

std::string symbol_to_info_string ( struct symbol * sym,
int block,
enum search_domain kind )

◆ symtab_all_objfiles_removed()

static void symtab_all_objfiles_removed ( program_space * pspace)
static

Definition at line 1704 of file symtab.c.

References language_unknown, set_main_name(), and symbol_cache_flush().

◆ symtab_free_objfile_observer()

static void symtab_free_objfile_observer ( struct objfile * objfile)
static

Definition at line 1715 of file symtab.c.

References objfile::pspace, and symbol_cache_flush().

◆ symtab_new_objfile_observer()

static void symtab_new_objfile_observer ( struct objfile * objfile)
static

Definition at line 1696 of file symtab.c.

References objfile::pspace, and symbol_cache_flush().

◆ symtab_symbol_info()

static void symtab_symbol_info ( bool quiet,
bool exclude_minsyms,
const char * regexp,
enum search_domain kind,
const char * t_regexp,
int from_tty )
static

◆ treg_matches_sym_type_name()

bool treg_matches_sym_type_name ( const compiled_regex & treg,
const struct symbol * sym )

Variable Documentation

◆ basenames_may_differ

bool basenames_may_differ = false

◆ ignore_prologue_end_flag

bool ignore_prologue_end_flag = false
static

Definition at line 290 of file symtab.c.

Referenced by skip_prologue_sal().

◆ info_module_cmdlist

struct cmd_list_element* info_module_cmdlist = NULL
static

Definition at line 6553 of file symtab.c.

◆ info_modules_var_func_options_defs

const gdb::option::option_def info_modules_var_func_options_defs[]
static

◆ info_sources_option_defs

const gdb::option::option_def info_sources_option_defs[]
static
Initial value:
= {
"dirname",
[] (filename_partial_match_opts *opts) { return &opts->dirname; },
N_("Show only the files having a dirname matching REGEXP."),
},
"basename",
[] (filename_partial_match_opts *opts) { return &opts->basename; },
N_("Show only the files having a basename matching REGEXP."),
},
}

Definition at line 4404 of file symtab.c.

Referenced by make_info_sources_options_def_group().

◆ info_types_options_defs

const gdb::option::option_def info_types_options_defs[]
static
Initial value:
= {
"q",
[] (info_types_options *opt) { return &opt->quiet; },
nullptr,
nullptr
}
}

Definition at line 5260 of file symtab.c.

Referenced by make_info_types_options_def_group().

◆ info_vars_funcs_options_defs

const gdb::option::option_def info_vars_funcs_options_defs[]
static
Initial value:
= {
"q",
[] (info_vars_funcs_options *opt) { return &opt->quiet; },
nullptr,
nullptr
},
"n",
[] (info_vars_funcs_options *opt) { return &opt->exclude_minsyms; },
nullptr,
nullptr
},
"t",
[] (info_vars_funcs_options *opt) { return &opt->type_regexp; },
nullptr,
nullptr
}
}

Definition at line 5165 of file symtab.c.

Referenced by make_info_vars_funcs_options_def_group().

◆ main_progspace_key

const registry<program_space>::key<main_info> main_progspace_key
static

Definition at line 121 of file symtab.c.

Referenced by get_main_info().

◆ multiple_symbols_all

const char multiple_symbols_all[] = "all"

◆ multiple_symbols_ask

const char multiple_symbols_ask[] = "ask"

Definition at line 276 of file symtab.c.

Referenced by decode_line_full().

◆ multiple_symbols_cancel

const char multiple_symbols_cancel[] = "cancel"

Definition at line 278 of file symtab.c.

Referenced by decode_line_2(), decode_line_full(), and user_select_syms().

◆ multiple_symbols_mode

const char* multiple_symbols_mode = multiple_symbols_all
static

Definition at line 286 of file symtab.c.

Referenced by multiple_symbols_select_mode().

◆ multiple_symbols_modes

const char* const multiple_symbols_modes[]
static
Initial value:
=
{
NULL
}
const char multiple_symbols_all[]
Definition symtab.c:277
const char multiple_symbols_ask[]
Definition symtab.c:276
const char multiple_symbols_cancel[]
Definition symtab.c:278

Definition at line 279 of file symtab.c.

◆ new_symbol_cache_size

unsigned int new_symbol_cache_size = DEFAULT_SYMBOL_CACHE_SIZE
static

Definition at line 260 of file symtab.c.

Referenced by set_symbol_cache_size_handler().

◆ next_aclass_value

int next_aclass_value = LOC_FINAL_VALUE
static

◆ symbol_cache_key

const registry<program_space>::key<symbol_cache> symbol_cache_key
static

◆ symbol_cache_size

unsigned int symbol_cache_size = DEFAULT_SYMBOL_CACHE_SIZE
static

Definition at line 265 of file symtab.c.

Referenced by get_symbol_cache(), set_symbol_cache_size_handler(), and symbol_cache_flush().

◆ symbol_impl

struct symbol_impl symbol_impl[MAX_SYMBOL_IMPLS]
static

Definition at line 6385 of file symtab.c.

◆ symbol_lookup_debug

unsigned int symbol_lookup_debug = 0

◆ symtab_create_debug

unsigned int symtab_create_debug = 0

Definition at line 254 of file symtab.c.

Referenced by allocate_symtab(), and partial_symtab::partial_symtab().