| /dflybsd-src/contrib/gdb-7/gdb/ |
| H A D | objfiles.c | 61 DEFINE_REGISTRY (objfile, REGISTRY_ACCESS_FIELD) 66 struct objfile *rt_common_objfile; /* For runtime common symbols */ 124 get_objfile_bfd_data (struct objfile *objfile, struct bfd *abfd) in get_objfile_bfd_data() argument 139 storage = OBSTACK_ZALLOC (&objfile->objfile_obstack, in get_objfile_bfd_data() 172 set_objfile_per_bfd (struct objfile *objfile) in set_objfile_per_bfd() argument 174 objfile->per_bfd = get_objfile_bfd_data (objfile, objfile->obfd); in set_objfile_per_bfd() 188 struct objfile *objfile = (struct objfile *) objfilep; in add_to_objfile_sections() local 198 section.objfile = objfile; in add_to_objfile_sections() 201 obstack_grow (&objfile->objfile_obstack, in add_to_objfile_sections() 203 objfile->sections_end in add_to_objfile_sections() [all …]
|
| H A D | objfiles.h | 118 struct objfile *objfile; member 126 (((s)->objfile->section_offsets)->offsets[(s)->the_bfd_section->index]) 130 (bfd_get_section_vma ((s)->objfile->obfd, s->the_bfd_section) \ 136 (bfd_get_section_vma ((s)->objfile->obfd, s->the_bfd_section) \ 155 #define OBJSTAT(objfile, expr) (objfile -> stats.expr) argument 190 struct objfile struct 198 struct objfile *next; argument 372 struct objfile *separate_debug_objfile; argument 376 struct objfile *separate_debug_objfile_backlink; argument 380 struct objfile *separate_debug_objfile_link; argument [all …]
|
| H A D | symfile.h | 29 struct objfile; 150 int (*has_symbols) (struct objfile *objfile); 154 struct symtab *(*find_last_source_symtab) (struct objfile *objfile); 157 void (*forget_cached_source_info) (struct objfile *objfile); 171 int (*map_symtabs_matching_filename) (struct objfile *objfile, 188 struct symtab *(*lookup_symbol) (struct objfile *objfile, 195 void (*print_stats) (struct objfile *objfile); 199 void (*dump) (struct objfile *objfile); 203 void (*relocate) (struct objfile *objfile, 209 void (*expand_symtabs_for_function) (struct objfile *objfile, [all …]
|
| H A D | psymtab.c | 49 static struct partial_symbol *match_partial_symbol (struct objfile *, 56 static struct partial_symbol *lookup_partial_symbol (struct objfile *, 63 static struct partial_symbol *find_pc_sect_psymbol (struct objfile *, 69 struct objfile *objfile); 71 static struct symtab *psymtab_to_symtab (struct objfile *objfile, 77 struct objfile * 78 require_partial_symbols (struct objfile *objfile, int verbose) in require_partial_symbols() argument 80 if ((objfile->flags & OBJF_PSYMTABS_READ) == 0) in require_partial_symbols() 82 objfile->flags |= OBJF_PSYMTABS_READ; in require_partial_symbols() 84 if (objfile->sf->sym_read_psymbols) in require_partial_symbols() [all …]
|
| H A D | dbxread.c | 113 static struct objfile *dbxread_objfile; 204 find_text_range (bfd * sym_bfd, struct objfile *objfile) in find_text_range() argument 236 DBX_TEXT_ADDR (objfile) = start; in find_text_range() 237 DBX_TEXT_SIZE (objfile) = end - start; in find_text_range() 263 static void read_ofile_symtab (struct objfile *, struct partial_symtab *); 266 struct objfile *objfile); 268 static void dbx_psymtab_to_symtab_1 (struct objfile *, struct partial_symtab *); 270 static void read_dbx_dynamic_symtab (struct objfile *objfile); 272 static void read_dbx_symtab (struct objfile *); 274 static void free_bincl_list (struct objfile *); [all …]
|
| H A D | minsyms.c | 144 struct objfile * 147 struct objfile *objf; in msymbol_objfile() 185 struct objfile *objf) in lookup_minimal_symbol() 187 struct objfile *objfile; in lookup_minimal_symbol() local 215 for (objfile = object_files; in lookup_minimal_symbol() 216 objfile != NULL && found_symbol == NULL; in lookup_minimal_symbol() 217 objfile = objfile->next) in lookup_minimal_symbol() 219 if (objf == NULL || objf == objfile in lookup_minimal_symbol() 220 || objf == objfile->separate_debug_objfile_backlink) in lookup_minimal_symbol() 230 msymbol = objfile->msymbol_hash[hash]; in lookup_minimal_symbol() [all …]
|
| H A D | symfile.c | 96 int get_section_index (struct objfile *, char *); 129 static void symfile_find_segment_sections (struct objfile *objfile); 271 build_section_addr_info_from_objfile (const struct objfile *objfile) in build_section_addr_info_from_objfile() argument 279 sap = build_section_addr_info_from_bfd (objfile->obfd); in build_section_addr_info_from_objfile() 284 sap->other[i].addr += objfile->section_offsets->offsets[sectindex]; in build_section_addr_info_from_objfile() 305 init_objfile_sect_indices (struct objfile *objfile) in init_objfile_sect_indices() argument 310 sect = bfd_get_section_by_name (objfile->obfd, ".text"); in init_objfile_sect_indices() 312 objfile->sect_index_text = sect->index; in init_objfile_sect_indices() 314 sect = bfd_get_section_by_name (objfile->obfd, ".data"); in init_objfile_sect_indices() 316 objfile->sect_index_data = sect->index; in init_objfile_sect_indices() [all …]
|
| H A D | stabsread.c | 89 struct type *, struct objfile *); 91 static struct type *dbx_alloc_type (int[2], struct objfile *); 95 static struct type *error_type (char **, struct objfile *); 99 struct objfile *); 105 static struct type *read_type (char **, struct objfile *); 107 static struct type *read_range_type (char **, int[2], int, struct objfile *); 109 static struct type *read_sun_builtin_type (char **, int[2], struct objfile *); 112 struct objfile *); 114 static struct type *read_enum_type (char **, struct type *, struct objfile *); 116 static struct type *rs6000_builtin_type (int, struct objfile *); [all …]
|
| H A D | symmisc.c | 62 static void dump_symtab (struct objfile *, struct symtab *, 65 static void dump_msymbols (struct objfile *, struct ui_file *); 67 static void dump_objfile (struct objfile *); 88 struct objfile *objfile; in print_symbol_bcache_statistics() local 91 ALL_PSPACE_OBJFILES (pspace, objfile) in print_symbol_bcache_statistics() 94 printf_filtered (_("Byte cache statistics for '%s':\n"), objfile->name); in print_symbol_bcache_statistics() 95 print_bcache_statistics (psymbol_bcache_get_bcache (objfile->psymbol_cache), in print_symbol_bcache_statistics() 97 print_bcache_statistics (objfile->per_bfd->macro_cache, in print_symbol_bcache_statistics() 99 print_bcache_statistics (objfile->per_bfd->filename_cache, in print_symbol_bcache_statistics() 108 struct objfile *objfile; in print_objfile_statistics() local [all …]
|
| H A D | coffread.c | 56 static struct objfile *coffread_objfile; 152 struct objfile *); 157 struct objfile *); 161 struct objfile *); 166 struct objfile *); 169 struct objfile *); 173 struct objfile *); 177 static void enter_linenos (long, int, int, struct objfile *); 199 static void coff_symtab_read (long, unsigned int, struct objfile *); 262 static int cs_to_section (struct coff_symbol *, struct objfile *); [all …]
|
| H A D | elfread.c | 202 asection *bfd_section, struct objfile *objfile) in record_minimal_symbol() argument 204 struct gdbarch *gdbarch = get_objfile_arch (objfile); in record_minimal_symbol() 212 bfd_section, objfile); in record_minimal_symbol() 232 elf_symtab_read (struct objfile *objfile, int type, in elf_symtab_read() argument 236 struct gdbarch *gdbarch = get_objfile_arch (objfile); in elf_symtab_read() 251 struct dbx_symfile_info *dbx = DBX_SYMFILE_INFO (objfile); in elf_symtab_read() 252 int stripped = (bfd_get_symcount (objfile->obfd) == 0); in elf_symtab_read() 267 if (bfd_is_target_special_symbol (objfile->obfd, sym)) in elf_symtab_read() 270 gdbarch_record_special_symbol (gdbarch, objfile, sym); in elf_symtab_read() 274 offset = ANOFFSET (objfile->section_offsets, sym->section->index); in elf_symtab_read() [all …]
|
| H A D | somread.c | 46 som_symtab_read (bfd *abfd, struct objfile *objfile, in som_symtab_read() argument 49 struct gdbarch *gdbarch = get_objfile_arch (objfile); in som_symtab_read() 270 prim_record_minimal_symbol (symname, symbol_value, ms_type, objfile); in som_symtab_read() 301 som_symfile_read (struct objfile *objfile, int symfile_flags) in som_symfile_read() argument 303 bfd *abfd = objfile->obfd; in som_symfile_read() 314 som_symtab_read (abfd, objfile, objfile->section_offsets); in som_symfile_read() 321 install_minimal_symbols (objfile); in som_symfile_read() 326 stabsect_build_psymtabs (objfile, in som_symfile_read() 337 som_new_init (struct objfile *ignore) in som_new_init() 349 som_symfile_finish (struct objfile *objfile) in som_symfile_finish() argument [all …]
|
| H A D | minsyms.h | 86 struct objfile *objfile); 98 struct objfile *); 110 struct objfile *); 117 void install_minimal_symbols (struct objfile *); 124 void terminate_minimal_symbol_table (struct objfile *objfile); 130 void msymbols_sort (struct objfile *objfile); 156 struct objfile *msymbol_objfile (struct minimal_symbol *sym); 169 struct objfile *); 177 struct objfile **); 187 struct objfile *); [all …]
|
| H A D | mdebugread.c | 84 static struct objfile *mdebugread_objfile; 227 static void parse_partial_symbols (struct objfile *); 242 static struct symtab *new_symtab (const char *, int, struct objfile *); 256 static struct partial_symtab *new_psymtab (char *, struct objfile *); 258 static void psymtab_to_symtab_1 (struct objfile *objfile, 269 static void handle_psymbol_enumerators (struct objfile *, FDR *, int, 272 static char *mdebug_next_symbol_text (struct objfile *); 280 mdebug_read_symtab (struct partial_symtab *self, struct objfile *objfile) in mdebug_read_symtab() argument 290 psymtab_to_symtab_1 (objfile, self, self->filename); in mdebug_read_symtab() 294 scan_file_globals (objfile); in mdebug_read_symtab() [all …]
|
| H A D | stabsread.h | 19 struct objfile; 43 extern void common_block_start (char *, struct objfile *); 44 extern void common_block_end (struct objfile *); 131 extern void cleanup_undefined_stabs_types (struct objfile *); 136 struct objfile *); 146 extern void finish_global_stabs (struct objfile *objfile); 163 extern struct partial_symtab *end_psymtab (struct objfile *objfile, 175 struct section_offsets *, struct objfile *); 177 extern void elfstab_build_psymtabs (struct objfile *objfile, 183 (struct objfile *objfile, [all …]
|
| H A D | machoread.c | 74 macho_new_init (struct objfile *objfile) 79 macho_symfile_init (struct objfile *objfile) in macho_symfile_init() argument 81 objfile->flags |= OBJF_REORDERED; in macho_symfile_init() 87 macho_register_oso (struct objfile *objfile, in macho_register_oso() argument 104 macho_symtab_add_minsym (struct objfile *objfile, const asymbol *sym) in macho_symtab_add_minsym() argument 119 offset = ANOFFSET (objfile->section_offsets, sym->section->index); in macho_symtab_add_minsym() 168 sym->section, objfile); in macho_symtab_add_minsym() 176 macho_symtab_read (struct objfile *objfile, in macho_symtab_read() argument 241 objfile->name); in macho_symtab_read() 246 macho_symtab_add_minsym (objfile, sym); in macho_symtab_read() [all …]
|
| H A D | buildsym.h | 22 struct objfile; 184 #define next_symbol_text(objfile) (*next_symbol_text_func)(objfile) argument 188 EXTERN char *(*next_symbol_text_func) (struct objfile *); 217 struct objfile *objfile); 233 struct objfile *objfile, 238 struct objfile *objfile, 243 struct objfile *objfile, int section); 246 struct objfile *objfile, 249 extern void augment_type_symtab (struct objfile *objfile, 254 extern void scan_file_globals (struct objfile *objfile);
|
| H A D | symtab.c | 99 struct symbol *lookup_symbol_aux_quick (struct objfile *objfile, 262 struct objfile *objfile; in iterate_over_symtabs() local 275 ALL_OBJFILES (objfile) in iterate_over_symtabs() 278 objfile->symtabs, NULL)) in iterate_over_symtabs() 288 ALL_OBJFILES (objfile) in iterate_over_symtabs() 290 if (objfile->sf in iterate_over_symtabs() 291 && objfile->sf->qf->map_symtabs_matching_filename (objfile, in iterate_over_symtabs() 420 struct objfile *objfile) in symbol_init_cplus_specific() argument 425 gdb_assert (objfile != NULL); in symbol_init_cplus_specific() 428 OBSTACK_ZALLOC (&objfile->objfile_obstack, struct cplus_specific); in symbol_init_cplus_specific() [all …]
|
| H A D | probe.c | 47 struct objfile *objfile; in parse_probes() local 109 ALL_PSPACE_OBJFILES (pspace, objfile) in parse_probes() 115 if (!objfile->sf || !objfile->sf->sym_probe_fns) in parse_probes() 119 && FILENAME_CMP (objfile->name, objfile_name) != 0 in parse_probes() 120 && FILENAME_CMP (lbasename (objfile->name), objfile_name) != 0) in parse_probes() 123 probes = objfile->sf->sym_probe_fns->sym_get_probes (objfile); in parse_probes() 179 find_probes_in_objfile (struct objfile *objfile, const char *provider, in VEC() 186 if (!objfile->sf || !objfile->sf->sym_probe_fns) in VEC() 189 probes = objfile->sf->sym_probe_fns->sym_get_probes (objfile); in VEC() 209 struct objfile *objfile; in find_probe_by_pc() local [all …]
|
| H A D | dwarf2read.c | 185 struct objfile *objfile; member 386 struct objfile *objfile; member 556 struct objfile *objfile; member 1269 struct objfile *); 1274 static void dwarf2_build_psymtabs_hard (struct objfile *); 1299 struct objfile *); 1596 (struct objfile *objfile, 1642 (sect_offset offset, unsigned int offset_in_dwz, struct objfile *objfile); 1662 static void create_all_comp_units (struct objfile *); 1664 static int create_all_type_units (struct objfile *); [all …]
|
| H A D | mipsread.c | 47 struct objfile *objfile); 54 mipscoff_new_init (struct objfile *ignore) in mipscoff_new_init() 63 mipscoff_symfile_init (struct objfile *objfile) in mipscoff_symfile_init() argument 70 mipscoff_symfile_read (struct objfile *objfile, int symfile_flags) in mipscoff_symfile_read() argument 72 bfd *abfd = objfile->obfd; in mipscoff_symfile_read() 85 mdebug_build_psymtabs (objfile, &ecoff_backend (abfd)->debug_swap, in mipscoff_symfile_read() 90 read_alphacoff_dynamic_symtab (objfile->section_offsets, objfile); in mipscoff_symfile_read() 95 install_minimal_symbols (objfile); in mipscoff_symfile_read() 103 mipscoff_symfile_finish (struct objfile *objfile) in mipscoff_symfile_finish() argument 181 struct objfile *objfile) in read_alphacoff_dynamic_symtab() argument [all …]
|
| H A D | buildsym.c | 108 static void record_pending_block (struct objfile *objfile, 242 struct objfile *objfile, in finish_block_internal() argument 245 struct gdbarch *gdbarch = get_objfile_arch (objfile); in finish_block_internal() 252 ? allocate_global_block (&objfile->objfile_obstack) in finish_block_internal() 253 : allocate_block (&objfile->objfile_obstack)); in finish_block_internal() 257 BLOCK_DICT (block) = dict_create_linear (&objfile->objfile_obstack, in finish_block_internal() 270 dict_create_hashed (&objfile->objfile_obstack, *listhead); in finish_block_internal() 411 block_set_using (block, using_directives, &objfile->objfile_obstack); in finish_block_internal() 414 record_pending_block (objfile, block, opblock); in finish_block_internal() 423 struct objfile *objfile) in finish_block() argument [all …]
|
| /dflybsd-src/contrib/gdb-7/gdb/python/ |
| H A D | py-auto-load.c | 47 static void gdbpy_load_auto_script_for_objfile (struct objfile *objfile, 68 gdbpy_load_auto_script_for_objfile (struct objfile *objfile, FILE *file, in gdbpy_load_auto_script_for_objfile() argument 77 filename, objfile->name); in gdbpy_load_auto_script_for_objfile() 86 source_python_script_for_objfile (objfile, file, filename); in gdbpy_load_auto_script_for_objfile() 102 source_section_scripts (struct objfile *objfile, const char *source_name, in source_section_scripts() argument 160 objfile->name)) in source_section_scripts() 172 GDBPY_AUTO_SECTION_NAME, objfile->name); in source_section_scripts() 187 source_python_script_for_objfile (objfile, stream, full_path); in source_section_scripts() 196 auto_load_section_scripts (struct objfile *objfile, const char *section_name) in auto_load_section_scripts() argument 198 bfd *abfd = objfile->obfd; in auto_load_section_scripts() [all …]
|
| H A D | py-objfile.c | 31 struct objfile *objfile; member 52 if (obj->objfile) in objfpy_get_filename() 53 return PyString_Decode (obj->objfile->name, strlen (obj->objfile->name), in objfpy_get_filename() 75 self->objfile = NULL; in objfpy_new() 182 if (! obj->objfile) in objfpy_is_valid() 193 py_free_objfile (struct objfile *objfile, void *datum) in py_free_objfile() argument 198 cleanup = ensure_python_env (get_objfile_arch (objfile), current_language); in py_free_objfile() 199 object->objfile = NULL; in py_free_objfile() 209 objfile_to_objfile_object (struct objfile *objfile) in objfile_to_objfile_object() argument 213 object = objfile_data (objfile, objfpy_objfile_data_key); in objfile_to_objfile_object() [all …]
|
| H A D | py-block.c | 35 struct objfile *objfile; member 151 return block_to_block_object (super_block, self_obj->objfile); in blpy_get_superblock() 170 self_obj->objfile); in blpy_get_global_block() 191 return block_to_block_object (static_block, self_obj->objfile); in blpy_get_static_block() 234 else if (block->objfile) in blpy_dealloc() 236 set_objfile_data (block->objfile, blpy_objfile_data_key, in blpy_dealloc() 251 struct objfile *objfile) in set_block() argument 255 if (objfile) in set_block() 257 obj->objfile = objfile; in set_block() 258 obj->next = objfile_data (objfile, blpy_objfile_data_key); in set_block() [all …]
|