Lines Matching refs:objfile
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 *);
126 struct objfile *);
130 struct objfile *);
134 struct objfile *);
139 struct objfile *);
143 struct objfile *);
146 struct objfile *);
148 static struct field *read_args (char **, int, struct objfile *, int *, int *);
154 struct objfile *);
202 #define STABS_CONTINUE(pp,objfile) \ argument
205 *(pp) = next_symbol_text (objfile); \
318 dbx_alloc_type (int typenums[2], struct objfile *objfile) in dbx_alloc_type() argument
324 return (alloc_type (objfile)); in dbx_alloc_type()
334 *type_addr = alloc_type (objfile); in dbx_alloc_type()
345 struct objfile *objfile) in patch_block_stabs() argument
382 obstack_alloc (&objfile->objfile_obstack, in patch_block_stabs()
389 obsavestring (name, pp - name, &objfile->objfile_obstack); in patch_block_stabs()
397 lookup_function_type (read_type (&pp, objfile)); in patch_block_stabs()
401 SYMBOL_TYPE (sym) = read_type (&pp, objfile); in patch_block_stabs()
411 lookup_function_type (read_type (&pp, objfile)); in patch_block_stabs()
415 SYMBOL_TYPE (sym) = read_type (&pp, objfile); in patch_block_stabs()
581 struct objfile *objfile) in define_symbol() argument
615 obstack_alloc (&objfile->objfile_obstack, sizeof (struct symbol)); in define_symbol()
621 SYMBOL_SECTION (sym) = SECT_OFF_TEXT (objfile); in define_symbol()
624 SYMBOL_SECTION (sym) = SECT_OFF_DATA (objfile); in define_symbol()
627 SYMBOL_SECTION (sym) = SECT_OFF_BSS (objfile); in define_symbol()
649 &objfile->objfile_obstack); in define_symbol()
658 &objfile->objfile_obstack); in define_symbol()
681 SYMBOL_SET_NAMES (sym, string, p - string, objfile); in define_symbol()
714 SYMBOL_TYPE (sym) = error_type (&p, objfile); in define_symbol()
738 SYMBOL_TYPE (sym) = lookup_fundamental_type (objfile, in define_symbol()
741 obstack_alloc (&objfile->objfile_obstack, in define_symbol()
771 (struct objfile *) NULL); in define_symbol()
784 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
788 SYMBOL_TYPE (sym) = error_type (&p, objfile); in define_symbol()
805 SYMBOL_TYPE (sym) = error_type (&p, objfile); in define_symbol()
814 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
823 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
874 ptype = read_type (&p, objfile); in define_symbol()
894 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
905 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
926 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
942 (lookup_function_type (read_type (&p, objfile))); in define_symbol()
945 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1000 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1007 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1023 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1085 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1092 msym = lookup_minimal_symbol (DEPRECATED_SYMBOL_NAME (sym), NULL, objfile); in define_symbol()
1106 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1198 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1210 = obconcat (&objfile->objfile_obstack, "", "", DEPRECATED_SYMBOL_NAME (sym)); in define_symbol()
1217 obstack_alloc (&objfile->objfile_obstack, sizeof (struct symbol)); in define_symbol()
1224 = obconcat (&objfile->objfile_obstack, "", "", DEPRECATED_SYMBOL_NAME (sym)); in define_symbol()
1231 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1238 msym = lookup_minimal_symbol (DEPRECATED_SYMBOL_NAME (sym), NULL, objfile); in define_symbol()
1252 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1261 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1280 SYMBOL_TYPE (sym) = read_type (&p, objfile); in define_symbol()
1288 SYMBOL_TYPE (sym) = error_type (&p, objfile); in define_symbol()
1346 error_type (char **pp, struct objfile *objfile) in error_type() argument
1360 *pp = next_symbol_text (objfile); in error_type()
1378 read_type (char **pp, struct objfile *objfile) in read_type() argument
1403 return error_type (pp, objfile); in read_type()
1410 type = dbx_alloc_type (typenums, objfile); in read_type()
1478 return error_type (pp, objfile); in read_type()
1493 return error_type (pp, objfile); in read_type()
1496 (char *) obstack_alloc (&objfile->objfile_obstack, p - *pp + 1); in read_type()
1523 obstack_free (&objfile->objfile_obstack, type_name); in read_type()
1536 type = dbx_alloc_type (typenums, objfile); in read_type()
1565 type = dbx_alloc_type (typenums, objfile); in read_type()
1568 struct type *xtype = read_type (pp, objfile); in read_type()
1620 type1 = read_type (pp, objfile); in read_type()
1625 type1 = read_type (pp, objfile); in read_type()
1630 type1 = read_type (pp, objfile); in read_type()
1652 struct type *return_type = read_type (pp, objfile); in read_type()
1663 struct type *arg_type = read_type (pp, objfile); in read_type()
1708 type = read_type (pp, objfile); in read_type()
1714 type = read_type (pp, objfile); in read_type()
1724 struct type *domain = read_type (pp, objfile); in read_type()
1729 return error_type (pp, objfile); in read_type()
1732 memtype = read_type (pp, objfile); in read_type()
1733 type = dbx_alloc_type (typenums, objfile); in read_type()
1744 return error_type (pp, objfile); in read_type()
1783 return_type = read_type (pp, objfile); in read_type()
1794 struct type *domain = read_type (pp, objfile); in read_type()
1801 return error_type (pp, objfile); in read_type()
1805 return_type = read_type (pp, objfile); in read_type()
1806 args = read_args (pp, ';', objfile, &nargs, &varargs); in read_type()
1807 type = dbx_alloc_type (typenums, objfile); in read_type()
1814 type = read_range_type (pp, typenums, objfile); in read_type()
1822 type = read_sun_builtin_type (pp, typenums, objfile); in read_type()
1829 type = read_sun_floating_type (pp, typenums, objfile); in read_type()
1835 type = dbx_alloc_type (typenums, objfile); in read_type()
1836 type = read_enum_type (pp, type, objfile); in read_type()
1845 type = dbx_alloc_type (typenums, objfile); in read_type()
1855 type = read_struct_type (pp, type, type_code, objfile); in read_type()
1861 return error_type (pp, objfile); in read_type()
1864 type = dbx_alloc_type (typenums, objfile); in read_type()
1865 type = read_array_type (pp, type, objfile); in read_type()
1873 type1 = read_type (pp, objfile); in read_type()
1884 return error_type (pp, objfile); in read_type()
1890 return error_type (pp, objfile); in read_type()
2109 struct objfile *objfile) in read_member_functions() argument
2174 STABS_CONTINUE (pp, objfile); in read_member_functions()
2203 STABS_CONTINUE (pp, objfile); in read_member_functions()
2205 new_sublist->fn_field.type = read_type (pp, objfile); in read_member_functions()
2248 STABS_CONTINUE (pp, objfile); in read_member_functions()
2298 STABS_CONTINUE (pp, objfile); in read_member_functions()
2309 look_ahead_type = read_type (pp, objfile); in read_member_functions()
2373 STABS_CONTINUE (pp, objfile); in read_member_functions()
2378 STABS_CONTINUE (pp, objfile); in read_member_functions()
2480 = obconcat (&objfile->objfile_obstack, "", "~", in read_member_functions()
2484 obstack_alloc (&objfile->objfile_obstack, in read_member_functions()
2545 &objfile->objfile_obstack); in read_member_functions()
2549 obstack_alloc (&objfile->objfile_obstack, in read_member_functions()
2587 struct objfile *objfile) in read_cpp_abbrev() argument
2607 context = read_type (pp, objfile); in read_cpp_abbrev()
2618 obconcat (&objfile->objfile_obstack, vptr_name, name, ""); in read_cpp_abbrev()
2631 obconcat (&objfile->objfile_obstack, vb_name, name, ""); in read_cpp_abbrev()
2637 obconcat (&objfile->objfile_obstack, in read_cpp_abbrev()
2651 fip->list->field.type = read_type (pp, objfile); in read_cpp_abbrev()
2680 struct type *type, struct objfile *objfile) in read_one_struct_field() argument
2683 obsavestring (*pp, p - *pp, &objfile->objfile_obstack); in read_one_struct_field()
2698 fip->list->field.type = read_type (pp, objfile); in read_one_struct_field()
2818 struct objfile *objfile) in read_struct_fields() argument
2835 STABS_CONTINUE (pp, objfile); in read_struct_fields()
2853 if (!read_cpp_abbrev (fip, pp, type, objfile)) in read_struct_fields()
2875 read_one_struct_field (fip, pp, p, type, objfile); in read_struct_fields()
2916 struct objfile *objfile) in read_baseclasses() argument
2965 STABS_CONTINUE (pp, objfile); in read_baseclasses()
3017 new->field.type = read_type (pp, objfile); in read_baseclasses()
3039 struct objfile *objfile) in read_tilde_fields() argument
3043 STABS_CONTINUE (pp, objfile); in read_tilde_fields()
3074 t = read_type (pp, objfile); in read_tilde_fields()
3140 struct objfile *objfile) in attach_fields_to_type() argument
3275 struct objfile *objfile) in read_struct_type() argument
3315 return error_type (pp, objfile); in read_struct_type()
3323 if (!read_baseclasses (&fi, pp, type, objfile) in read_struct_type()
3324 || !read_struct_fields (&fi, pp, type, objfile) in read_struct_type()
3325 || !attach_fields_to_type (&fi, type, objfile) in read_struct_type()
3326 || !read_member_functions (&fi, pp, type, objfile) in read_struct_type()
3328 || !read_tilde_fields (&fi, pp, type, objfile)) in read_struct_type()
3330 type = error_type (pp, objfile); in read_struct_type()
3344 struct objfile *objfile) in read_array_type() argument
3359 index_type = read_type (pp, objfile); in read_array_type()
3362 return error_type (pp, objfile); in read_array_type()
3374 return error_type (pp, objfile); in read_array_type()
3383 return error_type (pp, objfile); in read_array_type()
3385 element_type = read_type (pp, objfile); in read_array_type()
3407 struct objfile *objfile) in read_enum_type() argument
3449 STABS_CONTINUE (pp, objfile); in read_enum_type()
3453 name = obsavestring (*pp, p - *pp, &objfile->objfile_obstack); in read_enum_type()
3457 return error_type (pp, objfile); in read_enum_type()
3460 obstack_alloc (&objfile->objfile_obstack, sizeof (struct symbol)); in read_enum_type()
3529 read_sun_builtin_type (char **pp, int typenums[2], struct objfile *objfile) in read_sun_builtin_type() argument
3545 return error_type (pp, objfile); in read_sun_builtin_type()
3569 return error_type (pp, objfile); in read_sun_builtin_type()
3574 return error_type (pp, objfile); in read_sun_builtin_type()
3579 return error_type (pp, objfile); in read_sun_builtin_type()
3592 objfile); in read_sun_builtin_type()
3597 objfile); in read_sun_builtin_type()
3601 read_sun_floating_type (char **pp, int typenums[2], struct objfile *objfile) in read_sun_floating_type() argument
3612 return error_type (pp, objfile); in read_sun_floating_type()
3617 return error_type (pp, objfile); in read_sun_floating_type()
3622 rettype = init_type (TYPE_CODE_COMPLEX, nbytes, 0, NULL, objfile); in read_sun_floating_type()
3624 = init_type (TYPE_CODE_FLT, nbytes / 2, 0, NULL, objfile); in read_sun_floating_type()
3628 return init_type (TYPE_CODE_FLT, nbytes, 0, NULL, objfile); in read_sun_floating_type()
3743 read_range_type (char **pp, int typenums[2], struct objfile *objfile) in read_range_type() argument
3756 return error_type (pp, objfile); in read_range_type()
3763 index_type = read_type (pp, objfile); in read_range_type()
3776 return error_type (pp, objfile); in read_range_type()
3811 objfile); in read_range_type()
3814 return error_type (pp, objfile); in read_range_type()
3819 return init_type (TYPE_CODE_VOID, 1, 0, NULL, objfile); in read_range_type()
3836 = init_type (TYPE_CODE_FLT, n2, 0, NULL, objfile); in read_range_type()
3841 init_type (TYPE_CODE_COMPLEX, 2 * n2, 0, NULL, objfile); in read_range_type()
3857 TYPE_FLAG_UNSIGNED, NULL, objfile); in read_range_type()
3863 return init_type (TYPE_CODE_INT, 1, TYPE_FLAG_NOSIGN, NULL, objfile); in read_range_type()
3875 NULL, objfile); in read_range_type()
3890 objfile); in read_range_type()
3899 return init_type (TYPE_CODE_INT, -n2, 0, NULL, objfile); in read_range_type()
3903 return init_type (TYPE_CODE_INT, 1, 0, NULL, objfile); in read_range_type()
3905 return init_type (TYPE_CODE_INT, 2, 0, NULL, objfile); in read_range_type()
3907 return init_type (TYPE_CODE_INT, 4, 0, NULL, objfile); in read_range_type()
3943 read_args (char **pp, int end, struct objfile *objfile, int *nargsp, in read_args() argument
3957 STABS_CONTINUE (pp, objfile); in read_args()
3958 types[n++] = read_type (pp, objfile); in read_args()
3998 common_block_start (char *name, struct objfile *objfile) in common_block_start() argument
4008 &objfile->objfile_obstack); in common_block_start()
4014 common_block_end (struct objfile *objfile) in common_block_end() argument
4034 obstack_alloc (&objfile->objfile_obstack, sizeof (struct symbol)); in common_block_end()
4182 scan_file_globals (struct objfile *objfile) in scan_file_globals() argument
4187 struct objfile *resolve_objfile; in scan_file_globals()
4194 if (symfile_objfile && objfile != symfile_objfile) in scan_file_globals()
4197 resolve_objfile = objfile; in scan_file_globals()
4285 if (resolve_objfile == objfile) in scan_file_globals()
4287 resolve_objfile = objfile; in scan_file_globals()
4310 objfile->name, DEPRECATED_SYMBOL_NAME (prev)); in scan_file_globals()
4367 finish_global_stabs (struct objfile *objfile) in finish_global_stabs() argument
4371 patch_block_stabs (global_symbols, global_stabs, objfile); in finish_global_stabs()