GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | pending_stabs |
struct | header_file |
Macros | |
#define | HASHSIZE |
#define | next_symbol_text(objfile) (*next_symbol_text_func)(objfile) |
#define | HEADER_FILES(OBJFILE) (DBX_SYMFILE_INFO (OBJFILE)->header_files) |
#define | N_HEADER_FILES(OBJFILE) (DBX_SYMFILE_INFO (OBJFILE)->n_header_files) |
#define | N_ALLOCATED_HEADER_FILES(OBJFILE) (DBX_SYMFILE_INFO (OBJFILE)->n_allocated_header_files) |
Functions | |
int | hashname (const char *name) |
void | common_block_start (const char *, struct objfile *) |
void | common_block_end (struct objfile *) |
void | cleanup_undefined_stabs_types (struct objfile *) |
long | read_number (char **, int) |
struct symbol * | define_symbol (CORE_ADDR, const char *, int, int, struct objfile *) |
void | stabsread_init (void) |
void | stabsread_new_init (void) |
void | start_stabs (void) |
void | end_stabs (void) |
void | finish_global_stabs (struct objfile *objfile) |
legacy_psymtab * | dbx_end_psymtab (struct objfile *objfile, psymtab_storage *partial_symtabs, legacy_psymtab *pst, const char **include_list, int num_includes, int capping_symbol_offset, unrelocated_addr capping_text, legacy_psymtab **dependency_list, int number_dependencies, int textlow_not_set) |
void | process_one_symbol (int, int, CORE_ADDR, const char *, const section_offsets &, struct objfile *, enum language) |
void | elfstab_build_psymtabs (struct objfile *objfile, asection *stabsect, file_ptr stabstroffset, unsigned int stabstrsize) |
void | coffstab_build_psymtabs (struct objfile *objfile, CORE_ADDR textaddr, unsigned int textsize, const std::vector< asection * > &stabs, file_ptr stabstroffset, unsigned int stabstrsize) |
void | stabsect_build_psymtabs (struct objfile *objfile, char *stab_name, char *stabstr_name, char *text_name) |
int | symbol_reference_defined (const char **) |
void | ref_add (int, struct symbol *, const char *, CORE_ADDR) |
struct symbol * | ref_search (int) |
void | free_header_files (void) |
void | init_header_files (void) |
void | scan_file_globals (struct objfile *objfile) |
Variables | |
unsigned int | symnum |
const char *(* | next_symbol_text_func )(struct objfile *) |
unsigned char | processing_gcc_compilation |
int | within_function |
struct symbol * | global_sym_chain [HASHSIZE] |
struct pending_stabs * | global_stabs |
int | previous_stab_code |
int * | this_object_header_files |
int | n_this_object_header_files |
int | n_allocated_this_object_header_files |
#define HASHSIZE |
Definition at line 29 of file stabsread.h.
Referenced by hashname(), and scan_file_globals().
#define HEADER_FILES | ( | OBJFILE | ) | (DBX_SYMFILE_INFO (OBJFILE)->header_files) |
Definition at line 128 of file stabsread.h.
Referenced by add_new_header_file(), add_old_header_file(), and dbx_lookup_type().
#define N_ALLOCATED_HEADER_FILES | ( | OBJFILE | ) | (DBX_SYMFILE_INFO (OBJFILE)->n_allocated_header_files) |
Definition at line 134 of file stabsread.h.
Referenced by add_new_header_file().
#define N_HEADER_FILES | ( | OBJFILE | ) | (DBX_SYMFILE_INFO (OBJFILE)->n_header_files) |
Definition at line 131 of file stabsread.h.
Referenced by add_new_header_file(), add_old_header_file(), and dbx_lookup_type().
#define next_symbol_text | ( | objfile | ) | (*next_symbol_text_func)(objfile) |
Definition at line 39 of file stabsread.h.
Referenced by error_type(), parse_partial_symbols(), read_dbx_symtab(), and scan_xcoff_symtab().
|
extern |
Definition at line 4519 of file stabsread.c.
References cleanup_undefined_types_1(), and cleanup_undefined_types_noname().
Referenced by buildsym_compunit::end_compunit_symtab_get_static_block().
|
extern |
Definition at line 2989 of file dbxread.c.
References COFF_STABS_SYMBOL_SIZE, dbx_objfile_data_key, DBX_STRINGTAB, DBX_STRINGTAB_SIZE, DBX_SYMBOL_SIZE, DBX_SYMCOUNT, dbx_symfile_read(), DBX_SYMTAB_OFFSET, DBX_TEXT_ADDR, DBX_TEXT_SIZE, free_header_files(), init_header_files(), name, objfile::obfd, objfile::objfile_obstack, OBJSTAT, processing_acc_compilation, sect_idx, SEEK_SET, stabsread_new_init(), symbuf_left, symbuf_read, and symbuf_sections.
Referenced by coff_symfile_read().
|
extern |
Definition at line 4259 of file stabsread.c.
References add_symbol_to_list(), common_block, common_block_i, common_block_name, complaint, get_local_symbols(), global_sym_chain, hashname(), general_symbol_info::linkage_name(), LOC_BLOCK, pending::next, objfile::objfile_obstack, symbol::set_aclass_index(), general_symbol_info::set_linkage_name(), symbol::set_type(), and symbol::set_value_chain().
Referenced by process_one_symbol(), and process_xcoff_symbol().
|
extern |
Definition at line 4245 of file stabsread.c.
References common_block_i, common_block_name, complaint, get_local_symbols(), name, and objfile::objfile_obstack.
Referenced by process_one_symbol(), and process_xcoff_symbol().
|
extern |
Definition at line 2005 of file dbxread.c.
References psymtab_storage::allocate_dependencies(), objfile::arch(), partial_symtab::dependencies, psymtab_storage::discard_psymtab(), partial_symtab::empty(), partial_symtab::end(), partial_symtab::filename, gdbarch_sofun_address_maybe_missing(), has_line_numbers, last_function_name, LDSYMLEN, LDSYMOFF, legacy_psymtab::legacy_expand_psymtab, legacy_psymtab::legacy_read_symtab, lookup_minimal_symbol(), bound_minimal_symbol::minsym, partial_symtab::number_of_dependencies, objfile::objfile_obstack, objfile::per_bfd, psymtab_storage::range(), legacy_psymtab::read_symtab_private, partial_symtab::set_text_high(), partial_symtab::set_text_low(), minimal_symbol::size(), partial_symtab::text_high_valid, minimal_symbol::unrelocated_address(), partial_symtab::unrelocated_text_high(), and partial_symtab::unrelocated_text_low().
Referenced by parse_partial_symbols(), and read_dbx_symtab().
|
extern |
Definition at line 650 of file stabsread.c.
References symbol::aclass(), add_symbol_to_list(), type::alloc_fields(), objfile::arch(), builtin_type::builtin_double, builtin_type::builtin_int, builtin_type(), c_canonicalize_name(), type::code(), complaint, general_symbol_info::compute_and_set_names(), cp_canonicalize_string(), cp_scan_for_anonymous_namespaces(), create_array_type(), create_static_range_type(), current_symbol, error_type(), type::field(), find_name_end(), gdbarch_believe_pcc_promotion(), gdbarch_byte_order(), gdbarch_int_bit(), gdbarch_stabs_argument_has_addr(), get_buildsym_compunit(), get_current_subfile(), get_file_symbols(), get_global_symbols(), get_local_symbols(), global_sym_chain, hashname(), symbol::is_argument(), is_cplus_marker(), type::is_unsigned(), subfile::language, general_symbol_info::language(), language_ada, language_c, language_cplus, language_pascal, type::length(), general_symbol_info::linkage_name(), LOC_ARG, LOC_BLOCK, LOC_CONST, LOC_CONST_BYTES, LOC_LABEL, LOC_LOCAL, LOC_REF_ARG, LOC_REGISTER, LOC_REGPARM_ADDR, LOC_STATIC, LOC_TYPEDEF, lookup_function_type(), lookup_pointer_type(), name, type::name(), pending::nsyms, objfile::objfile_obstack, objfile::per_bfd, processing_gcc_compilation, read_type(), symbol::set_aclass_index(), symbol::set_domain(), symbol::set_is_argument(), field::set_is_artificial(), type::set_is_prototyped(), general_symbol_info::set_language(), symbol::set_line(), general_symbol_info::set_linkage_name(), field::set_name(), type::set_name(), type::set_num_fields(), field::set_type(), symbol::set_type(), symbol::set_value_address(), symbol::set_value_bytes(), symbol::set_value_chain(), symbol::set_value_longest(), stab_register_index, stab_regparm_index, STRUCT_DOMAIN, pending::symbol, target_float_from_string(), symbol::type(), TYPE_BASECLASS, TYPE_BASECLASS_NAME, TYPE_N_BASECLASSES, symbol::value_longest(), VAR_DOMAIN, vtbl_ptr_name, and within_function.
Referenced by process_one_symbol(), process_xcoff_symbol(), and read_xcoff_symtab().
|
extern |
Definition at line 3078 of file dbxread.c.
References dbx_objfile_data_key, DBX_STAB_SECTION, DBX_STRINGTAB, DBX_STRINGTAB_SIZE, DBX_SYMBOL_SIZE, DBX_SYMCOUNT, dbx_symfile_read(), DBX_SYMTAB_OFFSET, ELF_STABS_SYMBOL_SIZE, find_text_range(), free_header_files(), init_header_files(), name, objfile::obfd, objfile::objfile_obstack, OBJSTAT, processing_acc_compilation, SEEK_SET, stabs_data, stabsread_new_init(), symbuf_left, symbuf_read, and symfile_relocate_debug_section().
Referenced by elf_symfile_read().
|
extern |
Definition at line 4696 of file stabsread.c.
References previous_stab_code, type_vector, type_vector_length, and xfree().
Referenced by mdebug_expand_psymtab(), process_one_symbol(), read_ofile_symtab(), and read_xcoff_symtab().
|
extern |
Definition at line 4708 of file stabsread.c.
References get_global_symbols(), global_stabs, patch_block_stabs(), and xfree().
Referenced by buildsym_compunit::end_compunit_symtab_get_static_block().
|
extern |
Definition at line 303 of file dbxread.c.
References n_allocated_this_object_header_files, this_object_header_files, and xfree().
Referenced by coffstab_build_psymtabs(), dbx_symfile_finish(), elfstab_build_psymtabs(), mdebug_build_psymtabs(), and stabsect_build_psymtabs().
|
extern |
Definition at line 4748 of file stabsread.c.
References HASHSIZE, and name.
Referenced by common_block_end(), define_symbol(), parse_symbol(), patch_opaque_types(), process_coff_symbol(), and scan_file_globals().
|
extern |
Definition at line 316 of file dbxread.c.
References n_allocated_this_object_header_files, and this_object_header_files.
Referenced by coffstab_build_psymtabs(), dbx_new_init(), elfstab_build_psymtabs(), mdebug_build_psymtabs(), and stabsect_build_psymtabs().
|
extern |
|
extern |
|
extern |
Definition at line 541 of file stabsread.c.
References MAX_CHUNK_REFS, ref_chunk, REF_CHUNK_SIZE, ref_count, REF_MAP_SIZE, ref_map::stabs, ref_map::sym, value, ref_map::value, and xrealloc().
Referenced by process_one_symbol().
|
extern |
Definition at line 565 of file stabsread.c.
References ref_count, and ref_map::sym.
Referenced by process_one_symbol().
|
extern |
Definition at line 4528 of file stabsread.c.
References symbol::aclass(), complaint, current_program_space, fix_common_block(), global_sym_chain, hashname(), HASHSIZE, general_symbol_info::linkage_name(), LOC_BLOCK, LOC_STATIC, LOC_UNRESOLVED, mst_file_bss, mst_file_data, mst_file_text, objfile::msymbols(), objfile::objfile(), objfile_name(), general_symbol_info::print_name(), QUIT, symbol::set_aclass_index(), general_symbol_info::set_section_index(), symbol::set_value_address(), symbol::set_value_chain(), program_space::symfile_object_file, symbol::value_address(), and symbol::value_chain().
Referenced by dbx_read_symtab(), mdebug_read_symtab(), and xcoff_read_symtab().
|
extern |
Definition at line 3159 of file dbxread.c.
References dbx_objfile_data_key, DBX_STRINGTAB, DBX_STRINGTAB_SIZE, DBX_SYMBOL_SIZE, DBX_SYMCOUNT, dbx_symfile_read(), DBX_SYMTAB_OFFSET, DBX_TEXT_ADDR, DBX_TEXT_SIZE, free_header_files(), init_header_files(), name, objfile::obfd, objfile::objfile_obstack, OBJSTAT, processing_acc_compilation, and stabsread_new_init().
|
extern |
Definition at line 4661 of file stabsread.c.
Referenced by dbx_expand_psymtab(), and xcoff_expand_psymtab().
|
extern |
Definition at line 4670 of file stabsread.c.
References global_sym_chain.
Referenced by coffstab_build_psymtabs(), dbx_new_init(), elfstab_build_psymtabs(), mdebug_build_psymtabs(), mipscoff_new_init(), stabsect_build_psymtabs(), and xcoff_new_init().
|
extern |
Definition at line 4680 of file stabsread.c.
References common_block_name, global_stabs, n_this_object_header_files, type_vector, type_vector_length, and within_function.
Referenced by process_one_symbol(), and read_xcoff_symtab().
|
extern |
Definition at line 601 of file stabsread.c.
References process_reference().
Referenced by process_one_symbol().
|
extern |
Definition at line 58 of file stabsread.c.
Referenced by finish_global_stabs(), process_xcoff_symbol(), and start_stabs().
Definition at line 57 of file stabsread.c.
Referenced by common_block_end(), define_symbol(), parse_symbol(), scan_file_globals(), and stabsread_new_init().
|
extern |
Definition at line 62 of file stabsread.c.
Referenced by add_this_object_header_file(), free_header_files(), and init_header_files().
|
extern |
Definition at line 61 of file stabsread.c.
Referenced by add_this_object_header_file(), dbx_lookup_type(), and start_stabs().
Definition at line 54 of file stabsread.c.
Referenced by dbx_read_symtab(), mdebug_read_symtab(), parse_partial_symbols(), read_dbx_symtab(), scan_xcoff_symtab(), and xcoff_read_symtab().
|
extern |
Definition at line 59 of file stabsread.c.
Referenced by end_stabs(), mdebug_expand_psymtab(), and process_one_symbol().
|
extern |
Definition at line 55 of file stabsread.c.
Referenced by _initialize_go32_nat(), define_symbol(), mdebug_expand_psymtab(), parse_partial_symbols(), parse_procedure(), process_one_symbol(), and read_ofile_symtab().
|
extern |
Definition at line 53 of file stabsread.c.
Referenced by add_old_header_file(), coff_read_enum_type(), coff_read_struct_type(), coff_symtab_read(), dbx_lookup_type(), dbx_next_symbol_text(), find_corresponding_bincl_psymtab(), parse_partial_symbols(), process_one_symbol(), read_cpp_abbrev(), read_dbx_symtab(), read_ofile_symtab(), read_one_sym(), read_type(), read_xcoff_symtab(), set_namestring(), and xcoff_next_symbol_text().
|
extern |
Definition at line 60 of file stabsread.c.
Referenced by add_this_object_header_file(), dbx_lookup_type(), free_header_files(), and init_header_files().
|
extern |
Definition at line 56 of file stabsread.c.
Referenced by coff_read_enum_type(), coff_start_compunit_symtab(), coff_symtab_read(), define_symbol(), process_coff_symbol(), process_one_symbol(), process_xcoff_symbol(), read_enum_type(), read_xcoff_symtab(), and start_stabs().