GDB (xrefs)
|
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "gdbcore.h"
#include "filenames.h"
#include "objfiles.h"
#include "gdbsupport/gdb_obstack.h"
#include "buildsym-legacy.h"
#include "stabsread.h"
#include "complaints.h"
#include "demangle.h"
#include "gdb-demangle.h"
#include "block.h"
#include "dictionary.h"
#include "mdebugread.h"
#include <sys/stat.h>
#include "psymtab.h"
#include "source.h"
#include "bfd.h"
#include "coff/ecoff.h"
#include "libaout.h"
#include "aout/aout64.h"
#include "aout/stab_gnu.h"
#include "expression.h"
#include <algorithm>
Go to the source code of this file.
Classes | |
struct | md_symloc |
struct | pst_map |
struct | parse_stack |
struct | mdebug_pending |
Macros | |
#define | ECOFF_IN_ELF(bfd) |
#define | PST_PRIVATE(p) ((struct md_symloc *)(p)->read_symtab_private) |
#define | FDR_IDX(p) (PST_PRIVATE(p)->fdr_idx) |
#define | CUR_BFD(p) (PST_PRIVATE(p)->cur_bfd) |
#define | DEBUG_SWAP(p) (PST_PRIVATE(p)->debug_swap) |
#define | DEBUG_INFO(p) (PST_PRIVATE(p)->debug_info) |
#define | PENDING_LIST(p) (PST_PRIVATE(p)->pending_list) |
#define | SC_IS_TEXT(sc) |
#define | SC_IS_DATA(sc) |
#define | SC_IS_COMMON(sc) ((sc) == scCommon || (sc) == scSCommon) |
#define | SC_IS_BSS(sc) ((sc) == scBss) |
#define | SC_IS_SBSS(sc) ((sc) == scSBss) |
#define | SC_IS_UNDEF(sc) ((sc) == scUndefined || (sc) == scSUndefined) |
#define | MIN_GLEVEL GLEVEL_0 |
#define | compare_glevel(a, b) |
#define | PARSE_TQ(tq) |
Enumerations | |
enum | block_type { FUNCTION_BLOCK , NON_FUNCTION_BLOCK } |
Functions | |
static void | index_complaint (const char *arg1) |
static void | unknown_ext_complaint (const char *arg1) |
static void | basic_type_complaint (int arg1, const char *arg2) |
static void | bad_tag_guess_complaint (const char *arg1) |
static void | bad_rfd_entry_complaint (const char *arg1, int arg2, int arg3) |
static void | unexpected_type_code_complaint (const char *arg1) |
static int | upgrade_type (int, struct type **, int, union aux_ext *, int, const char *) |
static void | parse_partial_symbols (minimal_symbol_reader &, psymtab_storage *, struct objfile *) |
static int | has_opaque_xref (FDR *, SYMR *) |
static int | cross_ref (int, union aux_ext *, struct type **, enum type_code, const char **, int, const char *) |
static struct symbol * | new_symbol (const char *) |
static struct type * | new_type (char *) |
static struct block * | new_block (struct objfile *objfile, enum block_type, enum language) |
static struct compunit_symtab * | new_symtab (const char *, int, struct objfile *) |
static struct linetable * | new_linetable (int) |
static struct blockvector * | new_bvect (int) |
static struct type * | parse_type (int, union aux_ext *, unsigned int, int *, int, const char *) |
static struct symbol * | mylookup_symbol (const char *, const struct block *, domain_enum, enum address_class) |
static void | sort_blocks (struct symtab *) |
static legacy_psymtab * | new_psymtab (const char *, psymtab_storage *, struct objfile *) |
static void | mdebug_expand_psymtab (legacy_psymtab *pst, struct objfile *objfile) |
static void | add_block (struct block *, struct symtab *) |
static void | add_symbol (struct symbol *, struct symtab *, struct block *) |
static int | add_line (struct linetable *, int, CORE_ADDR, int) |
static struct linetable * | shrink_linetable (struct linetable *) |
static void | handle_psymbol_enumerators (struct objfile *, psymtab_storage *, partial_symtab *, FDR *, int, CORE_ADDR) |
static const char * | mdebug_next_symbol_text (struct objfile *) |
static void | mdebug_read_symtab (legacy_psymtab *self, struct objfile *objfile) |
static FDR * | get_rfd (int cf, int rf) |
static const char * | fdr_name (FDR *f) |
void | mdebug_build_psymtabs (minimal_symbol_reader &reader, struct objfile *objfile, const struct ecoff_debug_swap *swap, struct ecoff_debug_info *info) |
static void | push_parse_stack (void) |
static void | pop_parse_stack (void) |
static struct mdebug_pending * | is_pending_symbol (FDR *fh, char *sh) |
static void | add_pending (FDR *fh, char *sh, struct type *t) |
static void | reg_value_complaint (int regnum, int num_regs, const char *sym) |
static int | mdebug_reg_to_regnum (struct symbol *sym, struct gdbarch *gdbarch) |
static void | add_data_symbol (SYMR *sh, union aux_ext *ax, int bigend, struct symbol *s, int aclass_index, struct block *b, struct objfile *objfile, const char *name) |
static int | parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, const section_offsets §ion_offsets, struct objfile *objfile) |
static struct type * | basic_type (int bt, struct objfile *objfile) |
static void | parse_procedure (PDR *pr, struct compunit_symtab *search_symtab, legacy_psymtab *pst) |
static void | parse_external (EXTR *es, int bigend, const section_offsets §ion_offsets, struct objfile *objfile) |
static void | parse_lines (FDR *fh, PDR *pr, struct linetable *lt, int maxlines, CORE_ADDR lowest_pdr_addr) |
static void | function_outside_compilation_unit_complaint (const char *arg1) |
static void | record_minimal_symbol (minimal_symbol_reader &reader, const char *name, const unrelocated_addr address, enum minimal_symbol_type ms_type, int storage_class, struct objfile *objfile) |
static bool | block_is_less_than (const struct block *b1, const struct block *b2) |
void | elfmdebug_build_psymtabs (struct objfile *objfile, const struct ecoff_debug_swap *swap, asection *sec) |
void | _initialize_mdebugread () |
Variables | |
static struct objfile * | mdebugread_objfile |
static enum language | psymtab_language = language_unknown |
static bfd * | cur_bfd |
static const struct ecoff_debug_swap * | debug_swap |
static struct ecoff_debug_info * | debug_info |
static FDR * | cur_fdr |
static int | cur_fd |
static int | cur_sdx |
static int | max_gdbinfo |
static int | max_glevel |
static int | n_undef_symbols |
static int | n_undef_labels |
static int | n_undef_vars |
static int | n_undef_procs |
static char | stabs_symbol [] = STABS_SYMBOL |
static int | found_ecoff_debugging_info |
static struct parse_stack * | top_stack |
static struct mdebug_pending ** | pending_list |
static const struct symbol_register_ops | mdebug_register_funcs |
static int | mdebug_register_index |
static int | mdebug_regparm_index |
static const registry< objfile >::key< struct type *, gdb::noop_deleter< struct type * > > | basic_type_data |
#define compare_glevel | ( | a, | |
b ) |
Definition at line 170 of file mdebugread.c.
Referenced by mdebug_build_psymtabs().
#define CUR_BFD | ( | p | ) | (PST_PRIVATE(p)->cur_bfd) |
Definition at line 107 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), new_psymtab(), and parse_partial_symbols().
#define DEBUG_INFO | ( | p | ) | (PST_PRIVATE(p)->debug_info) |
Definition at line 109 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), new_psymtab(), and parse_partial_symbols().
#define DEBUG_SWAP | ( | p | ) | (PST_PRIVATE(p)->debug_swap) |
Definition at line 108 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), new_psymtab(), and parse_partial_symbols().
#define ECOFF_IN_ELF | ( | bfd | ) |
Definition at line 77 of file mdebugread.c.
Referenced by parse_partial_symbols().
#define FDR_IDX | ( | p | ) | (PST_PRIVATE(p)->fdr_idx) |
Definition at line 106 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), and parse_partial_symbols().
#define MIN_GLEVEL GLEVEL_0 |
Definition at line 169 of file mdebugread.c.
Referenced by parse_partial_symbols().
#define PARSE_TQ | ( | tq | ) |
#define PENDING_LIST | ( | p | ) | (PST_PRIVATE(p)->pending_list) |
Definition at line 110 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), new_psymtab(), and parse_partial_symbols().
#define PST_PRIVATE | ( | p | ) | ((struct md_symloc *)(p)->read_symtab_private) |
Definition at line 105 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), and parse_partial_symbols().
#define SC_IS_BSS | ( | sc | ) | ((sc) == scBss) |
Definition at line 122 of file mdebugread.c.
Referenced by parse_partial_symbols().
#define SC_IS_COMMON | ( | sc | ) | ((sc) == scCommon || (sc) == scSCommon) |
Definition at line 121 of file mdebugread.c.
Referenced by cross_ref(), parse_external(), parse_partial_symbols(), and parse_symbol().
#define SC_IS_DATA | ( | sc | ) |
Definition at line 116 of file mdebugread.c.
Referenced by parse_partial_symbols().
#define SC_IS_SBSS | ( | sc | ) | ((sc) == scSBss) |
Definition at line 123 of file mdebugread.c.
Referenced by parse_partial_symbols().
#define SC_IS_TEXT | ( | sc | ) |
Definition at line 112 of file mdebugread.c.
Referenced by parse_partial_symbols().
#define SC_IS_UNDEF | ( | sc | ) | ((sc) == scUndefined || (sc) == scSUndefined) |
Definition at line 124 of file mdebugread.c.
Referenced by add_data_symbol(), parse_external(), parse_partial_symbols(), and parse_symbol().
enum block_type |
Enumerator | |
---|---|
FUNCTION_BLOCK | |
NON_FUNCTION_BLOCK |
Definition at line 237 of file mdebugread.c.
void _initialize_mdebugread | ( | ) |
Definition at line 4795 of file mdebugread.c.
Referenced by initialize_all_files().
Definition at line 4498 of file mdebugread.c.
References compunit_symtab::blockvector(), symtab::compunit(), blockvector::num_blocks(), blockvector::set_block(), compunit_symtab::set_blockvector(), blockvector::set_num_blocks(), and xrealloc().
Referenced by parse_procedure(), and parse_symbol().
|
static |
Definition at line 562 of file mdebugread.c.
References add_symbol(), cur_fd, parse_stack::cur_st, name, parse_type, SC_IS_UNDEF, symbol::set_aclass_index(), symbol::set_domain(), symbol::set_type(), top_stack, and VAR_DOMAIN.
Referenced by parse_symbol().
|
static |
|
static |
Definition at line 499 of file mdebugread.c.
References debug_info, is_pending_symbol(), mdebugread_objfile, mdebug_pending::next, objfile::objfile_obstack, pending_list, mdebug_pending::s, and mdebug_pending::t.
Referenced by cross_ref(), and parse_symbol().
Definition at line 4489 of file mdebugread.c.
References mdict_add_symbol(), block::multidict(), and symbol::set_symtab().
Referenced by add_data_symbol(), dict_add_symbol(), parse_procedure(), and parse_symbol().
|
static |
|
static |
Definition at line 1366 of file mdebugread.c.
References objfile::arch(), basic_type(), basic_type_data, builtin_type(), builtin_type::builtin_void, gdbarch_double_bit(), gdbarch_double_format(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_int_bit(), registry< T >::get(), get_current_subfile(), init_complex_type(), init_float_type(), init_integer_type(), init_pointer_type(), type_allocator::new_type(), objfile::objfile_obstack, registry< T >::set(), and type::set_has_no_signedness().
Referenced by basic_type(), and parse_type().
|
static |
Definition at line 4554 of file mdebugread.c.
References block::end(), and block::start().
Referenced by sort_blocks().
|
static |
Definition at line 4265 of file mdebugread.c.
References add_pending(), bad_rfd_entry_complaint(), complaint, cross_ref(), cur_bfd, debug_info, debug_swap, get_current_subfile(), get_rfd(), is_pending_symbol(), mdebugread_objfile, type_allocator::new_type(), parse_type, SC_IS_COMMON, type::set_is_stub(), and mdebug_pending::t.
Referenced by cross_ref(), and parse_type().
void elfmdebug_build_psymtabs | ( | struct objfile * | objfile, |
const struct ecoff_debug_swap * | swap, | ||
asection * | sec ) |
Definition at line 4770 of file mdebugread.c.
References minimal_symbol_reader::install(), mdebug_build_psymtabs(), objfile::obfd, and objfile::objfile_obstack.
Referenced by elf_symfile_read().
|
static |
Definition at line 320 of file mdebugread.c.
References debug_info, and f().
Referenced by parse_external(), parse_lines(), and parse_partial_symbols().
|
static |
Definition at line 2222 of file mdebugread.c.
References complaint.
Referenced by parse_partial_symbols().
|
static |
Definition at line 298 of file mdebugread.c.
References cur_bfd, debug_info, debug_swap, and f().
Referenced by cross_ref(), parse_type(), and upgrade_type().
|
static |
Definition at line 3759 of file mdebugread.c.
References partial_symtab::add_psymbol(), cur_bfd, cur_fdr, cur_sdx, debug_info, debug_swap, LOC_CONST, name, pst_map::pst, psymtab_language, STATIC, stype, and VAR_DOMAIN.
Referenced by parse_partial_symbols().
|
static |
Definition at line 4233 of file mdebugread.c.
References debug_info, and debug_swap.
Referenced by parse_partial_symbols(), and parse_symbol().
|
static |
Definition at line 128 of file mdebugread.c.
References complaint.
Referenced by parse_partial_symbols(), and parse_type().
|
static |
Definition at line 484 of file mdebugread.c.
References debug_info, mdebug_pending::next, pending_list, and mdebug_pending::s.
Referenced by add_pending(), cross_ref(), and parse_symbol().
void mdebug_build_psymtabs | ( | minimal_symbol_reader & | reader, |
struct objfile * | objfile, | ||
const struct ecoff_debug_swap * | swap, | ||
struct ecoff_debug_info * | info ) |
Definition at line 334 of file mdebugread.c.
References compare_glevel, cur_bfd, debug_info, debug_swap, free_header_files(), gdb_printf(), psymbol_functions::get_partial_symtabs(), init_header_files(), max_gdbinfo, max_glevel, objfile::obfd, objfile::objfile_obstack, parse_partial_symbols(), objfile::qf, and stabsread_new_init().
Referenced by elfmdebug_build_psymtabs(), and mipscoff_symfile_read().
|
static |
Definition at line 3853 of file mdebugread.c.
References add_symbol_to_list(), objfile::arch(), parse_stack::blocktype, compunit_symtab::blockvector(), complaint, symtab::compunit(), standard_psymtab::compunit_symtab, CUR_BFD, cur_bfd, parse_stack::cur_block, cur_fd, cur_fdr, cur_sdx, parse_stack::cur_st, parse_stack::cur_type, DEBUG_INFO, debug_info, DEBUG_SWAP, debug_swap, partial_symtab::empty(), end_compunit_symtab(), end_stabs(), partial_symtab::expand_dependencies(), FDR_IDX, partial_symtab::filename, found_ecoff_debugging_info, gdb_printf(), gdbarch_addr_bits_remove(), get_current_subfile(), get_last_source_file(), get_local_symbols(), blockvector::global_block(), info_verbose, linetable::item, LABEL_DOMAIN, symtab::language(), symtab::linetable(), LOC_CONST, MDEBUG_EFI_SYMBOL_NAME, mdebugread_objfile, n_undef_labels, n_undef_procs, n_undef_symbols, n_undef_vars, name, new_symbol(), new_symtab(), linetable::nitems, parse_stack::numargs, objfile::objfile_obstack, parse_external(), parse_lines(), parse_procedure(), parse_symbol(), mdebug_extra_func_info::pdr, PENDING_LIST, pending_list, pop_parse_stack(), previous_stab_code, compunit_symtab::primary_filetab(), parse_stack::procadr, process_one_symbol(), processing_gcc_compilation, PST_PRIVATE, psymtab_language, push_parse_stack(), standard_psymtab::readin, record_line(), SECT_OFF_TEXT, objfile::section_offsets, symbol::set_aclass_index(), symbol::set_domain(), block::set_end(), symtab::set_language(), symtab::set_linetable(), block::set_start(), symbol::set_type(), symbol::set_value_bytes(), shrink_linetable(), size, sort_blocks(), stabs_symbol, blockvector::static_block(), symtab_to_filename_for_display(), partial_symtab::text_high(), partial_symtab::text_high_valid, partial_symtab::text_low(), partial_symtab::text_low_valid, top_stack, and xfree().
Referenced by new_psymtab(), and parse_partial_symbols().
|
static |
Definition at line 3829 of file mdebugread.c.
References cur_bfd, cur_fdr, cur_sdx, debug_info, and debug_swap.
Referenced by mdebug_read_symtab(), and parse_partial_symbols().
|
static |
Definition at line 282 of file mdebugread.c.
References legacy_psymtab::expand_psymtab(), mdebug_next_symbol_text(), next_symbol_text_func, and scan_file_globals().
Referenced by new_psymtab(), and parse_partial_symbols().
Definition at line 535 of file mdebugread.c.
References gdbarch_ecoff_reg_to_regnum(), gdbarch_num_cooked_regs(), gdbarch_sp_regnum(), general_symbol_info::print_name(), reg_value_complaint(), and symbol::value_longest().
|
static |
Definition at line 4464 of file mdebugread.c.
References symbol::domain(), mylookup_symbol(), name, and block::superblock().
Referenced by mylookup_symbol(), and parse_procedure().
|
static |
Definition at line 4725 of file mdebugread.c.
References FUNCTION_BLOCK, mdict_create_hashed_expandable(), mdict_create_linear_expandable(), objfile::objfile_obstack, and block::set_multidict().
Referenced by block_starting_point_at(), finalize_symtab(), new_symtab(), parse_procedure(), and parse_symbol().
|
static |
Definition at line 4707 of file mdebugread.c.
References blockvector::set_num_blocks(), and size.
Referenced by new_symtab().
|
static |
Definition at line 4677 of file mdebugread.c.
References linetable::item, linetable::nitems, size, and xmalloc().
Referenced by arrange_linetable(), and new_symtab().
|
static |
Definition at line 4649 of file mdebugread.c.
References CUR_BFD, cur_bfd, DEBUG_INFO, debug_info, DEBUG_SWAP, debug_swap, legacy_psymtab::legacy_expand_psymtab, legacy_psymtab::legacy_read_symtab, mdebug_expand_psymtab(), mdebug_read_symtab(), name, objfile::objfile_obstack, PENDING_LIST, pending_list, objfile::per_bfd, and legacy_psymtab::read_symtab_private.
Referenced by parse_partial_symbols().
|
static |
Definition at line 4741 of file mdebugread.c.
References general_symbol_info::compute_and_set_names(), mdebugread_objfile, name, objfile::objfile_obstack, objfile::per_bfd, psymtab_language, and general_symbol_info::set_language().
Referenced by mdebug_expand_psymtab(), parse_procedure(), and parse_symbol().
|
static |
Definition at line 4622 of file mdebugread.c.
References add_compunit_symtab_to_objfile(), allocate_compunit_symtab(), allocate_symtab(), blockvector::global_block(), GLOBAL_BLOCK, compunit_symtab::language(), name, new_block(), new_bvect(), new_linetable(), NON_FUNCTION_BLOCK, blockvector::set_block(), compunit_symtab::set_blockvector(), compunit_symtab::set_debugformat(), symtab::set_linetable(), block::set_superblock(), blockvector::static_block(), and STATIC_BLOCK.
Referenced by mdebug_expand_psymtab(), and select_source_symtab().
|
static |
Definition at line 4753 of file mdebugread.c.
References get_current_subfile(), INIT_CPLUS_SPECIFIC, mdebugread_objfile, name, type_allocator::new_type(), and type::set_name().
Referenced by ada_value_has_mutated(), constrained_packed_array_type(), copy_type(), copy_type_recursive(), gdbscm_value_cast(), gdbscm_value_dynamic_cast(), gdbscm_value_reinterpret_cast(), handle_automatic_hardware_breakpoints(), parse_symbol(), quirk_gcc_member_function_pointer(), read_tag_ptr_to_member_type(), rust_subscript(), template_to_static_fixed_type(), update_type_if_necessary(), value_of_root(), varobj_update(), and varobj_value_has_mutated().
|
static |
Definition at line 2066 of file mdebugread.c.
References cur_fd, cur_fdr, debug_info, fdr_name(), gdb_printf(), info_verbose, n_undef_labels, n_undef_procs, n_undef_symbols, n_undef_vars, parse_symbol(), SC_IS_COMMON, and SC_IS_UNDEF.
Referenced by mdebug_expand_psymtab().
|
static |
Definition at line 2157 of file mdebugread.c.
References add_line(), complaint, debug_info, fdr_name(), and lt.
Referenced by mdebug_expand_psymtab().
|
static |
Definition at line 2297 of file mdebugread.c.
References partial_symtab::add_psymbol(), psymtab_storage::allocate_dependencies(), objfile::arch(), complaint, CUR_BFD, cur_bfd, cur_fdr, cur_sdx, dbx_end_psymtab(), DEBUG_INFO, debug_info, DEBUG_SWAP, debug_swap, deduce_language_from_filename(), partial_symtab::dependencies, psymtab_storage::discard_psymtab(), ECOFF_IN_ELF, partial_symtab::empty(), FDR_IDX, fdr_name(), partial_symtab::filename, function_outside_compilation_unit_complaint(), gdbarch_sofun_address_maybe_missing(), get_section_index(), GLOBAL, pst_map::globals_offset, handle_psymbol_enumerators(), has_opaque_xref(), index_complaint(), language_c, language_cplus, language_unknown, legacy_psymtab::legacy_expand_psymtab, legacy_psymtab::legacy_read_symtab, LOC_BLOCK, LOC_CONST, LOC_LABEL, LOC_STATIC, LOC_TYPEDEF, max_gdbinfo, max_glevel, mdebug_expand_psymtab(), mdebug_next_symbol_text(), mdebug_read_symtab(), MIN_GLEVEL, mst_abs, mst_bss, mst_data, mst_file_bss, mst_file_data, mst_file_text, mst_text, mst_unknown, pst_map::n_globals, name, new_psymtab(), partial_symtab::next, next_symbol_text, next_symbol_text_func, partial_symtab::number_of_dependencies, objfile::objfile_obstack, PENDING_LIST, pending_list, objfile::per_bfd, processing_gcc_compilation, pst_map::pst, PST_PRIVATE, psymtab_language, psymtab_storage::psymtabs, legacy_psymtab::read_symtab_private, record_minimal_symbol(), minimal_symbol_reader::record_with_info(), SC_IS_BSS, SC_IS_COMMON, SC_IS_DATA, SC_IS_SBSS, SC_IS_TEXT, SC_IS_UNDEF, objfile::sect_index_bss, objfile::sect_index_data, objfile::sect_index_text, SECT_OFF_BSS, SECT_OFF_DATA, SECT_OFF_TEXT, set_last_source_file(), partial_symtab::set_text_high(), partial_symtab::set_text_low(), stabs_symbol, STATIC, STRUCT_DOMAIN, symnum, partial_symtab::text_low_valid, unknown_ext_complaint(), partial_symtab::unrelocated_text_high(), partial_symtab::unrelocated_text_low(), VAR_DOMAIN, xmalloc(), and xrealloc().
Referenced by mdebug_build_psymtabs().
|
static |
Definition at line 1916 of file mdebugread.c.
References add_block(), add_symbol(), compunit_symtab::blockvector(), builtin_type::builtin_int, type::code(), complaint, cur_bfd, parse_stack::cur_block, cur_fdr, parse_stack::cur_st, debug_info, debug_swap, found_ecoff_debugging_info, LABEL_DOMAIN, LOC_BLOCK, LOC_CONST, lookup_function_type(), lookup_symbol(), MDEBUG_EFI_SYMBOL_NAME, mdebugread_objfile, mylookup_symbol(), new_block(), new_symbol(), builtin_type::nodebug_text_symbol, mdebug_extra_func_info::pdr, processing_gcc_compilation, symbol::set_domain(), symbol::set_type(), block::start(), blockvector::static_block(), type::target_type(), top_stack, symbol::type(), symbol::value_block(), symbol::value_bytes(), and VAR_DOMAIN.
Referenced by mdebug_expand_psymtab().
|
static |
Definition at line 580 of file mdebugread.c.
References add_block(), add_data_symbol(), add_pending(), add_symbol(), type::alloc_fields(), objfile::arch(), field::bitsize(), blockvector::blocks(), parse_stack::blocktype, compunit_symtab::blockvector(), builtin_type::builtin_int, builtin_type(), type::code(), complaint, symtab::compunit(), cur_bfd, parse_stack::cur_block, cur_fd, cur_fdr, parse_stack::cur_field, parse_stack::cur_st, parse_stack::cur_type, debug_info, debug_swap, block::end(), f(), type::field(), type::fields(), found_ecoff_debugging_info, FUNCTION_BLOCK, gdbarch_int_bit(), blockvector::global_block(), global_sym_chain, has_opaque_xref(), hashname(), is_cplus_marker(), is_pending_symbol(), LABEL_DOMAIN, general_symbol_info::language(), language_cplus, type::length(), general_symbol_info::linkage_name(), LOC_ARG, LOC_BLOCK, LOC_CONST, LOC_LABEL, LOC_LOCAL, LOC_REF_ARG, LOC_STATIC, LOC_TYPEDEF, lookup_function_type(), make_pointer_type(), max_gdbinfo, MDEBUG_EFI_SYMBOL_NAME, mdebug_register_index, mdebug_regparm_index, mdebugread_objfile, name, type::name(), new_block(), new_symbol(), new_type(), NON_FUNCTION_BLOCK, type::num_fields(), parse_stack::numargs, mdebug_extra_func_info::numargs, objfile::objfile_obstack, parse_type, mdebug_extra_func_info::pdr, pop_parse_stack(), parse_stack::procadr, psymtab_language, push_parse_stack(), SC_IS_COMMON, SC_IS_UNDEF, SECT_OFF_BSS, SECT_OFF_DATA, SECT_OFF_TEXT, symbol::set_aclass_index(), type::set_code(), symbol::set_domain(), block::set_end(), block::set_function(), symbol::set_is_argument(), field::set_is_artificial(), type::set_is_prototyped(), type::set_is_stub(), type::set_is_unsigned(), type::set_length(), general_symbol_info::set_linkage_name(), type::set_name(), general_symbol_info::set_section_index(), block::set_start(), block::set_superblock(), field::set_type(), symbol::set_type(), symbol::set_value_address(), symbol::set_value_block(), symbol::set_value_bytes(), symbol::set_value_chain(), symbol::set_value_longest(), block::start(), blockvector::static_block(), STRUCT_DOMAIN, mdebug_pending::t, top_stack, symbol::type(), TYPE_CODE_UNDEF, symbol::value_longest(), and VAR_DOMAIN.
Referenced by mdebug_expand_psymtab(), and parse_external().
|
static |
Definition at line 1516 of file mdebugread.c.
References bad_tag_guess_complaint(), basic_type(), basic_type_complaint(), type::bounds(), type::code(), complaint, cross_ref(), debug_info, debug_swap, get_current_subfile(), get_rfd(), range_bounds::high, index_complaint(), range_bounds::low, mdebugread_objfile, name, type::name(), type_allocator::new_type(), objfile::objfile_obstack, PARSE_TQ, parse_type, type::set_bounds(), type::set_code(), dynamic_prop::set_const_val(), type::set_name(), type::set_num_fields(), type::target_type(), TYPE_CODE_UNDEF, TYPE_ZALLOC, and unexpected_type_code_complaint().
|
static |
Definition at line 452 of file mdebugread.c.
References parse_stack::next, and top_stack.
Referenced by mdebug_expand_psymtab(), and parse_symbol().
|
static |
Definition at line 427 of file mdebugread.c.
References parse_stack::next, parse_stack::prev, and top_stack.
Referenced by mdebug_expand_psymtab(), and parse_symbol().
|
static |
Definition at line 2233 of file mdebugread.c.
References get_section_index(), name, minimal_symbol_reader::record_with_info(), SECT_OFF_BSS, SECT_OFF_DATA, and SECT_OFF_TEXT.
Referenced by parse_partial_symbols().
|
static |
Definition at line 519 of file mdebugread.c.
References complaint, and regnum.
Referenced by mdebug_reg_to_regnum().
Definition at line 4696 of file mdebugread.c.
References lt, and xrealloc().
Referenced by mdebug_expand_psymtab().
|
static |
Definition at line 4570 of file mdebugread.c.
References blockvector::block(), block_is_less_than(), blockvector::blocks(), compunit_symtab::blockvector(), symtab::compunit(), block::end(), FIRST_LOCAL_BLOCK, blockvector::global_block(), blockvector::num_blocks(), block::set_end(), block::set_start(), block::start(), and blockvector::static_block().
Referenced by mdebug_expand_psymtab().
|
static |
|
static |
Definition at line 134 of file mdebugread.c.
References complaint.
Referenced by parse_partial_symbols().
|
static |
Definition at line 1799 of file mdebugread.c.
References builtin_type::builtin_int, builtin_type(), type::code(), complaint, create_array_type(), create_static_range_type(), debug_info, debug_swap, get_rfd(), lookup_function_type(), lookup_pointer_type(), mdebugread_objfile, parse_type, range, and type::set_target_is_stub().
|
static |
Definition at line 1363 of file mdebugread.c.
Referenced by basic_type().
|
static |
Definition at line 182 of file mdebugread.c.
Referenced by cross_ref(), get_rfd(), handle_psymbol_enumerators(), mdebug_build_psymtabs(), mdebug_expand_psymtab(), mdebug_next_symbol_text(), new_psymtab(), parse_partial_symbols(), parse_procedure(), and parse_symbol().
|
static |
Definition at line 195 of file mdebugread.c.
Referenced by add_data_symbol(), mdebug_expand_psymtab(), parse_external(), and parse_symbol().
|
static |
Definition at line 194 of file mdebugread.c.
Referenced by handle_psymbol_enumerators(), mdebug_expand_psymtab(), mdebug_next_symbol_text(), parse_external(), parse_partial_symbols(), parse_procedure(), and parse_symbol().
|
static |
Definition at line 199 of file mdebugread.c.
Referenced by handle_psymbol_enumerators(), mdebug_expand_psymtab(), mdebug_next_symbol_text(), and parse_partial_symbols().
|
static |
Definition at line 190 of file mdebugread.c.
Referenced by add_pending(), cross_ref(), fdr_name(), get_rfd(), handle_psymbol_enumerators(), has_opaque_xref(), is_pending_symbol(), mdebug_build_psymtabs(), mdebug_expand_psymtab(), mdebug_next_symbol_text(), mipscoff_symfile_read(), new_psymtab(), parse_external(), parse_lines(), parse_partial_symbols(), parse_procedure(), parse_symbol(), parse_type(), and upgrade_type().
|
static |
Definition at line 186 of file mdebugread.c.
Referenced by cross_ref(), get_rfd(), handle_psymbol_enumerators(), has_opaque_xref(), mdebug_build_psymtabs(), mdebug_expand_psymtab(), mdebug_next_symbol_text(), mipscoff_symfile_read(), new_psymtab(), parse_partial_symbols(), parse_procedure(), parse_symbol(), parse_type(), and upgrade_type().
|
static |
Definition at line 217 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), parse_procedure(), and parse_symbol().
|
static |
Definition at line 204 of file mdebugread.c.
Referenced by mdebug_build_psymtabs(), parse_partial_symbols(), and parse_symbol().
|
static |
Definition at line 205 of file mdebugread.c.
Referenced by mdebug_build_psymtabs(), and parse_partial_symbols().
|
static |
Definition at line 550 of file mdebugread.c.
|
static |
Definition at line 556 of file mdebugread.c.
Referenced by parse_symbol().
|
static |
Definition at line 557 of file mdebugread.c.
Referenced by parse_symbol().
|
static |
Definition at line 82 of file mdebugread.c.
Referenced by add_pending(), cross_ref(), mdebug_expand_psymtab(), new_symbol(), new_type(), parse_procedure(), parse_symbol(), parse_type(), and upgrade_type().
|
static |
Definition at line 209 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), and parse_external().
|
static |
Definition at line 209 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), and parse_external().
|
static |
Definition at line 209 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), and parse_external().
|
static |
Definition at line 209 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), and parse_external().
|
static |
Definition at line 479 of file mdebugread.c.
Referenced by add_pending(), is_pending_symbol(), mdebug_expand_psymtab(), new_psymtab(), parse_partial_symbols(), and set_missing_symtab().
|
static |
Definition at line 178 of file mdebugread.c.
Referenced by handle_psymbol_enumerators(), mdebug_expand_psymtab(), new_symbol(), parse_partial_symbols(), and parse_symbol().
|
static |
Definition at line 213 of file mdebugread.c.
Referenced by mdebug_expand_psymtab(), and parse_partial_symbols().
|
static |
Referenced by add_data_symbol(), mdebug_expand_psymtab(), parse_procedure(), parse_symbol(), pop_parse_stack(), and push_parse_stack().