| /NextBSD/contrib/gdb/gdb/ |
| HD | objfiles.c | 51 static void objfile_alloc_data (struct objfile *objfile); 52 static void objfile_free_data (struct objfile *objfile); 57 struct objfile *object_files; /* Linked list of all objfiles */ 58 struct objfile *current_objfile; /* For symbol file being read in */ 59 struct objfile *symfile_objfile; /* Main symbol table loaded from */ 60 struct objfile *rt_common_objfile; /* For runtime common symbols */ 79 struct objfile *objfile = (struct objfile *) objfile_p_char; in add_to_objfile_sections() local 91 section.objfile = objfile; in add_to_objfile_sections() 96 obstack_grow (&objfile->objfile_obstack, (char *) §ion, sizeof (section)); in add_to_objfile_sections() 97 objfile->sections_end = (struct obj_section *) (((unsigned long) objfile->sections_end) + 1); in add_to_objfile_sections() [all …]
|
| HD | objfiles.h | 173 struct objfile *objfile; member 213 #define OBJSTAT(objfile, expr) (objfile -> stats.expr) argument 229 struct objfile struct 247 struct objfile *next; argument 442 struct objfile *separate_debug_objfile; argument 446 struct objfile *separate_debug_objfile_backlink; argument 504 extern struct objfile *symfile_objfile; 509 extern struct objfile *rt_common_objfile; 524 extern struct objfile *current_objfile; 529 extern struct objfile *object_files; [all …]
|
| HD | somread.c | 40 static int init_import_symbols (struct objfile *objfile); 42 static void som_symfile_init (struct objfile *); 44 static void som_new_init (struct objfile *); 46 static void som_symfile_read (struct objfile *, int); 48 static void som_symfile_finish (struct objfile *); 50 static void som_symtab_read (bfd *, struct objfile *, 53 static void som_symfile_offsets (struct objfile *, struct section_addr_info *); 57 extern void hpread_build_psymtabs (struct objfile *, int); 59 extern void hpread_symfile_finish (struct objfile *); 61 extern void hpread_symfile_init (struct objfile *); [all …]
|
| HD | dbxread.c | 193 find_text_range (bfd * sym_bfd, struct objfile *objfile) in find_text_range() argument 225 DBX_TEXT_ADDR (objfile) = start; in find_text_range() 226 DBX_TEXT_SIZE (objfile) = end - start; in find_text_range() 258 static void read_dbx_dynamic_symtab (struct objfile *objfile); 260 static void read_dbx_symtab (struct objfile *); 262 static void free_bincl_list (struct objfile *); 268 static void init_bincl_list (int, struct objfile *); 270 static char *dbx_next_symbol_text (struct objfile *); 274 static void dbx_symfile_init (struct objfile *); 276 static void dbx_new_init (struct objfile *); [all …]
|
| HD | symfile.c | 84 void (*target_new_objfile_hook) (struct objfile *); 112 static void reread_separate_symbols (struct objfile *objfile); 118 int get_section_index (struct objfile *, char *); 120 static void find_sym_fns (struct objfile *); 158 static char *find_separate_debug_file (struct objfile *objfile); 220 qsort (pst->objfile->global_psymbols.list + pst->globals_offset, in sort_pst_symbols() 387 init_objfile_sect_indices (struct objfile *objfile) in init_objfile_sect_indices() argument 392 sect = bfd_get_section_by_name (objfile->obfd, ".text"); in init_objfile_sect_indices() 394 objfile->sect_index_text = sect->index; in init_objfile_sect_indices() 396 sect = bfd_get_section_by_name (objfile->obfd, ".data"); in init_objfile_sect_indices() [all …]
|
| HD | minsyms.c | 152 struct objfile *objf) in lookup_minimal_symbol() 154 struct objfile *objfile; in lookup_minimal_symbol() local 172 for (objfile = object_files; in lookup_minimal_symbol() 173 objfile != NULL && found_symbol == NULL; in lookup_minimal_symbol() 174 objfile = objfile->next) in lookup_minimal_symbol() 176 if (objf == NULL || objf == objfile) in lookup_minimal_symbol() 186 msymbol = objfile->msymbol_hash[hash]; in lookup_minimal_symbol() 188 msymbol = objfile->msymbol_demangled_hash[dem_hash]; in lookup_minimal_symbol() 270 lookup_minimal_symbol_text (const char *name, struct objfile *objf) in lookup_minimal_symbol_text() 272 struct objfile *objfile; in lookup_minimal_symbol_text() local [all …]
|
| HD | xcoffread.c | 174 static void xcoff_initial_scan (struct objfile *, int); 176 static void scan_xcoff_symtab (struct objfile *); 178 static char *xcoff_next_symbol_text (struct objfile *); 186 static void init_stringtab (bfd *, file_ptr, struct objfile *); 188 static void xcoff_symfile_init (struct objfile *); 190 static void xcoff_new_init (struct objfile *); 192 static void xcoff_symfile_finish (struct objfile *); 194 static void xcoff_symfile_offsets (struct objfile *, 197 static char *coff_getfilename (union internal_auxent *, struct objfile *); 206 struct objfile *); [all …]
|
| HD | hpread.c | 144 void hpread_symfile_init (struct objfile *); 148 void hpread_build_psymtabs (struct objfile *, int); 150 void hpread_symfile_finish (struct objfile *); 153 struct objfile *objfile); 155 static union dnttentry *hpread_get_gntt (int, struct objfile *); 157 static union dnttentry *hpread_get_lntt (int index, struct objfile *objfile); 160 static unsigned long hpread_get_textlow (int, int, struct objfile *, int); 163 (struct objfile *, char *, CORE_ADDR, int, 170 static unsigned long hpread_get_scope_start (sltpointer, struct objfile *); 172 static unsigned long hpread_get_line (sltpointer, struct objfile *); [all …]
|
| HD | symmisc.c | 58 static void dump_symtab (struct objfile *, struct symtab *, 61 static void dump_psymtab (struct objfile *, struct partial_symtab *, 64 static void dump_msymbols (struct objfile *, struct ui_file *); 66 static void dump_objfile (struct objfile *); 73 static void free_symtab_block (struct objfile *, struct block *); 86 static void free_symtab_block (struct objfile *, struct block *); 95 free_symtab_block (struct objfile *objfile, struct block *b) in free_symtab_block() argument 102 xmfree (objfile->md, DEPRECATED_SYMBOL_NAME (sym)); in free_symtab_block() 103 xmfree (objfile->md, sym); in free_symtab_block() 107 xmfree (objfile->md, b); in free_symtab_block() [all …]
|
| HD | elfread.c | 110 asection *bfd_section, struct objfile *objfile) in record_minimal_symbol() argument 116 (name, address, ms_type, NULL, bfd_section->index, bfd_section, objfile); in record_minimal_symbol() 145 elf_symtab_read (struct objfile *objfile, int dynamic, in elf_symtab_read() argument 162 char *filesymname = obsavestring ("", 0, &objfile->objfile_obstack); in elf_symtab_read() 164 struct dbx_symfile_info *dbx = objfile->sym_stab_info; in elf_symtab_read() 165 int stripped = (bfd_get_symcount (objfile->obfd) == 0); in elf_symtab_read() 179 offset = ANOFFSET (objfile->section_offsets, sym->section->index); in elf_symtab_read() 200 mst_solib_trampoline, sym->section, objfile); in elf_symtab_read() 227 &objfile->objfile_obstack); in elf_symtab_read() 321 special_local_sect = SECT_OFF_BSS (objfile); in elf_symtab_read() [all …]
|
| HD | stabsread.c | 91 struct type *, struct objfile *); 93 static struct type *dbx_alloc_type (int[2], struct objfile *); 97 static struct type *error_type (char **, struct objfile *); 101 struct objfile *); 107 static struct type *read_type (char **, struct objfile *); 109 static struct type *read_range_type (char **, int[2], struct objfile *); 111 static struct type *read_sun_builtin_type (char **, int[2], struct objfile *); 114 struct objfile *); 116 static struct type *read_enum_type (char **, struct type *, struct objfile *); 122 struct objfile *); [all …]
|
| HD | dwarfread.c | 206 #define TARGET_FT_POINTER_SIZE(objfile) (TARGET_PTR_BIT / TARGET_CHAR_BIT) argument 207 #define TARGET_FT_LONG_SIZE(objfile) (TARGET_LONG_BIT / TARGET_CHAR_BIT) argument 424 static CORE_ADDR target_to_host (char *, int, int, struct objfile *); 426 static void add_enum_psymbol (struct dieinfo *, struct objfile *); 431 struct objfile *); 434 struct objfile *); 437 struct objfile *); 439 static void scan_partial_symbols (char *, char *, struct objfile *); 442 struct objfile *); 444 static void add_partial_symbol (struct dieinfo *, struct objfile *); [all …]
|
| HD | symfile.h | 30 struct objfile; 101 void (*sym_new_init) (struct objfile *); 107 void (*sym_init) (struct objfile *); 115 void (*sym_read) (struct objfile *, int); 121 void (*sym_finish) (struct objfile *); 130 void (*sym_offsets) (struct objfile *, struct section_addr_info *); 144 extern void default_symfile_offsets (struct objfile *objfile, 149 struct objfile *); 160 enum language, struct objfile *); 168 struct objfile *); [all …]
|
| HD | nlmread.c | 34 static void nlm_new_init (struct objfile *); 36 static void nlm_symfile_init (struct objfile *); 38 static void nlm_symfile_read (struct objfile *, int); 40 static void nlm_symfile_finish (struct objfile *); 42 static void nlm_symtab_read (bfd *, CORE_ADDR, struct objfile *); 52 nlm_new_init (struct objfile *ignore) in nlm_new_init() 69 nlm_symfile_init (struct objfile *ignore) in nlm_symfile_init() 93 nlm_symtab_read (bfd *abfd, CORE_ADDR addr, struct objfile *objfile) in nlm_symtab_read() argument 139 objfile); in nlm_symtab_read() 175 nlm_symfile_read (struct objfile *objfile, int mainline) in nlm_symfile_read() argument [all …]
|
| HD | m2-lang.c | 33 static struct type *m2_create_fundamental_type (struct objfile *, int); 199 m2_create_fundamental_type (struct objfile *objfile, int typeid) in m2_create_fundamental_type() argument 212 0, "<?type?>", objfile); in m2_create_fundamental_type() 218 0, "void", objfile); in m2_create_fundamental_type() 223 TYPE_FLAG_UNSIGNED, "boolean", objfile); in m2_create_fundamental_type() 228 0, "string", objfile); in m2_create_fundamental_type() 233 0, "char", objfile); in m2_create_fundamental_type() 238 0, "signed char", objfile); in m2_create_fundamental_type() 243 TYPE_FLAG_UNSIGNED, "unsigned char", objfile); in m2_create_fundamental_type() 248 0, "short", objfile); in m2_create_fundamental_type() [all …]
|
| HD | cp-namespace.c | 93 static void initialize_namespace_symtab (struct objfile *objfile); 95 static struct block *get_possible_namespace_block (struct objfile *objfile); 101 struct objfile *objfile); 105 struct objfile *objfile); 647 initialize_namespace_symtab (struct objfile *objfile) in initialize_namespace_symtab() argument 653 namespace_symtab = allocate_symtab ("<<C++-namespaces>>", objfile); in initialize_namespace_symtab() 658 bv = obstack_alloc (&objfile->objfile_obstack, in initialize_namespace_symtab() 666 bl = allocate_block (&objfile->objfile_obstack); in initialize_namespace_symtab() 667 BLOCK_DICT (bl) = dict_create_linear (&objfile->objfile_obstack, in initialize_namespace_symtab() 670 bl = allocate_block (&objfile->objfile_obstack); in initialize_namespace_symtab() [all …]
|
| HD | mipsread.c | 46 static void mipscoff_new_init (struct objfile *); 48 static void mipscoff_symfile_init (struct objfile *); 50 static void mipscoff_symfile_read (struct objfile *, int); 52 static void mipscoff_symfile_finish (struct objfile *); 56 struct objfile *objfile); 65 mipscoff_new_init (struct objfile *ignore) in mipscoff_new_init() 75 mipscoff_symfile_init (struct objfile *objfile) in mipscoff_symfile_init() argument 82 mipscoff_symfile_read (struct objfile *objfile, int mainline) in mipscoff_symfile_read() argument 84 bfd *abfd = objfile->obfd; in mipscoff_symfile_read() 97 mdebug_build_psymtabs (objfile, &ecoff_backend (abfd)->debug_swap, in mipscoff_symfile_read() [all …]
|
| HD | stabsread.h | 22 struct objfile; 46 extern void common_block_start (char *, struct objfile *); 47 extern void common_block_end (struct objfile *); 138 struct objfile *); 148 extern void finish_global_stabs (struct objfile *objfile); 176 struct section_offsets *, struct objfile *); 178 extern void elfstab_build_psymtabs (struct objfile *objfile, 185 (struct objfile *objfile, 192 (struct objfile *objfile, 195 extern void elfstab_offset_sections (struct objfile *,
|
| HD | coffread.c | 158 struct objfile *); 162 static void enter_linenos (long, int, int, struct objfile *); 183 static void coff_symtab_read (long, unsigned int, struct objfile *); 246 static int cs_to_section (struct coff_symbol *, struct objfile *); 264 cs_to_section (struct coff_symbol *cs, struct objfile *objfile) in cs_to_section() argument 268 int off = SECT_OFF_TEXT (objfile); in cs_to_section() 272 bfd_map_over_sections (objfile->obfd, find_targ_sec, &args); in cs_to_section() 277 off = SECT_OFF_TEXT (objfile); in cs_to_section() 279 off = SECT_OFF_DATA (objfile); in cs_to_section() 302 addr = bfd_get_section_vma (objfile->obfd, sect); in cs_section_address() [all …]
|
| HD | c-lang.c | 208 c_create_fundamental_type (struct objfile *objfile, int typeid) in c_create_fundamental_type() argument 221 0, "<?type?>", objfile); in c_create_fundamental_type() 227 0, "void", objfile); in c_create_fundamental_type() 232 0, "bool", objfile); in c_create_fundamental_type() 237 TYPE_FLAG_NOSIGN, "char", objfile); in c_create_fundamental_type() 242 0, "signed char", objfile); in c_create_fundamental_type() 247 TYPE_FLAG_UNSIGNED, "unsigned char", objfile); in c_create_fundamental_type() 252 0, "short", objfile); in c_create_fundamental_type() 257 0, "short", objfile); /* FIXME-fnf */ in c_create_fundamental_type() 262 TYPE_FLAG_UNSIGNED, "unsigned short", objfile); in c_create_fundamental_type() [all …]
|
| HD | f-lang.c | 89 static struct type *f_create_fundamental_type (struct objfile *, int); 251 f_create_fundamental_type (struct objfile *objfile, int typeid) in f_create_fundamental_type() argument 260 0, "VOID", objfile); in f_create_fundamental_type() 265 TYPE_FLAG_UNSIGNED, "boolean", objfile); in f_create_fundamental_type() 270 0, "string", objfile); in f_create_fundamental_type() 275 0, "character", objfile); in f_create_fundamental_type() 280 0, "integer*1", objfile); in f_create_fundamental_type() 285 TYPE_FLAG_UNSIGNED, "logical*1", objfile); in f_create_fundamental_type() 290 0, "integer*2", objfile); in f_create_fundamental_type() 295 0, "short", objfile); /* FIXME-fnf */ in f_create_fundamental_type() [all …]
|
| HD | mdebugread.c | 278 static void parse_partial_symbols (struct objfile *); 293 static struct symtab *new_symtab (char *, int, struct objfile *); 307 static struct partial_symtab *new_psymtab (char *, struct objfile *); 319 static void handle_psymbol_enumerators (struct objfile *, FDR *, int, 322 static char *mdebug_next_symbol_text (struct objfile *); 363 scan_file_globals (pst->objfile); in mdebug_psymtab_to_symtab() 410 mdebug_build_psymtabs (struct objfile *objfile, in mdebug_build_psymtabs() argument 414 cur_bfd = objfile->obfd; in mdebug_build_psymtabs() 430 info->fdr = (FDR *) obstack_alloc (&objfile->objfile_obstack, in mdebug_build_psymtabs() 438 (*swap->swap_fdr_in) (objfile->obfd, fdr_src, fdr_ptr); in mdebug_build_psymtabs() [all …]
|
| HD | glibc-tdep.c | 39 find_minsym_and_objfile (char *name, struct objfile **objfile_p) in find_minsym_and_objfile() 41 struct objfile *objfile; in find_minsym_and_objfile() local 43 ALL_OBJFILES (objfile) in find_minsym_and_objfile() 47 ALL_OBJFILE_MSYMBOLS (objfile, msym) in find_minsym_and_objfile() 52 *objfile_p = objfile; in find_minsym_and_objfile() 87 struct objfile *objfile; in glibc_skip_solib_resolver() local 89 = find_minsym_and_objfile ("_dl_runtime_resolve", &objfile); in glibc_skip_solib_resolver() 94 = lookup_minimal_symbol ("fixup", NULL, objfile); in glibc_skip_solib_resolver()
|
| HD | p-lang.c | 275 pascal_create_fundamental_type (struct objfile *objfile, int typeid) in pascal_create_fundamental_type() argument 288 0, "<?type?>", objfile); in pascal_create_fundamental_type() 294 0, "void", objfile); in pascal_create_fundamental_type() 299 0, "char", objfile); in pascal_create_fundamental_type() 304 0, "shortint", objfile); in pascal_create_fundamental_type() 309 TYPE_FLAG_UNSIGNED, "byte", objfile); in pascal_create_fundamental_type() 314 0, "integer", objfile); in pascal_create_fundamental_type() 319 0, "integer", objfile); /* FIXME-fnf */ in pascal_create_fundamental_type() 324 TYPE_FLAG_UNSIGNED, "word", objfile); in pascal_create_fundamental_type() 329 0, "longint", objfile); in pascal_create_fundamental_type() [all …]
|
| HD | dwarf2read.c | 225 struct objfile *objfile; member 633 static void dwarf2_build_psymtabs_easy (struct objfile *, int); 636 static void dwarf2_build_psymtabs_hard (struct objfile *, int); 672 char *dwarf2_read_section (struct objfile *, asection *); 760 static struct type *type_at_offset (unsigned int, struct objfile *); 905 static struct type *dwarf2_fundamental_type (struct objfile *, int, 1023 dwarf2_build_psymtabs (struct objfile *objfile, int mainline) in dwarf2_build_psymtabs() argument 1028 dwarf_info_buffer = dwarf2_read_section (objfile, dwarf_info_section); in dwarf2_build_psymtabs() 1029 dwarf_abbrev_buffer = dwarf2_read_section (objfile, dwarf_abbrev_section); in dwarf2_build_psymtabs() 1032 dwarf_line_buffer = dwarf2_read_section (objfile, dwarf_line_section); in dwarf2_build_psymtabs() [all …]
|