|
GDB (xrefs)
|
Go to the source code of this file.
Classes | |
| union | dynamic_prop_data |
| struct | dynamic_prop |
| struct | dynamic_prop_list |
| union | type_owner |
| union | field_location |
| struct | field |
| struct | range_bounds |
| union | type_specific |
| struct | main_type |
| struct | type |
| struct | fn_fieldlist |
| struct | fn_field |
| struct | decl_field |
| struct | cplus_struct_type |
| struct | rank |
| struct | badness_vector |
| struct | gnat_aux_type |
| struct | func_type |
| struct | call_site_target |
| union | call_site_parameter_u |
| struct | call_site_parameter |
| struct | call_site |
| struct | builtin_type |
| struct | objfile_type |
Macros | |
| #define | B_SET(a, x) ((a)[(x)>>3] |= (1 << ((x)&7))) |
| #define | B_CLR(a, x) ((a)[(x)>>3] &= ~(1 << ((x)&7))) |
| #define | B_TST(a, x) ((a)[(x)>>3] & (1 << ((x)&7))) |
| #define | B_TYPE unsigned char |
| #define | B_BYTES(x) ( 1 + ((x)>>3) ) |
| #define | B_CLRALL(a, x) memset ((a), 0, B_BYTES(x)) |
| #define | TYPE_UNSIGNED(t) (TYPE_MAIN_TYPE (t)->flag_unsigned) |
| #define | TYPE_NOSIGN(t) (TYPE_MAIN_TYPE (t)->flag_nosign) |
| #define | TYPE_STUB(t) (TYPE_MAIN_TYPE (t)->flag_stub) |
| #define | TYPE_TARGET_STUB(t) (TYPE_MAIN_TYPE (t)->flag_target_stub) |
| #define | TYPE_PROTOTYPED(t) (TYPE_MAIN_TYPE (t)->flag_prototyped) |
| #define | TYPE_INCOMPLETE(t) (TYPE_MAIN_TYPE (t)->flag_incomplete) |
| #define | TYPE_VARARGS(t) (TYPE_MAIN_TYPE (t)->flag_varargs) |
| #define | TYPE_VECTOR(t) (TYPE_MAIN_TYPE (t)->flag_vector) |
| #define | TYPE_FIXED_INSTANCE(t) (TYPE_MAIN_TYPE (t)->flag_fixed_instance) |
| #define | TYPE_STUB_SUPPORTED(t) (TYPE_MAIN_TYPE (t)->flag_stub_supported) |
| #define | TYPE_NOTTEXT(t) (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_NOTTEXT) |
| #define | TYPE_GNU_IFUNC(t) (TYPE_MAIN_TYPE (t)->flag_gnu_ifunc) |
| #define | TYPE_OBJFILE_OWNED(t) (TYPE_MAIN_TYPE (t)->flag_objfile_owned) |
| #define | TYPE_OWNER(t) TYPE_MAIN_TYPE(t)->owner |
| #define | TYPE_OBJFILE(t) (TYPE_OBJFILE_OWNED(t)? TYPE_OWNER(t).objfile : NULL) |
| #define | TYPE_DECLARED_CLASS(t) (TYPE_MAIN_TYPE (t)->flag_declared_class) |
| #define | TYPE_FLAG_ENUM(t) (TYPE_MAIN_TYPE (t)->flag_flag_enum) |
| #define | TYPE_CONST(t) ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_CONST) != 0) |
| #define | TYPE_VOLATILE(t) ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_VOLATILE) != 0) |
| #define | TYPE_RESTRICT(t) ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_RESTRICT) != 0) |
| #define | TYPE_ATOMIC(t) ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_ATOMIC) != 0) |
| #define | TYPE_IS_REFERENCE(t) (TYPE_CODE (t) == TYPE_CODE_REF || TYPE_CODE (t) == TYPE_CODE_RVALUE_REF) |
| #define | TYPE_CODE_SPACE(t) ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_CODE_SPACE) != 0) |
| #define | TYPE_DATA_SPACE(t) ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_DATA_SPACE) != 0) |
| #define | TYPE_ADDRESS_CLASS_1(t) |
| #define | TYPE_ADDRESS_CLASS_2(t) |
| #define | TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL (TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1 | TYPE_INSTANCE_FLAG_ADDRESS_CLASS_2) |
| #define | TYPE_ADDRESS_CLASS_ALL(t) |
| #define | NULL_TYPE ((struct type *) 0) |
| #define | VOFFSET_STATIC 1 |
| #define | INIT_CPLUS_SPECIFIC(type) |
| #define | ALLOCATE_CPLUS_STRUCT_TYPE(type) allocate_cplus_struct_type (type) |
| #define | HAVE_CPLUS_STRUCT(type) |
| #define | INIT_GNAT_SPECIFIC(type) |
| #define | ALLOCATE_GNAT_AUX_TYPE(type) allocate_gnat_aux_type (type) |
| #define | HAVE_GNAT_AUX_INFO(type) (TYPE_SPECIFIC_FIELD (type) == TYPE_SPECIFIC_GNAT_STUFF) |
| #define | INIT_FUNC_SPECIFIC(type) |
| #define | TYPE_INSTANCE_FLAGS(thistype) (thistype)->instance_flags |
| #define | TYPE_MAIN_TYPE(thistype) (thistype)->main_type |
| #define | TYPE_NAME(thistype) TYPE_MAIN_TYPE(thistype)->name |
| #define | TYPE_TAG_NAME(type) TYPE_MAIN_TYPE(type)->tag_name |
| #define | TYPE_TARGET_TYPE(thistype) TYPE_MAIN_TYPE(thistype)->target_type |
| #define | TYPE_POINTER_TYPE(thistype) (thistype)->pointer_type |
| #define | TYPE_REFERENCE_TYPE(thistype) (thistype)->reference_type |
| #define | TYPE_RVALUE_REFERENCE_TYPE(thistype) (thistype)->rvalue_reference_type |
| #define | TYPE_CHAIN(thistype) (thistype)->chain |
| #define | TYPE_LENGTH(thistype) (thistype)->length |
| #define | TYPE_CODE(thistype) TYPE_MAIN_TYPE(thistype)->code |
| #define | TYPE_NFIELDS(thistype) TYPE_MAIN_TYPE(thistype)->nfields |
| #define | TYPE_FIELDS(thistype) TYPE_MAIN_TYPE(thistype)->flds_bnds.fields |
| #define | TYPE_INDEX_TYPE(type) TYPE_FIELD_TYPE (type, 0) |
| #define | TYPE_RANGE_DATA(thistype) TYPE_MAIN_TYPE(thistype)->flds_bnds.bounds |
| #define | TYPE_LOW_BOUND(range_type) TYPE_RANGE_DATA(range_type)->low.data.const_val |
| #define | TYPE_HIGH_BOUND(range_type) TYPE_RANGE_DATA(range_type)->high.data.const_val |
| #define | TYPE_LOW_BOUND_UNDEFINED(range_type) (TYPE_RANGE_DATA(range_type)->low.kind == PROP_UNDEFINED) |
| #define | TYPE_HIGH_BOUND_UNDEFINED(range_type) (TYPE_RANGE_DATA(range_type)->high.kind == PROP_UNDEFINED) |
| #define | TYPE_HIGH_BOUND_KIND(range_type) TYPE_RANGE_DATA(range_type)->high.kind |
| #define | TYPE_LOW_BOUND_KIND(range_type) TYPE_RANGE_DATA(range_type)->low.kind |
| #define | TYPE_DATA_LOCATION(thistype) get_dyn_prop (DYN_PROP_DATA_LOCATION, thistype) |
| #define | TYPE_DATA_LOCATION_BATON(thistype) TYPE_DATA_LOCATION (thistype)->data.baton |
| #define | TYPE_DATA_LOCATION_ADDR(thistype) TYPE_DATA_LOCATION (thistype)->data.const_val |
| #define | TYPE_DATA_LOCATION_KIND(thistype) TYPE_DATA_LOCATION (thistype)->kind |
| #define | TYPE_ALLOCATED_PROP(thistype) get_dyn_prop (DYN_PROP_ALLOCATED, thistype) |
| #define | TYPE_ASSOCIATED_PROP(thistype) get_dyn_prop (DYN_PROP_ASSOCIATED, thistype) |
| #define | TYPE_DYN_PROP_LIST(thistype) TYPE_MAIN_TYPE(thistype)->dyn_prop_list |
| #define | TYPE_DYN_PROP_BATON(dynprop) dynprop->data.baton |
| #define | TYPE_DYN_PROP_ADDR(dynprop) dynprop->data.const_val |
| #define | TYPE_DYN_PROP_KIND(dynprop) dynprop->kind |
| #define | TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED(arraytype) TYPE_HIGH_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
| #define | TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED(arraytype) TYPE_LOW_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
| #define | TYPE_ARRAY_UPPER_BOUND_VALUE(arraytype) (TYPE_HIGH_BOUND(TYPE_INDEX_TYPE((arraytype)))) |
| #define | TYPE_ARRAY_LOWER_BOUND_VALUE(arraytype) (TYPE_LOW_BOUND(TYPE_INDEX_TYPE((arraytype)))) |
| #define | TYPE_SELF_TYPE(thistype) internal_type_self_type (thistype) |
| #define | TYPE_VPTR_FIELDNO(thistype) internal_type_vptr_fieldno (thistype) |
| #define | TYPE_VPTR_BASETYPE(thistype) internal_type_vptr_basetype (thistype) |
| #define | TYPE_NFN_FIELDS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields |
| #define | TYPE_SPECIFIC_FIELD(thistype) TYPE_MAIN_TYPE(thistype)->type_specific_field |
| #define | TYPE_CPLUS_SPECIFIC(thistype) |
| #define | TYPE_RAW_CPLUS_SPECIFIC(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.cplus_stuff |
| #define | TYPE_FLOATFORMAT(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.floatformat |
| #define | TYPE_GNAT_SPECIFIC(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.gnat_stuff |
| #define | TYPE_DESCRIPTIVE_TYPE(thistype) TYPE_GNAT_SPECIFIC(thistype)->descriptive_type |
| #define | TYPE_CALLING_CONVENTION(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->calling_convention |
| #define | TYPE_NO_RETURN(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->is_noreturn |
| #define | TYPE_TAIL_CALL_LIST(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->tail_call_list |
| #define | TYPE_BASECLASS(thistype, index) TYPE_FIELD_TYPE(thistype, index) |
| #define | TYPE_N_BASECLASSES(thistype) TYPE_CPLUS_SPECIFIC(thistype)->n_baseclasses |
| #define | TYPE_BASECLASS_NAME(thistype, index) TYPE_FIELD_NAME(thistype, index) |
| #define | TYPE_BASECLASS_BITPOS(thistype, index) TYPE_FIELD_BITPOS(thistype,index) |
| #define | BASETYPE_VIA_PUBLIC(thistype, index) ((!TYPE_FIELD_PRIVATE(thistype, index)) && (!TYPE_FIELD_PROTECTED(thistype, index))) |
| #define | TYPE_CPLUS_DYNAMIC(thistype) TYPE_CPLUS_SPECIFIC (thistype)->is_dynamic |
| #define | BASETYPE_VIA_VIRTUAL(thistype, index) |
| #define | FIELD_TYPE(thisfld) ((thisfld).type) |
| #define | FIELD_NAME(thisfld) ((thisfld).name) |
| #define | FIELD_LOC_KIND(thisfld) ((thisfld).loc_kind) |
| #define | FIELD_BITPOS_LVAL(thisfld) ((thisfld).loc.bitpos) |
| #define | FIELD_BITPOS(thisfld) (FIELD_BITPOS_LVAL (thisfld) + 0) |
| #define | FIELD_ENUMVAL_LVAL(thisfld) ((thisfld).loc.enumval) |
| #define | FIELD_ENUMVAL(thisfld) (FIELD_ENUMVAL_LVAL (thisfld) + 0) |
| #define | FIELD_STATIC_PHYSNAME(thisfld) ((thisfld).loc.physname) |
| #define | FIELD_STATIC_PHYSADDR(thisfld) ((thisfld).loc.physaddr) |
| #define | FIELD_DWARF_BLOCK(thisfld) ((thisfld).loc.dwarf_block) |
| #define | SET_FIELD_BITPOS(thisfld, bitpos) |
| #define | SET_FIELD_ENUMVAL(thisfld, enumval) |
| #define | SET_FIELD_PHYSNAME(thisfld, name) |
| #define | SET_FIELD_PHYSADDR(thisfld, addr) |
| #define | SET_FIELD_DWARF_BLOCK(thisfld, addr) |
| #define | FIELD_ARTIFICIAL(thisfld) ((thisfld).artificial) |
| #define | FIELD_BITSIZE(thisfld) ((thisfld).bitsize) |
| #define | TYPE_FIELD(thistype, n) TYPE_MAIN_TYPE(thistype)->flds_bnds.fields[n] |
| #define | TYPE_FIELD_TYPE(thistype, n) FIELD_TYPE(TYPE_FIELD(thistype, n)) |
| #define | TYPE_FIELD_NAME(thistype, n) FIELD_NAME(TYPE_FIELD(thistype, n)) |
| #define | TYPE_FIELD_LOC_KIND(thistype, n) FIELD_LOC_KIND (TYPE_FIELD (thistype, n)) |
| #define | TYPE_FIELD_BITPOS(thistype, n) FIELD_BITPOS (TYPE_FIELD (thistype, n)) |
| #define | TYPE_FIELD_ENUMVAL(thistype, n) FIELD_ENUMVAL (TYPE_FIELD (thistype, n)) |
| #define | TYPE_FIELD_STATIC_PHYSNAME(thistype, n) FIELD_STATIC_PHYSNAME (TYPE_FIELD (thistype, n)) |
| #define | TYPE_FIELD_STATIC_PHYSADDR(thistype, n) FIELD_STATIC_PHYSADDR (TYPE_FIELD (thistype, n)) |
| #define | TYPE_FIELD_DWARF_BLOCK(thistype, n) FIELD_DWARF_BLOCK (TYPE_FIELD (thistype, n)) |
| #define | TYPE_FIELD_ARTIFICIAL(thistype, n) FIELD_ARTIFICIAL(TYPE_FIELD(thistype,n)) |
| #define | TYPE_FIELD_BITSIZE(thistype, n) FIELD_BITSIZE(TYPE_FIELD(thistype,n)) |
| #define | TYPE_FIELD_PACKED(thistype, n) (FIELD_BITSIZE(TYPE_FIELD(thistype,n))!=0) |
| #define | TYPE_FIELD_PRIVATE_BITS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits |
| #define | TYPE_FIELD_PROTECTED_BITS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits |
| #define | TYPE_FIELD_IGNORE_BITS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits |
| #define | TYPE_FIELD_VIRTUAL_BITS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits |
| #define | SET_TYPE_FIELD_PRIVATE(thistype, n) B_SET (TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits, (n)) |
| #define | SET_TYPE_FIELD_PROTECTED(thistype, n) B_SET (TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits, (n)) |
| #define | SET_TYPE_FIELD_IGNORE(thistype, n) B_SET (TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits, (n)) |
| #define | SET_TYPE_FIELD_VIRTUAL(thistype, n) B_SET (TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits, (n)) |
| #define | TYPE_FIELD_PRIVATE(thistype, n) |
| #define | TYPE_FIELD_PROTECTED(thistype, n) |
| #define | TYPE_FIELD_IGNORE(thistype, n) |
| #define | TYPE_FIELD_VIRTUAL(thistype, n) |
| #define | TYPE_FN_FIELDLISTS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists |
| #define | TYPE_FN_FIELDLIST(thistype, n) TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n] |
| #define | TYPE_FN_FIELDLIST1(thistype, n) TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].fn_fields |
| #define | TYPE_FN_FIELDLIST_NAME(thistype, n) TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].name |
| #define | TYPE_FN_FIELDLIST_LENGTH(thistype, n) TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].length |
| #define | TYPE_N_TEMPLATE_ARGUMENTS(thistype) TYPE_CPLUS_SPECIFIC (thistype)->n_template_arguments |
| #define | TYPE_TEMPLATE_ARGUMENTS(thistype) TYPE_CPLUS_SPECIFIC (thistype)->template_arguments |
| #define | TYPE_TEMPLATE_ARGUMENT(thistype, n) TYPE_CPLUS_SPECIFIC (thistype)->template_arguments[n] |
| #define | TYPE_FN_FIELD(thisfn, n) (thisfn)[n] |
| #define | TYPE_FN_FIELD_PHYSNAME(thisfn, n) (thisfn)[n].physname |
| #define | TYPE_FN_FIELD_TYPE(thisfn, n) (thisfn)[n].type |
| #define | TYPE_FN_FIELD_ARGS(thisfn, n) TYPE_FIELDS ((thisfn)[n].type) |
| #define | TYPE_FN_FIELD_CONST(thisfn, n) ((thisfn)[n].is_const) |
| #define | TYPE_FN_FIELD_VOLATILE(thisfn, n) ((thisfn)[n].is_volatile) |
| #define | TYPE_FN_FIELD_PRIVATE(thisfn, n) ((thisfn)[n].is_private) |
| #define | TYPE_FN_FIELD_PROTECTED(thisfn, n) ((thisfn)[n].is_protected) |
| #define | TYPE_FN_FIELD_ARTIFICIAL(thisfn, n) ((thisfn)[n].is_artificial) |
| #define | TYPE_FN_FIELD_STUB(thisfn, n) ((thisfn)[n].is_stub) |
| #define | TYPE_FN_FIELD_CONSTRUCTOR(thisfn, n) ((thisfn)[n].is_constructor) |
| #define | TYPE_FN_FIELD_FCONTEXT(thisfn, n) ((thisfn)[n].fcontext) |
| #define | TYPE_FN_FIELD_VOFFSET(thisfn, n) ((thisfn)[n].voffset-2) |
| #define | TYPE_FN_FIELD_VIRTUAL_P(thisfn, n) ((thisfn)[n].voffset > 1) |
| #define | TYPE_FN_FIELD_STATIC_P(thisfn, n) ((thisfn)[n].voffset == VOFFSET_STATIC) |
| #define | TYPE_TYPEDEF_FIELD_ARRAY(thistype) TYPE_CPLUS_SPECIFIC (thistype)->typedef_field |
| #define | TYPE_TYPEDEF_FIELD(thistype, n) TYPE_CPLUS_SPECIFIC (thistype)->typedef_field[n] |
| #define | TYPE_TYPEDEF_FIELD_NAME(thistype, n) TYPE_TYPEDEF_FIELD (thistype, n).name |
| #define | TYPE_TYPEDEF_FIELD_TYPE(thistype, n) TYPE_TYPEDEF_FIELD (thistype, n).type |
| #define | TYPE_TYPEDEF_FIELD_COUNT(thistype) TYPE_CPLUS_SPECIFIC (thistype)->typedef_field_count |
| #define | TYPE_TYPEDEF_FIELD_PROTECTED(thistype, n) TYPE_TYPEDEF_FIELD (thistype, n).is_protected |
| #define | TYPE_TYPEDEF_FIELD_PRIVATE(thistype, n) TYPE_TYPEDEF_FIELD (thistype, n).is_private |
| #define | TYPE_NESTED_TYPES_ARRAY(thistype) TYPE_CPLUS_SPECIFIC (thistype)->nested_types |
| #define | TYPE_NESTED_TYPES_FIELD(thistype, n) TYPE_CPLUS_SPECIFIC (thistype)->nested_types[n] |
| #define | TYPE_NESTED_TYPES_FIELD_NAME(thistype, n) TYPE_NESTED_TYPES_FIELD (thistype, n).name |
| #define | TYPE_NESTED_TYPES_FIELD_TYPE(thistype, n) TYPE_NESTED_TYPES_FIELD (thistype, n).type |
| #define | TYPE_NESTED_TYPES_COUNT(thistype) TYPE_CPLUS_SPECIFIC (thistype)->nested_types_count |
| #define | TYPE_NESTED_TYPES_FIELD_PROTECTED(thistype, n) TYPE_NESTED_TYPES_FIELD (thistype, n).is_protected |
| #define | TYPE_NESTED_TYPES_FIELD_PRIVATE(thistype, n) TYPE_NESTED_TYPES_FIELD (thistype, n).is_private |
| #define | TYPE_IS_OPAQUE(thistype) |
| #define | TYPE_SAFE_NAME(type) (TYPE_NAME (type) ? TYPE_NAME (type) : _("<unnamed type>")) |
| #define | TYPE_ERROR_NAME(type) (TYPE_NAME (type) ? TYPE_NAME (type) : _("<error type>")) |
| #define | TYPE_ALLOC(t, size) |
| #define | TYPE_ZALLOC(t, size) |
| #define | LENGTH_MATCH(bv) ((bv)->rank[0]) |
| #define | REFERENCE_CONVERSION_RVALUE 1 |
| #define | REFERENCE_CONVERSION_CONST_LVALUE 2 |
| #define | CV_CONVERSION_CONST 1 |
| #define | CV_CONVERSION_VOLATILE 2 |
Functions | |
| DEFINE_OFFSET_TYPE (cu_offset, unsigned int) | |
| DEFINE_OFFSET_TYPE (sect_offset, unsigned int) | |
| DEF_ENUM_FLAGS_TYPE (enum type_instance_flag_value, type_instance_flags) | |
| bool | operator== (const dynamic_prop &l, const dynamic_prop &r) |
| static bool | operator!= (const dynamic_prop &l, const dynamic_prop &r) |
| bool | operator== (const range_bounds &l, const range_bounds &r) |
| static bool | operator!= (const range_bounds &l, const range_bounds &r) |
| void | allocate_cplus_struct_type (struct type *) |
| void | allocate_gnat_aux_type (struct type *) |
| struct type * | internal_type_self_type (struct type *) |
| void | set_type_self_type (struct type *, struct type *) |
| int | internal_type_vptr_fieldno (struct type *) |
| void | set_type_vptr_fieldno (struct type *, int) |
| struct type * | internal_type_vptr_basetype (struct type *) |
| void | set_type_vptr_basetype (struct type *, struct type *) |
| const struct floatformat * | floatformat_from_type (const struct type *type) |
| const struct builtin_type * | builtin_type (struct gdbarch *gdbarch) |
| const struct objfile_type * | objfile_type (struct objfile *objfile) |
| struct type * | alloc_type (struct objfile *) |
| struct type * | alloc_type_arch (struct gdbarch *) |
| struct type * | alloc_type_copy (const struct type *) |
| struct gdbarch * | get_type_arch (const struct type *) |
| struct type * | get_target_type (struct type *type) |
| unsigned int | type_length_units (struct type *type) |
| struct type * | init_type (struct objfile *, enum type_code, int, const char *) |
| struct type * | init_integer_type (struct objfile *, int, int, const char *) |
| struct type * | init_character_type (struct objfile *, int, int, const char *) |
| struct type * | init_boolean_type (struct objfile *, int, int, const char *) |
| struct type * | init_float_type (struct objfile *, int, const char *, const struct floatformat **) |
| struct type * | init_decfloat_type (struct objfile *, int, const char *) |
| struct type * | init_complex_type (struct objfile *, const char *, struct type *) |
| struct type * | init_pointer_type (struct objfile *, int, const char *, struct type *) |
| struct type * | arch_type (struct gdbarch *, enum type_code, int, const char *) |
| struct type * | arch_integer_type (struct gdbarch *, int, int, const char *) |
| struct type * | arch_character_type (struct gdbarch *, int, int, const char *) |
| struct type * | arch_boolean_type (struct gdbarch *, int, int, const char *) |
| struct type * | arch_float_type (struct gdbarch *, int, const char *, const struct floatformat **) |
| struct type * | arch_decfloat_type (struct gdbarch *, int, const char *) |
| struct type * | arch_complex_type (struct gdbarch *, const char *, struct type *) |
| struct type * | arch_pointer_type (struct gdbarch *, int, const char *, struct type *) |
| struct type * | arch_composite_type (struct gdbarch *gdbarch, const char *name, enum type_code code) |
| void | append_composite_type_field (struct type *t, const char *name, struct type *field) |
| void | append_composite_type_field_aligned (struct type *t, const char *name, struct type *field, int alignment) |
| struct field * | append_composite_type_field_raw (struct type *t, const char *name, struct type *field) |
| struct type * | arch_flags_type (struct gdbarch *gdbarch, const char *name, int bit) |
| void | append_flags_type_field (struct type *type, int start_bitpos, int nr_bits, struct type *field_type, const char *name) |
| void | append_flags_type_flag (struct type *type, int bitpos, const char *name) |
| void | make_vector_type (struct type *array_type) |
| struct type * | init_vector_type (struct type *elt_type, int n) |
| struct type * | lookup_reference_type (struct type *, enum type_code) |
| struct type * | lookup_lvalue_reference_type (struct type *) |
| struct type * | lookup_rvalue_reference_type (struct type *) |
| struct type * | make_reference_type (struct type *, struct type **, enum type_code) |
| struct type * | make_cv_type (int, int, struct type *, struct type **) |
| struct type * | make_restrict_type (struct type *) |
| struct type * | make_unqualified_type (struct type *) |
| struct type * | make_atomic_type (struct type *) |
| void | replace_type (struct type *, struct type *) |
| int | address_space_name_to_int (struct gdbarch *, char *) |
| const char * | address_space_int_to_name (struct gdbarch *, int) |
| struct type * | make_type_with_address_space (struct type *type, int space_identifier) |
| struct type * | lookup_memberptr_type (struct type *, struct type *) |
| struct type * | lookup_methodptr_type (struct type *) |
| void | smash_to_method_type (struct type *type, struct type *self_type, struct type *to_type, struct field *args, int nargs, int varargs) |
| void | smash_to_memberptr_type (struct type *, struct type *, struct type *) |
| void | smash_to_methodptr_type (struct type *, struct type *) |
| struct type * | allocate_stub_method (struct type *) |
| const char * | type_name_no_tag (const struct type *) |
| const char * | type_name_no_tag_or_error (struct type *type) |
| struct type * | lookup_struct_elt_type (struct type *, const char *, int) |
| struct type * | make_pointer_type (struct type *, struct type **) |
| struct type * | lookup_pointer_type (struct type *) |
| struct type * | make_function_type (struct type *, struct type **) |
| struct type * | lookup_function_type (struct type *) |
| struct type * | lookup_function_type_with_arguments (struct type *, int, struct type **) |
| struct type * | create_static_range_type (struct type *, struct type *, LONGEST, LONGEST) |
| struct type * | create_array_type_with_stride (struct type *, struct type *, struct type *, struct dynamic_prop *, unsigned int) |
| struct type * | create_range_type (struct type *, struct type *, const struct dynamic_prop *, const struct dynamic_prop *) |
| struct type * | create_array_type (struct type *, struct type *, struct type *) |
| struct type * | lookup_array_range_type (struct type *, LONGEST, LONGEST) |
| struct type * | create_string_type (struct type *, struct type *, struct type *) |
| struct type * | lookup_string_range_type (struct type *, LONGEST, LONGEST) |
| struct type * | create_set_type (struct type *, struct type *) |
| struct type * | lookup_unsigned_typename (const struct language_defn *, struct gdbarch *, const char *) |
| struct type * | lookup_signed_typename (const struct language_defn *, struct gdbarch *, const char *) |
| void | get_unsigned_type_max (struct type *, ULONGEST *) |
| void | get_signed_type_minmax (struct type *, LONGEST *, LONGEST *) |
| struct type * | resolve_dynamic_type (struct type *type, const gdb_byte *valaddr, CORE_ADDR addr) |
| int | is_dynamic_type (struct type *type) |
| struct dynamic_prop * | get_dyn_prop (enum dynamic_prop_node_kind kind, const struct type *type) |
| void | add_dyn_prop (enum dynamic_prop_node_kind kind, struct dynamic_prop prop, struct type *type, struct objfile *objfile) |
| void | remove_dyn_prop (enum dynamic_prop_node_kind prop_kind, struct type *type) |
| struct type * | check_typedef (struct type *) |
| void | check_stub_method_group (struct type *, int) |
| char * | gdb_mangle_name (struct type *, int, int) |
| struct type * | lookup_typename (const struct language_defn *, struct gdbarch *, const char *, const struct block *, int) |
| struct type * | lookup_template_type (char *, struct type *, const struct block *) |
| int | get_vptr_fieldno (struct type *, struct type **) |
| int | get_discrete_bounds (struct type *, LONGEST *, LONGEST *) |
| int | get_array_bounds (struct type *type, LONGEST *low_bound, LONGEST *high_bound) |
| int | discrete_position (struct type *type, LONGEST val, LONGEST *pos) |
| int | class_types_same_p (const struct type *, const struct type *) |
| int | is_ancestor (struct type *, struct type *) |
| int | is_public_ancestor (struct type *, struct type *) |
| int | is_unique_ancestor (struct type *, struct value *) |
| struct rank | sum_ranks (struct rank a, struct rank b) |
| int | compare_ranks (struct rank a, struct rank b) |
| int | compare_badness (struct badness_vector *, struct badness_vector *) |
| struct badness_vector * | rank_function (struct type **, int, struct value **, int) |
| struct rank | rank_one_type (struct type *, struct type *, struct value *) |
| void | recursive_dump_type (struct type *, int) |
| int | field_is_static (struct field *) |
| void | print_scalar_formatted (const gdb_byte *, struct type *, const struct value_print_options *, int, struct ui_file *) |
| int | can_dereference (struct type *) |
| int | is_integral_type (struct type *) |
| int | is_floating_type (struct type *) |
| int | is_scalar_type (struct type *type) |
| int | is_scalar_type_recursive (struct type *) |
| int | class_or_union_p (const struct type *) |
| void | maintenance_print_type (const char *, int) |
| htab_t | create_copied_types_hash (struct objfile *objfile) |
| struct type * | copy_type_recursive (struct objfile *objfile, struct type *type, htab_t copied_types) |
| struct type * | copy_type (const struct type *type) |
| int | types_equal (struct type *, struct type *) |
| int | types_deeply_equal (struct type *, struct type *) |
| int | type_not_allocated (const struct type *type) |
| int | type_not_associated (const struct type *type) |
Variables | |
| const struct cplus_struct_type | cplus_struct_default |
| const struct gnat_aux_type | gnat_aux_default |
| const struct floatformat * | floatformats_ieee_half [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_ieee_single [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_ieee_double [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_ieee_double_littlebyte_bigword [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_i387_ext [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_m68881_ext [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_arm_ext [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_ia64_spill [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_ia64_quad [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_vax_f [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_vax_d [BFD_ENDIAN_UNKNOWN] |
| const struct floatformat * | floatformats_ibm_long_double [BFD_ENDIAN_UNKNOWN] |
| const struct rank | LENGTH_MISMATCH_BADNESS |
| const struct rank | TOO_FEW_PARAMS_BADNESS |
| const struct rank | INCOMPATIBLE_TYPE_BADNESS |
| const struct rank | EXACT_MATCH_BADNESS |
| const struct rank | INTEGER_PROMOTION_BADNESS |
| const struct rank | FLOAT_PROMOTION_BADNESS |
| const struct rank | BASE_PTR_CONVERSION_BADNESS |
| const struct rank | INTEGER_CONVERSION_BADNESS |
| const struct rank | FLOAT_CONVERSION_BADNESS |
| const struct rank | INT_FLOAT_CONVERSION_BADNESS |
| const struct rank | VOID_PTR_CONVERSION_BADNESS |
| const struct rank | BOOL_CONVERSION_BADNESS |
| const struct rank | BASE_CONVERSION_BADNESS |
| const struct rank | REFERENCE_CONVERSION_BADNESS |
| const struct rank | NULL_POINTER_CONVERSION |
| const struct rank | CV_CONVERSION_BADNESS |
| const struct rank | NS_POINTER_CONVERSION_BADNESS |
| const struct rank | NS_INTEGER_POINTER_CONVERSION_BADNESS |
| #define ALLOCATE_CPLUS_STRUCT_TYPE | ( | type | ) | allocate_cplus_struct_type (type) |
Definition at line 1197 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), dwarf2_attach_fn_fields_to_type(), gnuv3_dynamic_class(), process_structure_scope(), read_baseclasses(), read_member_functions(), set_type_vptr_basetype(), and set_type_vptr_fieldno().
| #define ALLOCATE_GNAT_AUX_TYPE | ( | type | ) | allocate_gnat_aux_type (type) |
Definition at line 1210 of file gdbtypes.h.
Referenced by set_descriptive_type().
| #define B_BYTES | ( | x | ) | ( 1 + ((x)>>3) ) |
Definition at line 74 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and read_baseclasses().
| #define B_CLR | ( | a, | |
| x | |||
| ) | ((a)[(x)>>3] &= ~(1 << ((x)&7))) |
Definition at line 71 of file gdbtypes.h.
Definition at line 75 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and read_baseclasses().
| #define B_SET | ( | a, | |
| x | |||
| ) | ((a)[(x)>>3] |= (1 << ((x)&7))) |
Definition at line 70 of file gdbtypes.h.
| #define B_TST | ( | a, | |
| x | |||
| ) | ((a)[(x)>>3] & (1 << ((x)&7))) |
Definition at line 72 of file gdbtypes.h.
Referenced by print_bit_vector().
| #define B_TYPE unsigned char |
Definition at line 73 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and read_baseclasses().
| #define BASETYPE_VIA_PUBLIC | ( | thistype, | |
| index | |||
| ) | ((!TYPE_FIELD_PRIVATE(thistype, index)) && (!TYPE_FIELD_PROTECTED(thistype, index))) |
Definition at line 1334 of file gdbtypes.h.
Referenced by cp_type_print_derivation_info(), distance_to_ancestor(), dynamic_cast_check_2(), make_symbol_overload_list_adl_namespace(), and pascal_type_print_derivation_info().
| #define BASETYPE_VIA_VIRTUAL | ( | thistype, | |
| index | |||
| ) |
Definition at line 1338 of file gdbtypes.h.
Referenced by cp_print_value(), cp_type_print_derivation_info(), do_search_struct_field(), find_method_list(), gnuv2_baseclass_offset(), gnuv3_baseclass_offset(), gnuv3_dynamic_class(), gnuv3_find_method_in(), pascal_object_print_value(), pascal_type_print_derivation_info(), search_struct_method(), value_primitive_field(), and value_struct_elt_for_reference().
| #define CV_CONVERSION_CONST 1 |
Definition at line 1950 of file gdbtypes.h.
Referenced by rank_one_type().
| #define CV_CONVERSION_VOLATILE 2 |
Definition at line 1951 of file gdbtypes.h.
Referenced by rank_one_type().
| #define FIELD_ARTIFICIAL | ( | thisfld | ) | ((thisfld).artificial) |
Definition at line 1367 of file gdbtypes.h.
Referenced by check_types_equal(), cp_type_print_method_args(), dwarf2_add_field(), and gdbscm_field_artificial_p().
| #define FIELD_BITPOS | ( | thisfld | ) | (FIELD_BITPOS_LVAL (thisfld) + 0) |
Definition at line 1346 of file gdbtypes.h.
Referenced by append_composite_type_field_aligned(), check_types_equal(), dwarf2_add_field(), gdbscm_field_bitpos(), gdbscm_field_bitsize(), mips_n32n64_return_value(), mips_o32_return_value(), and read_one_struct_field().
| #define FIELD_BITPOS_LVAL | ( | thisfld | ) | ((thisfld).loc.bitpos) |
Definition at line 1345 of file gdbtypes.h.
| #define FIELD_BITSIZE | ( | thisfld | ) | ((thisfld).bitsize) |
Definition at line 1368 of file gdbtypes.h.
Referenced by check_types_equal(), coff_read_struct_type(), dwarf2_add_field(), tdesc_type_with_fields::make_gdb_type_struct(), parse_symbol(), process_enumeration_scope(), read_baseclasses(), read_cpp_abbrev(), and read_one_struct_field().
| #define FIELD_DWARF_BLOCK | ( | thisfld | ) | ((thisfld).loc.dwarf_block) |
Definition at line 1351 of file gdbtypes.h.
Referenced by call_site_to_target_addr(), and check_types_equal().
| #define FIELD_ENUMVAL | ( | thisfld | ) | (FIELD_ENUMVAL_LVAL (thisfld) + 0) |
Definition at line 1348 of file gdbtypes.h.
Referenced by check_types_equal(), and gdbscm_field_enumval().
| #define FIELD_ENUMVAL_LVAL | ( | thisfld | ) | ((thisfld).loc.enumval) |
Definition at line 1347 of file gdbtypes.h.
| #define FIELD_LOC_KIND | ( | thisfld | ) | ((thisfld).loc_kind) |
Definition at line 1344 of file gdbtypes.h.
Referenced by call_site_to_target_addr(), check_types_equal(), and field_is_static().
| #define FIELD_NAME | ( | thisfld | ) | ((thisfld).name) |
Definition at line 1343 of file gdbtypes.h.
Referenced by append_composite_type_field_raw(), build_gdb_vtable_type(), build_std_type_info_type(), check_types_equal(), dwarf2_add_field(), gdbscm_field_name(), parse_symbol(), process_enumeration_scope(), and rust_composite_type().
| #define FIELD_STATIC_PHYSADDR | ( | thisfld | ) | ((thisfld).loc.physaddr) |
Definition at line 1350 of file gdbtypes.h.
Referenced by call_site_to_target_addr(), and check_types_equal().
| #define FIELD_STATIC_PHYSNAME | ( | thisfld | ) | ((thisfld).loc.physname) |
Definition at line 1349 of file gdbtypes.h.
Referenced by call_site_to_target_addr(), and check_types_equal().
| #define FIELD_TYPE | ( | thisfld | ) | ((thisfld).type) |
Definition at line 1342 of file gdbtypes.h.
Referenced by append_composite_type_field_aligned(), append_composite_type_field_raw(), build_gdb_vtable_type(), build_std_type_info_type(), check_types_equal(), coff_read_struct_type(), dwarf2_add_field(), gdbscm_field_type(), parse_symbol(), process_enumeration_scope(), read_one_struct_field(), and rust_composite_type().
| #define HAVE_CPLUS_STRUCT | ( | type | ) |
Definition at line 1199 of file gdbtypes.h.
Referenced by allocate_cplus_struct_type(), internal_type_vptr_fieldno(), pascal_type_print_base(), print_field_values(), recursive_dump_type(), set_type_vptr_basetype(), and set_type_vptr_fieldno().
| #define HAVE_GNAT_AUX_INFO | ( | type | ) | (TYPE_SPECIFIC_FIELD (type) == TYPE_SPECIFIC_GNAT_STUFF) |
A macro that returns non-zero if the type-specific data should be read as "gnat-stuff".
Definition at line 1213 of file gdbtypes.h.
Referenced by ada_find_parallel_type_with_name(), find_parallel_type_by_descriptive_type(), and set_die_type().
| #define INIT_CPLUS_SPECIFIC | ( | type | ) |
Definition at line 1192 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), arch_composite_type(), build_gdb_vtable_type(), build_std_type_info_type(), coff_read_struct_type(), copy_type_recursive(), decode_base_type(), empty_record(), new_type(), read_struct_type(), read_structure_type(), read_type(), set_type_code(), template_to_static_fixed_type(), and to_record_with_fixed_variant_part().
| #define INIT_FUNC_SPECIFIC | ( | type | ) |
Definition at line 1216 of file gdbtypes.h.
Referenced by copy_type_recursive(), make_function_type(), set_type_code(), and set_type_self_type().
| #define INIT_GNAT_SPECIFIC | ( | type | ) |
Definition at line 1207 of file gdbtypes.h.
Referenced by copy_type_recursive(), and set_die_type().
| #define LENGTH_MATCH | ( | bv | ) | ((bv)->rank[0]) |
Definition at line 1905 of file gdbtypes.h.
Referenced by rank_function().
| #define NULL_TYPE ((struct type *) 0) |
Definition at line 810 of file gdbtypes.h.
Referenced by ada_evaluate_subexp(), evaluate_expression(), evaluate_funcall(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_type(), evaluate_subexp_with_coercion(), evaluate_subexpression_type(), evaluate_type(), fetch_subexp_value(), init_array_element(), rust_evaluate_funcall(), rust_evaluate_subexp(), rust_range(), rust_subscript(), and value_f90_subarray().
| #define REFERENCE_CONVERSION_CONST_LVALUE 2 |
Conversion to const lvalue reference.
Definition at line 1943 of file gdbtypes.h.
Referenced by rank_one_type().
| #define REFERENCE_CONVERSION_RVALUE 1 |
Conversion to rvalue reference.
Definition at line 1941 of file gdbtypes.h.
Referenced by rank_one_type().
| #define SET_FIELD_BITPOS | ( | thisfld, | |
| bitpos | |||
| ) |
Definition at line 1352 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), append_composite_type_field_aligned(), append_flags_type_field(), build_gdb_vtable_type(), build_std_type_info_type(), coff_read_struct_type(), copy_type_recursive(), dwarf2_add_field(), tdesc_type_with_fields::make_gdb_type_enum(), tdesc_type_with_fields::make_gdb_type_struct(), parse_symbol(), read_baseclasses(), read_cpp_abbrev(), read_one_struct_field(), and rust_composite_type().
| #define SET_FIELD_DWARF_BLOCK | ( | thisfld, | |
| addr | |||
| ) |
Definition at line 1364 of file gdbtypes.h.
Referenced by read_call_site_scope().
| #define SET_FIELD_ENUMVAL | ( | thisfld, | |
| enumval | |||
| ) |
Definition at line 1355 of file gdbtypes.h.
Referenced by coff_read_enum_type(), copy_type_recursive(), parse_symbol(), process_enumeration_scope(), and read_enum_type().
| #define SET_FIELD_PHYSADDR | ( | thisfld, | |
| addr | |||
| ) |
Definition at line 1361 of file gdbtypes.h.
Referenced by copy_type_recursive(), and read_call_site_scope().
| #define SET_FIELD_PHYSNAME | ( | thisfld, | |
| name | |||
| ) |
Definition at line 1358 of file gdbtypes.h.
Referenced by copy_type_recursive(), dwarf2_add_field(), read_call_site_scope(), and read_one_struct_field().
| #define SET_TYPE_FIELD_IGNORE | ( | thistype, | |
| n | |||
| ) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits, (n)) |
Definition at line 1395 of file gdbtypes.h.
Referenced by attach_fields_to_type().
| #define SET_TYPE_FIELD_PRIVATE | ( | thistype, | |
| n | |||
| ) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits, (n)) |
Definition at line 1391 of file gdbtypes.h.
Referenced by attach_fields_to_type(), and dwarf2_attach_fields_to_type().
| #define SET_TYPE_FIELD_PROTECTED | ( | thistype, | |
| n | |||
| ) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits, (n)) |
Definition at line 1393 of file gdbtypes.h.
Referenced by attach_fields_to_type(), and dwarf2_attach_fields_to_type().
| #define SET_TYPE_FIELD_VIRTUAL | ( | thistype, | |
| n | |||
| ) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits, (n)) |
Definition at line 1397 of file gdbtypes.h.
Referenced by dwarf2_attach_fields_to_type(), and read_baseclasses().
| #define TYPE_ADDRESS_CLASS_1 | ( | t | ) |
Address class flags. Some environments provide for pointers whose size is different from that of a normal pointer or address types where the bits are interpreted differently than normal addresses. The TYPE_INSTANCE_FLAG_ADDRESS_CLASS_n flags may be used in target specific ways to represent these different types of address classes.
Definition at line 367 of file gdbtypes.h.
Referenced by ft32_pointer_to_address(), recursive_dump_type(), and spu_pointer_to_address().
| #define TYPE_ADDRESS_CLASS_2 | ( | t | ) |
Definition at line 369 of file gdbtypes.h.
Referenced by recursive_dump_type().
| #define TYPE_ADDRESS_CLASS_ALL | ( | t | ) |
Definition at line 373 of file gdbtypes.h.
Referenced by replace_type().
| #define TYPE_ALLOC | ( | t, | |
| size | |||
| ) |
Allocate space for storing data associated with a particular type. We ensure that the space is allocated using the same mechanism that was used to allocate the space for the type structure itself. I.e. if the type is on an objfile's objfile_obstack, then the space for data associated with that type will also be allocated on the objfile_obstack. If the type is not associated with any particular objfile (such as builtin types), then the data space will be allocated with xmalloc, the same as for the type structure.
Definition at line 1652 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), allocate_cplus_struct_type(), allocate_gnat_aux_type(), attach_fields_to_type(), check_stub_method(), coff_read_enum_type(), coff_read_struct_type(), define_symbol(), dwarf2_attach_fields_to_type(), dwarf2_attach_fn_fields_to_type(), finish_block_internal(), parse_symbol(), patch_type(), process_enumeration_scope(), process_structure_scope(), read_baseclasses(), read_enum_type(), read_member_functions(), read_type(), resolve_dynamic_struct(), resolve_dynamic_union(), template_to_static_fixed_type(), and to_record_with_fixed_variant_part().
| #define TYPE_ALLOCATED_PROP | ( | thistype | ) | get_dyn_prop (DYN_PROP_ALLOCATED, thistype) |
Definition at line 1268 of file gdbtypes.h.
Referenced by is_dynamic_type_internal(), resolve_dynamic_array(), and type_not_allocated().
| #define TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED | ( | arraytype | ) | TYPE_LOW_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
Definition at line 1288 of file gdbtypes.h.
Referenced by f77_get_lowerbound(), and get_array_bounds().
| #define TYPE_ARRAY_LOWER_BOUND_VALUE | ( | arraytype | ) | (TYPE_LOW_BOUND(TYPE_INDEX_TYPE((arraytype)))) |
Definition at line 1294 of file gdbtypes.h.
Referenced by assign_aggregate(), f77_get_lowerbound(), and pascal_type_print_varspec_prefix().
| #define TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED | ( | arraytype | ) | TYPE_HIGH_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
Definition at line 1286 of file gdbtypes.h.
Referenced by c_number_of_children(), f77_get_upperbound(), f_type_print_base(), f_type_print_varspec_suffix(), get_array_bounds(), m2_array(), pascal_type_print_varspec_prefix(), value_cast(), and value_subscripted_rvalue().
| #define TYPE_ARRAY_UPPER_BOUND_VALUE | ( | arraytype | ) | (TYPE_HIGH_BOUND(TYPE_INDEX_TYPE((arraytype)))) |
Definition at line 1291 of file gdbtypes.h.
Referenced by assign_aggregate(), f77_get_upperbound(), and pascal_type_print_varspec_prefix().
| #define TYPE_ASSOCIATED_PROP | ( | thistype | ) | get_dyn_prop (DYN_PROP_ASSOCIATED, thistype) |
Definition at line 1270 of file gdbtypes.h.
Referenced by is_dynamic_type_internal(), resolve_dynamic_array(), and type_not_associated().
| #define TYPE_ATOMIC | ( | t | ) | ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_ATOMIC) != 0) |
Atomic type. If this is set, the corresponding type has an _Atomic modifier.
Definition at line 327 of file gdbtypes.h.
Referenced by c_type_print_modifier(), cp_type_print_method_args(), and recursive_dump_type().
| #define TYPE_BASECLASS | ( | thistype, | |
| index | |||
| ) | TYPE_FIELD_TYPE(thistype, index) |
Definition at line 1330 of file gdbtypes.h.
Referenced by add_struct_fields(), check_field(), cp_find_type_baseclass_by_name(), cp_print_value(), cp_type_print_derivation_info(), define_symbol(), distance_to_ancestor(), do_search_struct_field(), dynamic_cast_check_1(), dynamic_cast_check_2(), find_method_list(), find_methods(), find_symbol_in_baseclass(), gen_struct_ref_recursive(), gen_trace_static_fields(), get_vptr_fieldno(), gnuv2_baseclass_offset(), is_unique_ancestor_worker(), lookup_struct_elt_type(), make_symbol_overload_list_adl_namespace(), pascal_object_print_value(), pascal_type_print_derivation_info(), recursively_update_typedef_hash(), search_struct_method(), and value_struct_elt_for_reference().
| #define TYPE_BASECLASS_BITPOS | ( | thistype, | |
| index | |||
| ) | TYPE_FIELD_BITPOS(thistype,index) |
Definition at line 1333 of file gdbtypes.h.
Referenced by do_search_struct_field(), find_method_list(), gen_struct_ref_recursive(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv3_baseclass_offset(), gnuv3_find_method_in(), search_struct_method(), and value_struct_elt_for_reference().
| #define TYPE_BASECLASS_NAME | ( | thistype, | |
| index | |||
| ) | TYPE_FIELD_NAME(thistype, index) |
Definition at line 1332 of file gdbtypes.h.
Referenced by cp_find_type_baseclass_by_name(), define_symbol(), do_search_struct_field(), and find_symbol_in_baseclass().
| #define TYPE_CALLING_CONVENTION | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->calling_convention |
Definition at line 1327 of file gdbtypes.h.
Referenced by copy_type_recursive(), ppc_sysv_use_opencl_abi(), read_subroutine_type(), recursive_dump_type(), sh_is_renesas_calling_convention(), and spu_return_value().
| #define TYPE_CHAIN | ( | thistype | ) | (thistype)->chain |
Definition at line 1230 of file gdbtypes.h.
Referenced by alloc_type(), alloc_type_arch(), alloc_type_instance(), fake_method::fake_method(), make_pointer_type(), make_qualified_type(), make_reference_type(), recursive_dump_type(), replace_type(), set_length_in_type_chain(), and smash_type().
| #define TYPE_CODE | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->code |
Note that TYPE_CODE can be TYPE_CODE_TYPEDEF, so if you want the real type, you need to do TYPE_CODE (check_type (this_type)).
Definition at line 1238 of file gdbtypes.h.
Referenced by aarch64_push_dummy_call(), aarch64_return_value(), aarch64_store_return_value(), aarch64_type_align(), ada_args_match(), ada_array_arity(), ada_array_bound(), ada_array_bound_from_type(), ada_array_element_type(), ada_array_length(), ada_check_typedef(), ada_coerce_ref(), ada_convert_actual(), ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_evaluate_subexp(), ada_get_base_type(), ada_get_decoded_value(), ada_index_type(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_array_type(), ada_is_bogus_array_descriptor(), ada_is_character_type(), ada_is_direct_array_type(), ada_is_dispatch_table_ptr_type(), ada_is_modular_type(), ada_is_redundant_range_encoding(), ada_is_simple_array_type(), ada_is_string_type(), ada_is_tag_type(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_prefer_type(), ada_print_scalar(), ada_print_subexp(), ada_print_symbol_signature(), ada_print_type(), ada_promote_array_of_integrals(), ada_tag_value_at_base_address(), ada_tasks_inferior_data_sniffer(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type(), ada_to_fixed_type_1(), ada_type_match(), ada_typedef_target_type(), ada_val_print_1(), ada_val_print_gnat_array(), ada_val_print_num(), ada_val_print_ref(), ada_value_assign(), ada_value_binop(), ada_value_equal(), ada_value_is_changeable_p(), ada_value_print(), ada_value_ptr_subscript(), ada_value_struct_elt(), ada_value_subscript(), ada_variant_discrim_name(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_child(), ada_varobj_describe_simple_array_child(), ada_varobj_describe_struct_child(), ada_varobj_get_number_of_children(), ada_varobj_get_ptr_number_of_children(), ada_varobj_get_struct_number_of_children(), ada_varobj_get_value_of_variable(), ada_varobj_ind(), add_array_cv_type(), add_struct_fields(), add_symtab_completions(), address_of_variable(), adjust_type_signedness(), adjust_value_for_child_access(), alloc_type(), alloc_type_arch(), allocate_stub_method(), alpha_extract_return_value(), alpha_push_dummy_call(), alpha_return_value(), alpha_store_return_value(), amd64_classify(), amd64_classify_aggregate(), amd64_non_pod_p(), amd64_windows_passed_by_integer_register(), amd64_windows_passed_by_xmm_register(), amd64_windows_return_value(), append_composite_type_field_aligned(), append_flags_type_field(), arc_return_value(), arm_extract_return_value(), arm_push_dummy_call(), arm_register_type(), arm_return_in_memory(), arm_return_value(), arm_store_return_value(), arm_type_align(), arm_vfp_cprc_sub_candidate(), assign_aggregate(), assign_component(), avr_address_to_pointer(), avr_pointer_to_address(), base_types_equal_p(), binop_promote(), binop_types_user_defined_p(), BP_MANIPULATION(), bpfinishpy_init(), c_describe_child(), c_get_string(), c_is_path_expr_parent(), c_number_of_children(), c_print_type_1(), c_print_typedef(), c_textual_element_type(), c_type_print_base_1(), c_type_print_base_struct_union(), c_type_print_varspec_prefix(), c_type_print_varspec_suffix(), c_val_print(), c_value_of_variable(), c_value_print(), calc_f77_array_dims(), call_function_by_hand_dummy(), call_xmethod(), can_dereference(), can_use_hardware_watchpoint(), cast_into_complex(), check_parameter_typelist(), check_typedef(), check_types_equal(), class_or_union_p(), classify_type(), cleanup_undefined_types_1(), cleanup_undefined_types_noname(), coerce_array(), coerce_for_assign(), coff_read_enum_type(), coff_read_struct_type(), collection_list::collect_symbol(), compare_parameters(), compile_object_load(), compile_object_run(), complain_about_struct_wipeout(), complete_expression(), completion_list_add_fields(), compute_vtable_size(), constrained_packed_array_type(), convert_ast_to_expression(), convert_char_literal(), convert_field(), convert_one_symbol(), convert_struct_or_union(), convert_type_basic(), copy_type_recursive(), cp_is_vtbl_member(), cp_lookup_nested_symbol(), cp_lookup_rtti_type(), cp_print_static_field(), cp_search_static_and_baseclasses(), cp_type_print_method_args(), cplus_describe_child(), cplus_number_of_children(), create_array_type_with_stride(), create_range_type(), create_set_type(), create_string_type(), create_value(), cris_return_value(), d_lookup_nested_symbol(), d_val_print(), decode_base_type(), decode_constrained_packed_array(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), default_collect_symbol_completion_matches_break_on(), default_print_one_register_info(), default_register_reggroup_p(), define_symbol(), desc_base_type(), desc_bounds(), desc_bounds_type(), desc_data_target_type(), desc_index_type(), discrete_position(), discrete_type_p(), do_ppc_sysv_return_value(), do_search_struct_field(), dwarf2_add_member_fn(), dwarf2_compute_name(), dwarf2_evaluate_loc_desc_full(), dwarf_require_integral(), dynamic_array_type(), dynamic_template_type(), empty_record(), enum_constant_from_type(), equiv_types(), eval_call(), evaluate_funcall(), evaluate_struct_tuple(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), extract_typed_address(), f77_get_dynamic_length_of_aggregate(), f_print_type(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), f_val_print(), fake_method::fake_method(), find_function_addr(), find_overload_match(), find_size_for_pointer_math(), finish_command_fsm_should_stop(), fixed_type_info(), floatformat_from_type(), fp_register_arg_p(), frv_push_dummy_call(), frv_return_value(), func_addr_to_tail_call_list(), gccgo_string_p(), gdbpy_create_lazy_string_object(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_field_baseclass_p(), gdbscm_field_bitpos(), gdbscm_field_enumval(), gdbscm_type_code(), gdbscm_type_range(), gdbscm_value_call(), gdbscm_value_dynamic_type(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_bool(), gdbscm_value_to_integer(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), gen_address_of(), gen_aggregate_elt_ref(), gen_binop(), gen_cast(), gen_complement(), gen_deref(), gen_expr(), gen_expr_binop_rest(), gen_expr_for_cast(), gen_fetch(), gen_logical_not(), gen_ptradd(), gen_ptrsub(), gen_repeat(), gen_struct_elt_for_reference(), gen_struct_ref(), gen_traced_pop(), gen_usual_arithmetic(), gen_usual_unary(), generate_register_struct(), generate_vla_size(), generic_val_print(), generic_val_print_ref(), get_base_type(), get_call_return_value(), get_decimal_float_return_value(), get_discrete_bounds(), get_internalvar_integer(), get_long_set_bounds(), get_number_trailer(), get_out_value_type(), get_regs_type(), get_return_value(), get_signed_type_minmax(), get_target_float_ops(), get_target_float_ops_kind(), get_unsigned_type_max(), get_value_at(), gnuv2_value_rtti_type(), gnuv2_virtual_fn_field(), gnuv3_dynamic_class(), gnuv3_get_typeid(), gnuv3_get_vtable(), gnuv3_pass_by_reference(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), go_print_type(), go_val_print(), h8300_extract_return_value(), h8300_use_struct_convention(), h8300h_extract_return_value(), h8300h_use_struct_convention(), has_negatives(), hppa32_push_dummy_call(), hppa32_return_value(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_extract_return_value(), i386_m128_p(), i386_reg_struct_return_p(), i386_return_value(), i386_store_return_value(), i387_convert_register_p(), i387_register_to_value(), i387_value_to_register(), ia64_convert_register_p(), ia64_push_dummy_call(), ia64_register_reggroup_p(), ia64_struct_type_p(), ia64_use_struct_convention(), indirect_pieced_value(), inspect_type(), install_new_value(), integer_type_p(), internal_type_self_type(), internal_type_vptr_basetype(), internal_type_vptr_fieldno(), iq2000_address_to_pointer(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), iq2000_use_struct_convention(), is_dynamic_field(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_floating_type(), is_hfa_or_hva(), is_integral_type(), is_intlike(), is_nonfunction(), is_pascal_string_type(), is_scalar_type(), is_scalar_type_recursive(), is_thick_pntr(), isvoid_internal_fn(), language_bool_type(), lesseq_defined_than(), linespec_parse_variable(), list_args_or_locals(), lm32_extract_return_value(), lm32_return_value(), lookup_enum(), lookup_function_type_with_arguments(), lookup_opencl_vector_type(), lookup_string_range_type(), lookup_struct(), lookup_struct_elt_type(), lookup_struct_typedef(), lookup_symbol_aux(), lookup_template_type(), lookup_union(), lsscm_elt_type(), lsscm_safe_lazy_string_to_value(), lval_func_read(), lval_func_write(), m2_get_discrete_bounds(), m2_is_long_set(), m2_is_long_set_of_type(), m2_is_unbounded_array(), m2_print_array_contents(), m2_print_type(), m2_procedure(), m2_record_fields(), m2_val_print(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_push_dummy_call(), m32c_reg_arg_type(), m32c_return_by_passed_buf(), m32r_push_dummy_call(), m68hc11_return_value(), m68k_convert_register_p(), m68k_push_dummy_call(), m68k_reg_struct_return_p(), m68k_register_to_value(), m68k_return_value(), m68k_svr4_extract_return_value(), m68k_svr4_return_value(), m68k_svr4_store_return_value(), m68k_value_to_register(), m88k_floating_p(), m88k_integral_or_pointer_p(), m88k_structure_or_union_p(), make_array_descriptor(), make_function_type(), make_pointer_type(), make_reference_type(), make_symbol_overload_list_adl_namespace(), make_vector_type(), match_endianness(), mi_print_value_p(), mips_convert_register_float_case_p(), mips_eabi_push_dummy_call(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_push_dummy_call(), mips_n32n64_return_value(), mips_o32_push_dummy_call(), mips_o32_return_value(), mips_o64_push_dummy_call(), mips_o64_return_value(), mips_register_reggroup_p(), mips_type_needs_double_align(), mn10300_extract_return_value(), mn10300_push_dummy_call(), mn10300_store_return_value(), mn10300_type_align(), mn10300_use_struct_convention(), msp430_push_dummy_call(), msp430_return_value(), nds32_check_calling_use_fpr(), nds32_type_align(), new_symbol_full(), numeric_type_p(), opencl_logical_not(), opencl_print_type(), opencl_relop(), opencl_value_cast(), or1k_push_dummy_call(), or1k_return_value(), pack_long(), pack_unsigned_long(), package_name_p(), parse_old_style_renaming(), parse_procedure(), parse_symbol(), parse_type(), pascal_object_is_vtbl_member(), pascal_object_print_static_field(), pascal_print_type(), pascal_type_print_base(), pascal_type_print_func_varspec_suffix(), pascal_type_print_varspec_prefix(), pascal_type_print_varspec_suffix(), pascal_val_print(), pascal_value_print(), pass_in_x(), patch_opaque_types(), pointer_type(), ppc64_aggregate_candidate(), ppc64_elfv2_abi_homogeneous_aggregate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_freg(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc64_sysv_abi_return_value_base(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), ppcnbsd_return_value(), print_array_type(), print_command_1(), print_formatted(), print_func_type(), print_optional_low_bound(), print_range(), print_range_bound(), print_range_type(), print_return_value(), print_scalar_formatted(), print_subexp_standard(), print_symbol(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), print_variable_or_computed(), print_variant_clauses(), printf_floating(), process_coff_symbol(), ptrmath_type_p(), py_print_value(), quirk_gcc_member_function_pointer(), rank_one_type(), read_args(), read_call_site_scope(), read_enum_type(), read_enumeration_type(), read_fat_string_value(), read_member_functions(), read_namespace_alias(), read_one_struct_field(), read_struct_type(), read_structure_type(), read_subrange_type(), read_tag_const_type(), read_tag_ptr_to_member_type(), read_tag_volatile_type(), read_type(), recursive_dump_type(), require_rvalue(), resolve_dynamic_array(), resolve_dynamic_range(), resolve_dynamic_struct(), resolve_dynamic_type_internal(), resolve_dynamic_union(), resolve_subexp(), result_type_of_xmethod(), return_command(), return_match(), rl78_pointer_to_address(), rs6000_convert_register_p(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_register_to_value(), rs6000_return_value(), rs6000_value_to_register(), rust_chartype_p(), rust_composite_type(), rust_evaluate_funcall(), rust_evaluate_subexp(), rust_get_trait_object_pointer(), rust_print_struct_def(), rust_print_type(), rust_range_type_p(), rust_slice_type_p(), rust_subscript(), rust_tuple_type_p(), rust_type_alignment(), rust_u8_type_p(), rust_underscore_fields(), rust_val_print(), rx_push_dummy_call(), rx_return_value(), s390_effective_inner_type(), s390_function_arg_float(), s390_function_arg_integer(), s390_function_arg_vector(), s390_push_dummy_call(), s390_register_return_value(), s390_return_value(), scalar_binop(), scalar_type_p(), score_push_dummy_call(), score_return_value(), score_type_needs_double_align(), search_symbols(), set_decnumber_context(), set_die_type(), set_internalvar(), set_type_code(), set_type_self_type(), set_type_vptr_basetype(), set_type_vptr_fieldno(), sh64_extract_return_value(), sh64_media_print_registers_info(), sh64_print_register(), sh64_push_dummy_call(), sh64_store_return_value(), sh_is_renesas_calling_convention(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_treat_as_flt_p(), sh_use_struct_convention(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_extract_return_value(), sparc32_store_arguments(), sparc32_struct_return_from_sym(), sparc64_16_byte_align_p(), sparc64_complex_floating_p(), sparc64_extract_floating_fields(), sparc64_extract_return_value(), sparc64_floating_p(), sparc64_integral_or_pointer_p(), sparc64_store_floating_fields(), sparc64_store_return_value(), sparc64_structure_or_union_p(), sparc_arg_on_registers_p(), sparc_complex_floating_p(), sparc_floating_p(), sparc_integral_or_pointer_p(), sparc_structure_or_union_p(), sparc_structure_return_p(), spu_return_value(), spu_scalar_value_p(), store_regs(), store_typed_address(), stpy_convert_to_value(), stpy_lazy_string_elt_type(), struct_return_convention(), symbol_is_function_or_method(), symbols_are_identical_enums(), target_float_format_length(), target_float_is_valid(), target_float_is_zero(), target_float_same_category_p(), target_float_same_format_p(), target_float_to_string(), template_to_static_fixed_type(), thin_data_pntr(), tic6x_arg_type_alignment(), tic6x_push_dummy_call(), tilegx_type_is_scalar(), to_fixed_range_type(), to_fixed_variant_branch_type(), to_record_with_fixed_variant_part(), to_static_fixed_type(), type_aggregate_p(), type_is_full_subrange_of_target_type(), typecmp(), types_equal(), typy_fields(), typy_get_code(), typy_get_composite(), typy_range(), tyscm_get_composite(), ui_printf(), unop_user_defined_p(), unpack_long(), update_watchpoint(), upgrade_type(), user_select_syms(), using_struct_return(), v850_type_is_scalar(), v850_use_struct_convention(), val_print_array_elements(), val_print_scalar_type_p(), val_print_type_code_flags(), valprint_check_validity(), valpy_binop_throw(), valpy_call(), valpy_float(), valpy_get_dynamic_type(), valpy_getitem(), valpy_lazy_string(), valpy_long(), valpy_nonzero(), valpy_referenced_value(), value_actual_type(), value_addr(), value_aggregate_elt(), value_arg_coerce(), value_args_as_target_float(), value_as_address(), value_assign(), value_binop(), value_cast(), value_cast_pointers(), value_cast_structs(), value_check_printable(), value_complement(), value_concat(), value_dynamic_cast(), value_equal(), value_equal_contents(), value_find_oload_method_list(), value_has_field(), value_in(), value_ind(), value_less(), value_must_coerce_to_target(), value_neg(), value_one(), value_pos(), value_ptrdiff(), value_ref(), value_reinterpret_cast(), value_rtti_indirect_type(), value_slice(), value_struct_element_index(), value_struct_elt(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), value_subscript(), value_subscript_packed(), value_val_atr(), value_vector_widen(), value_x_binop(), value_x_unop(), variant_field_index(), varobj_default_value_is_changeable_p(), varobj_editable_p(), vax_return_value(), vb_match(), vector_binop(), vector_relop(), vlscm_binop(), vlscm_convert_typed_number(), whatis_exp(), x_command(), xstormy16_address_to_pointer(), xstormy16_pointer_to_address(), xstormy16_type_is_scalar(), xtensa_push_dummy_call(), xtensa_return_value(), and yyparse().
| #define TYPE_CODE_SPACE | ( | t | ) | ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_CODE_SPACE) != 0) |
Instruction-space delimited type. This is for Harvard architectures which have separate instruction and data address spaces (and perhaps others).
GDB usually defines a flat address space that is a superset of the architecture's two (or more) address spaces, but this is an extension of the architecture's model.
If TYPE_INSTANCE_FLAG_CODE_SPACE is set, an object of the corresponding type resides in instruction memory, even if its address (in the extended flat address space) does not reflect this.
Similarly, if TYPE_INSTANCE_FLAG_DATA_SPACE is set, then an object of the corresponding type resides in the data memory space, even if this is not indicated by its (flat address space) address.
If neither flag is set, the default space for functions / methods is instruction space, and for data objects is data memory.
Definition at line 354 of file gdbtypes.h.
Referenced by avr_pointer_to_address(), iq2000_pointer_to_address(), recursive_dump_type(), and rl78_pointer_to_address().
| #define TYPE_CONST | ( | t | ) | ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_CONST) != 0) |
Constant type. If this is set, the corresponding type has a const modifier.
Definition at line 310 of file gdbtypes.h.
Referenced by add_array_cv_type(), c_type_print_modifier(), convert_qualified(), cp_type_print_method_args(), create_value(), dwarf2_compute_name(), follow_types(), m2_pointer(), m2_val_print(), rank_one_type(), read_subroutine_type(), read_tag_volatile_type(), read_type(), recursive_dump_type(), value_rtti_indirect_type(), and value_struct_elt_for_reference().
| #define TYPE_CPLUS_DYNAMIC | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->is_dynamic |
Definition at line 1336 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn(), and gnuv3_dynamic_class().
| #define TYPE_CPLUS_SPECIFIC | ( | thistype | ) |
Definition at line 1319 of file gdbtypes.h.
Referenced by recursive_dump_type().
| #define TYPE_DATA_LOCATION | ( | thistype | ) | get_dyn_prop (DYN_PROP_DATA_LOCATION, thistype) |
Definition at line 1258 of file gdbtypes.h.
Referenced by is_dynamic_type_internal(), resolve_dynamic_type_internal(), set_value_component_location(), value_address(), value_from_contents_and_address(), and value_primitive_field().
| #define TYPE_DATA_LOCATION_ADDR | ( | thistype | ) | TYPE_DATA_LOCATION (thistype)->data.const_val |
Definition at line 1262 of file gdbtypes.h.
Referenced by set_value_component_location(), value_address(), and value_from_contents_and_address().
| #define TYPE_DATA_LOCATION_BATON | ( | thistype | ) | TYPE_DATA_LOCATION (thistype)->data.baton |
Definition at line 1260 of file gdbtypes.h.
| #define TYPE_DATA_LOCATION_KIND | ( | thistype | ) | TYPE_DATA_LOCATION (thistype)->kind |
Definition at line 1264 of file gdbtypes.h.
Referenced by is_dynamic_type_internal(), set_value_component_location(), value_address(), value_from_contents_and_address(), and value_primitive_field().
| #define TYPE_DATA_SPACE | ( | t | ) | ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_DATA_SPACE) != 0) |
Definition at line 357 of file gdbtypes.h.
Referenced by recursive_dump_type().
| #define TYPE_DECLARED_CLASS | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_declared_class) |
True if this type was declared using the "class" keyword. This is only valid for C++ structure and enum types. If false, a structure was declared as a "struct"; if true it was declared "class". For enum types, this is true when "enum class" or "enum struct" was used to declare the type..
Definition at line 299 of file gdbtypes.h.
Referenced by c_type_print_base_1(), c_type_print_base_struct_union(), determine_prefix(), enum_constant_from_type(), need_access_label_p(), rank_one_type(), read_enumeration_type(), read_structure_type(), and type_aggregate_p().
| #define TYPE_DESCRIPTIVE_TYPE | ( | thistype | ) | TYPE_GNAT_SPECIFIC(thistype)->descriptive_type |
Definition at line 1326 of file gdbtypes.h.
Referenced by find_parallel_type_by_descriptive_type(), print_gnat_stuff(), and set_descriptive_type().
| #define TYPE_DYN_PROP_ADDR | ( | dynprop | ) | dynprop->data.const_val |
Definition at line 1278 of file gdbtypes.h.
Referenced by resolve_dynamic_array(), resolve_dynamic_type_internal(), type_not_allocated(), and type_not_associated().
| #define TYPE_DYN_PROP_BATON | ( | dynprop | ) | dynprop->data.baton |
Definition at line 1276 of file gdbtypes.h.
| #define TYPE_DYN_PROP_KIND | ( | dynprop | ) | dynprop->kind |
Definition at line 1280 of file gdbtypes.h.
Referenced by resolve_dynamic_array(), resolve_dynamic_type_internal(), type_not_allocated(), and type_not_associated().
| #define TYPE_DYN_PROP_LIST | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->dyn_prop_list |
Definition at line 1274 of file gdbtypes.h.
Referenced by add_dyn_prop(), copy_type(), copy_type_recursive(), get_dyn_prop(), and remove_dyn_prop().
A helper macro that returns the name of an error type. If the type has a name, it is used; otherwise, a default is used.
Definition at line 1489 of file gdbtypes.h.
Referenced by c_type_print_base_1(), f_type_print_base(), generic_val_print(), and pascal_type_print_base().
| #define TYPE_FIELD | ( | thistype, | |
| n | |||
| ) | TYPE_MAIN_TYPE(thistype)->flds_bnds.fields[n] |
Definition at line 1370 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), amd64_classify_aggregate(), append_flags_type_field(), arm_vfp_cprc_sub_candidate(), attach_fields_to_type(), c_type_print_base_struct_union(), check_field(), check_types_equal(), coff_read_enum_type(), coff_read_struct_type(), convert_field(), copy_type_recursive(), cp_print_value_fields(), do_search_struct_field(), dwarf2_attach_fields_to_type(), evaluate_struct_tuple(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), generate_vla_size(), gnuv3_pass_by_reference(), is_dynamic_type_internal(), mips_n32n64_fp_arg_chunk_p(), pascal_object_print_value_fields(), pascal_type_print_base(), ppc64_aggregate_candidate(), read_enum_type(), resolve_dynamic_struct(), resolve_dynamic_union(), rust_composite_type(), rust_print_struct_def(), rust_underscore_fields(), tyscm_field_smob_to_field(), val_print_struct(), value_struct_element_index(), value_struct_elt_bitpos(), and value_struct_elt_for_reference().
| #define TYPE_FIELD_ARTIFICIAL | ( | thistype, | |
| n | |||
| ) | FIELD_ARTIFICIAL(TYPE_FIELD(thistype,n)) |
Definition at line 1379 of file gdbtypes.h.
Referenced by c_type_print_args(), c_type_print_base_struct_union(), compare_parameters(), convert_field(), copy_type_recursive(), cplus_class_num_children(), cplus_describe_child(), define_symbol(), dwarf2_add_member_fn(), dwarf2_compute_name(), finish_block_internal(), parse_symbol(), and read_subroutine_type().
| #define TYPE_FIELD_BITPOS | ( | thistype, | |
| n | |||
| ) | FIELD_BITPOS (TYPE_FIELD (thistype, n)) |
Definition at line 1374 of file gdbtypes.h.
Referenced by ada_aligned_value_addr(), ada_index_struct_field_1(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_value_primitive_field(), amd64_classify_aggregate(), arm_return_in_memory(), c_print_type_struct_field_offset(), c_type_print_base_1(), c_type_print_base_struct_union(), c_val_print_struct(), convert_field(), convert_struct_or_union(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), desc_bound_bitpos(), do_search_struct_field(), dynamic_array_type(), evaluate_struct_tuple(), fat_pntr_bounds_bitpos(), fat_pntr_data_bitpos(), find_struct_field(), gen_primitive_field(), gnuv2_baseclass_offset(), is_pascal_string_type(), m2_print_long_set(), m2_print_unbounded_array(), mips_n32n64_fp_arg_chunk_p(), pascal_object_print_value_fields(), pascal_val_print(), print_field_values(), print_variant_part(), recursive_dump_type(), resolve_dynamic_struct(), rust_composite_type(), rust_get_disr_info(), rust_val_print(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), store_regs(), to_record_with_fixed_variant_part(), unpack_field_as_long(), unpack_value_field_as_long(), val_print_struct(), val_print_type_code_flags(), value_field_bitfield(), value_primitive_field(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), and vtable_address_point_offset().
| #define TYPE_FIELD_BITSIZE | ( | thistype, | |
| n | |||
| ) | FIELD_BITSIZE(TYPE_FIELD(thistype,n)) |
Definition at line 1380 of file gdbtypes.h.
Referenced by ada_evaluate_subexp(), ada_template_to_fixed_record_type_1(), ada_type_of_array(), ada_val_print_array(), ada_value_primitive_field(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_slice_from_ptr(), ada_value_subscript(), amd64_classify_aggregate(), append_flags_type_field(), arm_return_in_memory(), c_print_type_struct_field_offset(), c_type_print_base_1(), c_type_print_base_struct_union(), coff_read_enum_type(), constrained_packed_array_type(), convert_field(), convert_struct_or_union(), copy_type_recursive(), cp_print_value_fields(), create_array_type_with_stride(), desc_bound_bitsize(), evaluate_struct_tuple(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitsize(), find_struct_field(), gen_primitive_field(), m2_record_fields(), pascal_object_print_value_fields(), pascal_type_print_base(), print_array_type(), print_field_values(), read_enum_type(), recursive_dump_type(), resolve_dynamic_array(), resolve_dynamic_struct(), store_regs(), to_fixed_array_type(), to_record_with_fixed_variant_part(), unpack_field_as_long(), unpack_value_field_as_long(), val_print_packed_array_elements(), val_print_type_code_flags(), value_field_bitfield(), value_primitive_field(), and value_subscript_packed().
| #define TYPE_FIELD_DWARF_BLOCK | ( | thistype, | |
| n | |||
| ) | FIELD_DWARF_BLOCK (TYPE_FIELD (thistype, n)) |
Definition at line 1378 of file gdbtypes.h.
| #define TYPE_FIELD_ENUMVAL | ( | thistype, | |
| n | |||
| ) | FIELD_ENUMVAL (TYPE_FIELD (thistype, n)) |
Definition at line 1375 of file gdbtypes.h.
Referenced by ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_identical_enum_types_p(), ada_print_scalar(), ada_val_print_enum(), c_type_print_base_1(), convert_char_literal(), convert_enum(), convert_field(), copy_type_recursive(), discrete_position(), enum_constant_from_type(), generic_val_print_enum_1(), get_discrete_bounds(), m2_enum(), pascal_type_print_base(), print_enum_type(), print_optional_low_bound(), print_type_scalar(), recursive_dump_type(), and value_val_atr().
| #define TYPE_FIELD_IGNORE | ( | thistype, | |
| n | |||
| ) |
Definition at line 1405 of file gdbtypes.h.
Referenced by cp_print_value_fields(), pascal_object_print_value_fields(), and print_field_values().
| #define TYPE_FIELD_IGNORE_BITS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits |
Definition at line 1387 of file gdbtypes.h.
Referenced by attach_fields_to_type(), and dwarf2_attach_fields_to_type().
| #define TYPE_FIELD_LOC_KIND | ( | thistype, | |
| n | |||
| ) | FIELD_LOC_KIND (TYPE_FIELD (thistype, n)) |
Definition at line 1373 of file gdbtypes.h.
Referenced by copy_type_recursive(), enum_constant_from_type(), gen_static_field(), resolve_dynamic_struct(), and value_static_field().
| #define TYPE_FIELD_NAME | ( | thistype, | |
| n | |||
| ) | FIELD_NAME(TYPE_FIELD(thistype, n)) |
Definition at line 1372 of file gdbtypes.h.
Referenced by ada_fixup_array_indexes_type(), ada_get_base_type(), ada_get_field_index(), ada_identical_enum_types_p(), ada_in_variant(), ada_index_struct_field_1(), ada_is_aligner_type(), ada_is_ignored_field(), ada_is_others_clause(), ada_is_parent_field(), ada_is_wrapper_field(), ada_lookup_struct_elt_type(), ada_print_scalar(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_val_print_enum(), ada_varobj_describe_struct_child(), add_struct_fields(), append_flags_type_field(), c_describe_child(), c_is_path_expr_parent(), c_type_print_base_1(), c_type_print_base_struct_union(), check_field(), coff_read_enum_type(), completion_list_add_fields(), convert_char_literal(), convert_enum(), convert_field(), convert_struct_or_union(), copy_type_recursive(), cp_print_class_member(), cp_print_value_fields(), cplus_describe_child(), do_search_struct_field(), dynamic_array_type(), enum_constant_from_type(), evaluate_struct_tuple(), f_type_print_base(), f_val_print(), field_alignment(), field_name(), find_struct_field(), gccgo_string_p(), gdbscm_type_field(), gdbscm_type_has_field_p(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), generic_val_print_enum_1(), is_dynamic_field(), is_pascal_string_type(), lookup_struct_elt_type(), m2_enum(), m2_is_long_set(), m2_is_unbounded_array(), m2_record_fields(), parse_old_style_renaming(), pascal_object_print_value_fields(), pascal_type_print_base(), print_choices(), print_enum_type(), print_field_values(), print_selected_record_field_types(), print_type_scalar(), print_unchecked_union_type(), process_structure_scope(), quirk_gcc_member_function_pointer(), read_enum_type(), read_tilde_fields(), recursive_dump_type(), rust_compute_range(), rust_evaluate_subexp(), rust_get_disr_info(), rust_get_trait_object_pointer(), rust_print_struct_def(), rust_print_type(), rust_range_type_p(), rust_subscript(), rust_underscore_fields(), rust_union_is_untagged(), rust_val_print(), store_regs(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), typy_getitem(), typy_has_key(), val_print_struct(), val_print_type_code_flags(), value_struct_elt_for_reference(), and vb_match().
| #define TYPE_FIELD_PACKED | ( | thistype, | |
| n | |||
| ) | (FIELD_BITSIZE(TYPE_FIELD(thistype,n))!=0) |
Definition at line 1381 of file gdbtypes.h.
Referenced by c_print_type_struct_field_offset(), c_type_print_base_struct_union(), cp_print_value_fields(), gen_primitive_field(), gen_struct_elt_for_reference(), m2_record_fields(), pascal_object_print_value_fields(), pascal_type_print_base(), print_field_values(), and value_struct_elt_for_reference().
| #define TYPE_FIELD_PRIVATE | ( | thistype, | |
| n | |||
| ) |
Definition at line 1399 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), cplus_class_num_children(), match_accessibility(), need_access_label_p(), and pascal_type_print_base().
| #define TYPE_FIELD_PRIVATE_BITS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits |
Definition at line 1383 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and print_cplus_stuff().
| #define TYPE_FIELD_PROTECTED | ( | thistype, | |
| n | |||
| ) |
Definition at line 1402 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), cp_type_print_derivation_info(), cplus_class_num_children(), match_accessibility(), need_access_label_p(), and pascal_type_print_base().
| #define TYPE_FIELD_PROTECTED_BITS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits |
Definition at line 1385 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and print_cplus_stuff().
| #define TYPE_FIELD_STATIC_PHYSADDR | ( | thistype, | |
| n | |||
| ) | FIELD_STATIC_PHYSADDR (TYPE_FIELD (thistype, n)) |
Definition at line 1377 of file gdbtypes.h.
Referenced by copy_type_recursive(), gen_static_field(), and value_static_field().
| #define TYPE_FIELD_STATIC_PHYSNAME | ( | thistype, | |
| n | |||
| ) | FIELD_STATIC_PHYSNAME (TYPE_FIELD (thistype, n)) |
Definition at line 1376 of file gdbtypes.h.
Referenced by copy_type_recursive(), gen_static_field(), and value_static_field().
| #define TYPE_FIELD_TYPE | ( | thistype, | |
| n | |||
| ) | FIELD_TYPE(TYPE_FIELD(thistype, n)) |
Definition at line 1371 of file gdbtypes.h.
Referenced by aarch64_store_return_value(), aarch64_type_align(), ada_aligned_type(), ada_aligned_value_addr(), ada_args_match(), ada_array_bound_from_type(), ada_fixup_array_indexes_type(), ada_get_base_type(), ada_index_struct_field_1(), ada_is_ignored_field(), ada_is_redundant_index_type_desc(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_symbol_signature(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_value_primitive_field(), ada_varobj_struct_elt(), add_struct_fields(), amd64_classify_aggregate(), append_flags_type_field(), arm_return_in_memory(), arm_type_align(), arm_vfp_cprc_sub_candidate(), BP_MANIPULATION(), c_describe_child(), c_get_string(), c_print_type_struct_field_offset(), c_print_type_union_field_offset(), c_type_print_args(), c_type_print_base_1(), c_type_print_base_struct_union(), c_val_print_struct(), call_function_by_hand_dummy(), compare_parameters(), compile_object_run(), constrained_packed_array_type(), convert_field(), convert_func(), convert_struct_or_union(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), cplus_describe_child(), create_set_type(), define_symbol(), desc_bound_bitsize(), desc_data_target_type(), do_search_struct_field(), dwarf2_add_member_fn(), dwarf2_compute_name(), dynamic_array_type(), evaluate_funcall(), evaluate_struct_tuple(), evaluate_subexp_modula2(), f_type_print_base(), f_val_print(), fake_method::fake_method(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitsize(), find_oload_champ(), find_struct_field(), finish_block_internal(), fp_register_arg_p(), gccgo_string_p(), gen_primitive_field(), gen_static_field(), generate_vla_size(), get_long_set_bounds(), get_regs_type(), get_symbol_field_type(), gnuv2_baseclass_offset(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), is_dynamic_field(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_hfa_or_hva(), is_pascal_string_type(), is_scalar_type_recursive(), lookup_function_type_with_arguments(), lookup_struct_elt_type(), m2_is_long_set(), m2_is_long_set_of_type(), m2_is_unbounded_array(), m2_long_set(), m2_print_long_set(), m2_print_unbounded_array(), m2_procedure(), m2_record_fields(), m2_unbounded_array(), m68k_svr4_return_value(), m88k_8_byte_align_p(), make_array_descriptor(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_return_value(), mips_o32_return_value(), mips_type_needs_double_align(), mn10300_type_align(), mn10300_use_struct_convention(), nds32_check_calling_use_fpr(), nds32_type_align(), parse_symbol(), pascal_object_print_value_fields(), pascal_print_func_args(), pascal_type_print_base(), pascal_val_print(), ppc64_aggregate_candidate(), ppc64_sysv_abi_push_param(), print_array_type(), print_field_values(), print_func_type(), print_go_string(), print_selected_record_field_types(), print_unchecked_union_type(), print_variant_clauses(), print_variant_part(), quirk_gcc_member_function_pointer(), rank_one_type(), read_fat_string_value(), read_subroutine_type(), read_type(), recursive_dump_type(), resolve_dynamic_struct(), resolve_dynamic_union(), rust_composite_type(), rust_evaluate_funcall(), rust_evaluate_subexp(), rust_get_disr_info(), rust_print_struct_def(), rust_print_type(), rust_subscript(), rust_type_alignment(), rust_val_print(), rx_push_dummy_call(), s390_effective_inner_type(), score_type_needs_double_align(), sh_treat_as_flt_p(), sh_use_struct_convention(), slot_alignment_is_next_even(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), static_unwrap_type(), store_regs(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_variant_branch_type(), to_record_with_fixed_variant_part(), types_equal(), unpack_field_as_long(), unpack_value_field_as_long(), v850_eight_byte_align_p(), v850_use_struct_convention(), val_print_struct(), val_print_type_code_flags(), value_field_bitfield(), value_primitive_field(), value_static_field(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), vb_match(), vtable_ptrdiff_type(), and yyparse().
| #define TYPE_FIELD_VIRTUAL | ( | thistype, | |
| n | |||
| ) |
Definition at line 1408 of file gdbtypes.h.
| #define TYPE_FIELD_VIRTUAL_BITS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits |
Definition at line 1389 of file gdbtypes.h.
Referenced by dwarf2_attach_fields_to_type(), print_cplus_stuff(), and read_baseclasses().
| #define TYPE_FIELDS | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->flds_bnds.fields |
Definition at line 1240 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), append_composite_type_field_raw(), arch_flags_type(), attach_fields_to_type(), build_gdb_vtable_type(), build_std_type_info_type(), coff_read_enum_type(), coff_read_struct_type(), copy_type_recursive(), cp_type_print_method_args(), create_array_type_with_stride(), create_set_type(), decode_base_type(), define_symbol(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), empty_record(), fake_method::fake_method(), finish_block_internal(), iq2000_pass_8bytetype_by_address(), lookup_function_type_with_arguments(), mips_n32n64_return_value(), mips_o32_return_value(), parse_symbol(), patch_type(), process_enumeration_scope(), quirk_gcc_member_function_pointer(), read_enum_type(), read_subroutine_type(), read_tag_ptr_to_member_type(), read_type(), recursive_dump_type(), resolve_dynamic_struct(), resolve_dynamic_union(), rust_composite_type(), smash_to_method_type(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), tyscm_field_smob_to_field(), and fake_method::~fake_method().
| #define TYPE_FIXED_INSTANCE | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_fixed_instance) |
The debugging formats (especially STABS) do not contain enough information to represent all Ada types—especially those whose size depends on dynamic quantities. Therefore, the GNAT Ada compiler includes extra information in the form of additional type definitions connected by naming conventions. This flag indicates that the type is an ordinary (unencoded) GDB type that has been created from the necessary run-time information, and does not need further interpretation. Optionally marks ordinary, fixed-size GDB type.
Definition at line 264 of file gdbtypes.h.
Referenced by ada_array_bound_from_type(), ada_template_to_fixed_record_type_1(), constrained_packed_array_type(), recursive_dump_type(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_record_type(), to_record_with_fixed_variant_part(), and to_static_fixed_type().
| #define TYPE_FLAG_ENUM | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_flag_enum) |
True if this type is a "flag" enum. A flag enum is one where all the values are pairwise disjoint when "and"ed together. This affects how enum values are printed.
Definition at line 305 of file gdbtypes.h.
Referenced by generic_val_print_enum_1(), and update_enumeration_type_from_children().
| #define TYPE_FLOATFORMAT | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.floatformat |
Definition at line 1324 of file gdbtypes.h.
Referenced by arch_float_type(), copy_type_recursive(), floatformat_from_type(), init_float_type(), and recursive_dump_type().
| #define TYPE_FN_FIELD | ( | thisfn, | |
| n | |||
| ) | (thisfn)[n] |
Definition at line 1425 of file gdbtypes.h.
| #define TYPE_FN_FIELD_ARGS | ( | thisfn, | |
| n | |||
| ) | TYPE_FIELDS ((thisfn)[n].type) |
Definition at line 1428 of file gdbtypes.h.
Referenced by dump_fn_fieldlists(), find_oload_champ(), and search_struct_method().
| #define TYPE_FN_FIELD_ARTIFICIAL | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].is_artificial) |
Definition at line 1433 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), gnuv3_pass_by_reference(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELD_CONST | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].is_const) |
Definition at line 1429 of file gdbtypes.h.
Referenced by compute_delayed_physnames(), dump_fn_fieldlists(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELD_CONSTRUCTOR | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].is_constructor) |
Definition at line 1435 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), gnuv3_pass_by_reference(), and VEC().
| #define TYPE_FN_FIELD_FCONTEXT | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].fcontext) |
Definition at line 1436 of file gdbtypes.h.
Referenced by dump_fn_fieldlists(), and gnuv2_virtual_fn_field().
| #define TYPE_FN_FIELD_PHYSNAME | ( | thisfn, | |
| n | |||
| ) | (thisfn)[n].physname |
Definition at line 1426 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), check_stub_method(), check_stub_method_group(), compute_delayed_physnames(), dump_fn_fieldlists(), find_methods(), gdb_mangle_name(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), pascal_type_print_base(), value_fn_field(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELD_PRIVATE | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].is_private) |
Definition at line 1431 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), dump_fn_fieldlists(), need_access_label_p(), and pascal_type_print_base().
| #define TYPE_FN_FIELD_PROTECTED | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].is_protected) |
Definition at line 1432 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), dump_fn_fieldlists(), need_access_label_p(), and pascal_type_print_base().
| #define TYPE_FN_FIELD_STATIC_P | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].voffset == VOFFSET_STATIC) |
Definition at line 1439 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), check_stub_method(), oload_method_static_p(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELD_STUB | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].is_stub) |
Definition at line 1434 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), check_stub_method(), check_stub_method_group(), dump_fn_fieldlists(), and find_methods().
| #define TYPE_FN_FIELD_TYPE | ( | thisfn, | |
| n | |||
| ) | (thisfn)[n].type |
Definition at line 1427 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), check_stub_method(), dump_fn_fieldlists(), find_oload_champ(), gnuv2_virtual_fn_field(), gnuv3_pass_by_reference(), gnuv3_virtual_fn_field(), pascal_type_print_base(), search_struct_method(), value_fn_field(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELD_VIRTUAL_P | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].voffset > 1) |
Definition at line 1438 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), compute_vtable_size(), find_overload_match(), gnuv3_dynamic_class(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELD_VOFFSET | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].voffset-2) |
Definition at line 1437 of file gdbtypes.h.
Referenced by compute_vtable_size(), dump_fn_fieldlists(), gnuv2_virtual_fn_field(), gnuv3_find_method_in(), gnuv3_virtual_fn_field(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELD_VOLATILE | ( | thisfn, | |
| n | |||
| ) | ((thisfn)[n].is_volatile) |
Definition at line 1430 of file gdbtypes.h.
Referenced by compute_delayed_physnames(), dump_fn_fieldlists(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELDLIST | ( | thistype, | |
| n | |||
| ) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n] |
Definition at line 1413 of file gdbtypes.h.
Referenced by check_field(), compute_delayed_physnames(), and dwarf2_attach_fn_fields_to_type().
| #define TYPE_FN_FIELDLIST1 | ( | thistype, | |
| n | |||
| ) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].fn_fields |
Definition at line 1414 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), check_stub_method(), check_stub_method_group(), compute_vtable_size(), dump_fn_fieldlists(), find_method_list(), find_methods(), gdb_mangle_name(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), need_access_label_p(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELDLIST_LENGTH | ( | thistype, | |
| n | |||
| ) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].length |
Definition at line 1416 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), check_stub_method_group(), compute_vtable_size(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), find_method_list(), find_methods(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), need_access_label_p(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELDLIST_NAME | ( | thistype, | |
| n | |||
| ) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].name |
Definition at line 1415 of file gdbtypes.h.
Referenced by add_struct_fields(), c_type_print_base_struct_union(), check_field(), check_stub_method_group(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), find_method_list(), find_methods(), gdb_mangle_name(), gnuv3_pass_by_reference(), is_type_conversion_operator(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
| #define TYPE_FN_FIELDLISTS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists |
Definition at line 1412 of file gdbtypes.h.
Referenced by attach_fn_fields_to_type(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), and read_member_functions().
| #define TYPE_GNAT_SPECIFIC | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.gnat_stuff |
Definition at line 1325 of file gdbtypes.h.
Referenced by allocate_gnat_aux_type(), and recursive_dump_type().
| #define TYPE_GNU_IFUNC | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_gnu_ifunc) |
Used only for TYPE_CODE_FUNC where it specifies the real function address is returned by this function call. TYPE_TARGET_TYPE determines the final returned function type to be presented to user.
Definition at line 283 of file gdbtypes.h.
Referenced by convert_one_symbol(), find_function_addr(), find_pc_partial_function_gnu_ifunc(), gcc_symbol_address(), and objfile_type().
| #define TYPE_HIGH_BOUND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->high.data.const_val |
Definition at line 1246 of file gdbtypes.h.
Referenced by ada_discrete_type_high_bound(), ada_evaluate_subexp(), ada_is_redundant_range_encoding(), ada_modulus(), ada_tasks_inferior_data_sniffer(), gdbscm_type_range(), get_discrete_bounds(), get_long_set_bounds(), m2_is_long_set(), m2_is_long_set_of_type(), m2_print_bounds(), m2_range(), parse_type(), pascal_type_print_base(), pascal_val_print(), recursive_dump_type(), typy_range(), and value_f90_subarray().
| #define TYPE_HIGH_BOUND_KIND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->high.kind |
Definition at line 1252 of file gdbtypes.h.
Referenced by c_type_print_varspec_suffix(), convert_array(), follow_types(), generate_vla_size(), read_subrange_type(), and rust_print_type().
| #define TYPE_HIGH_BOUND_UNDEFINED | ( | range_type | ) | (TYPE_RANGE_DATA(range_type)->high.kind == PROP_UNDEFINED) |
Definition at line 1250 of file gdbtypes.h.
Referenced by ada_tasks_inferior_data_sniffer(), and recursive_dump_type().
| #define TYPE_INCOMPLETE | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_incomplete) |
This flag is used to indicate that processing for this type is incomplete.
(Mostly intended for HP platforms, where class methods, for instance, can be encountered before their classes in the debug info; the incomplete type has to be marked so that the class and the method can be assigned correct types.)
Definition at line 242 of file gdbtypes.h.
Referenced by recursive_dump_type().
| #define TYPE_INDEX_TYPE | ( | type | ) | TYPE_FIELD_TYPE (type, 0) |
Definition at line 1242 of file gdbtypes.h.
Referenced by ada_array_bound_from_type(), ada_array_length(), ada_index_type(), ada_is_redundant_index_type_desc(), ada_tasks_inferior_data_sniffer(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_slice_from_ptr(), ada_varobj_describe_simple_array_child(), ada_varobj_get_array_number_of_children(), ada_varobj_simple_array_elt(), c_describe_child(), c_type_print_varspec_suffix(), constrained_packed_array_type(), convert_array(), create_array_type_with_stride(), empty_array(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), f77_print_array_1(), follow_types(), gdbscm_type_range(), generate_vla_size(), get_array_bounds(), get_long_set_bounds(), is_dynamic_type_internal(), is_scalar_type_recursive(), m2_array(), m2_is_long_set(), m2_is_long_set_of_type(), m2_long_set(), m2_print_long_set(), m2_short_set(), m2_val_print(), pascal_type_print_base(), pascal_val_print(), print_array_type(), print_optional_low_bound(), resolve_dynamic_array(), rust_print_type(), to_fixed_array_type(), typy_range(), val_print_array_elements(), val_print_packed_array_elements(), value_bit_index(), value_cast(), value_f90_subarray(), value_slice(), value_subscript(), and value_subscript_packed().
| #define TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL (TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1 | TYPE_INSTANCE_FLAG_ADDRESS_CLASS_2) |
Definition at line 371 of file gdbtypes.h.
Referenced by address_space_int_to_name(), check_typedef(), make_type_with_address_space(), and read_tag_pointer_type().
| #define TYPE_INSTANCE_FLAGS | ( | thistype | ) | (thistype)->instance_flags |
Definition at line 1222 of file gdbtypes.h.
Referenced by build_d_types(), c_type_print_modifier(), check_typedef(), check_types_equal(), cleanup_undefined_types_1(), cleanup_undefined_types_noname(), convert_type_basic(), copy_type(), copy_type_recursive(), fake_method::fake_method(), ft32_gdbarch_init(), gdbtypes_post_init(), make_atomic_type(), make_cv_type(), make_qualified_type(), make_restrict_type(), make_type_with_address_space(), make_unqualified_type(), make_vector_type(), recursive_dump_type(), and replace_type().
| #define TYPE_IS_OPAQUE | ( | thistype | ) |
Definition at line 1472 of file gdbtypes.h.
Referenced by basic_lookup_transparent_type_1(), basic_lookup_transparent_type_quick(), block_find_non_opaque_type(), block_find_non_opaque_type_preferred(), and check_typedef().
| #define TYPE_IS_REFERENCE | ( | t | ) | (TYPE_CODE (t) == TYPE_CODE_REF || TYPE_CODE (t) == TYPE_CODE_RVALUE_REF) |
True if this type represents either an lvalue or lvalue reference type.
Definition at line 332 of file gdbtypes.h.
Referenced by aarch64_store_return_value(), adjust_value_for_child_access(), amd64_classify(), arm_extract_return_value(), arm_store_return_value(), binop_types_user_defined_p(), BP_MANIPULATION(), c_print_type_1(), c_type_print_modifier(), c_value_of_variable(), c_value_print(), coerce_ref(), coerce_ref_if_computed(), complete_expression(), cplus_describe_child(), cplus_number_of_children(), do_ppc_sysv_return_value(), entry_data_value_coerce_ref(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), extract_typed_address(), find_overload_match(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), generate_vla_size(), info_mach_region_command(), lookup_symbol_aux(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_reg_arg_type(), make_symbol_overload_list_adl_namespace(), msp430_push_dummy_call(), pointer_type(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ptrmath_type_p(), rank_one_type(), s390_function_arg_integer(), store_typed_address(), typecmp(), typy_get_composite(), typy_template_argument(), unop_user_defined_p(), val_print_scalar_type_p(), valpy_get_dynamic_type(), value_actual_type(), value_addr(), value_arg_coerce(), value_as_address(), value_cast(), value_cast_pointers(), value_dynamic_cast(), value_find_oload_method_list(), value_has_field(), value_of_dwarf_reg_entry(), value_reinterpret_cast(), value_rtti_indirect_type(), value_struct_elt(), value_struct_elt_bitpos(), varobj_get_value_type(), whatis_exp(), x_command(), and yyparse().
| #define TYPE_LENGTH | ( | thistype | ) | (thistype)->length |
Note that if thistype is a TYPEDEF type, you have to call check_typedef. But check_typedef does set the TYPE_LENGTH of the TYPEDEF type, so you only have to call check_typedef once. Since allocate_value calls check_typedef, TYPE_LENGTH (VALUE_TYPE (X)) is safe.
Definition at line 1235 of file gdbtypes.h.
Referenced by aarch64_pseudo_read_value(), aarch64_push_dummy_call(), aarch64_return_in_memory(), aarch64_store_return_value(), aarch64_type_align(), ada_convert_actual(), ada_ensure_varsize_limit(), ada_evaluate_subexp(), ada_exception_message_1(), ada_language_arch_info(), ada_print_type(), ada_printchar(), ada_printstr(), ada_promote_array_of_integrals(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_type_of_array(), ada_val_print_num(), ada_val_print_string(), ada_value_assign(), ada_value_binop(), ada_value_equal(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_slice_from_ptr(), address_from_register(), address_to_signed_pointer(), allocate_optimized_out_value(), allocate_stub_method(), allocate_value_contents(), alpha_convert_register_p(), alpha_extract_return_value(), alpha_push_dummy_call(), alpha_register_to_value(), alpha_return_value(), alpha_store_return_value(), alpha_value_to_register(), amd64_classify(), amd64_classify_aggregate(), amd64_get_longjmp_target(), amd64_pseudo_register_read_value(), amd64_push_arguments(), amd64_return_value(), amd64_windows_adjust_args_passed_by_pointer(), amd64_windows_passed_by_integer_register(), amd64_windows_passed_by_xmm_register(), amd64_windows_push_arguments(), amd64_windows_return_value(), amd64_windows_store_arg_in_reg(), append_composite_type_field_aligned(), append_flags_type_field(), arc_extract_return_value(), arc_push_dummy_call(), arc_return_value(), arc_store_return_value(), arch_complex_type(), arch_type(), arm_extract_return_value(), arm_push_dummy_call(), arm_return_in_memory(), arm_store_return_value(), arm_type_align(), arm_vfp_cprc_sub_candidate(), avr_address_to_pointer(), avr_pointer_to_address(), avr_push_dummy_call(), base_types_equal_p(), bfin_extract_return_value(), bfin_push_dummy_call(), bfin_return_value(), bfin_store_return_value(), binop_promote(), BP_MANIPULATION(), build_gdb_vtable_type(), build_std_type_info_type(), c_get_string(), c_number_of_children(), c_print_type_struct_field_offset(), c_print_type_union_field_offset(), c_textual_element_type(), c_type_print_base_struct_union(), c_val_print_array(), call_function_by_hand_dummy(), can_use_hardware_watchpoint(), cast_into_complex(), check_condition(), check_type_length_before_alloc(), check_typedef(), check_types_equal(), coerce_for_assign(), coerce_pieced_ref(), coerce_unspec_val_to_type(), coff_read_enum_type(), coff_read_struct_type(), collection_list::collect_symbol(), decimal_float_ops::compare(), compile_object_load(), constrained_packed_array_type(), convert_enum(), convert_float(), convert_int(), convert_struct_or_union(), regcache::cooked_read_value(), copy_type(), copy_type_recursive(), cp_find_class_member(), cp_print_class_member(), cp_print_value(), cp_print_value_fields_rtti(), create_array_type_with_stride(), create_range_type(), create_set_type(), create_value(), cris_extract_return_value(), cris_push_dummy_call(), cris_return_value(), cris_store_return_value(), darwin_current_sos(), darwin_load_image_infos(), darwin_read_exec_load_addr_from_dyld(), darwin_solib_read_all_image_info_addr(), decimal_from_number(), decimal_to_number(), decode_base_type(), decode_constrained_packed_array(), default_print_one_register_info(), default_read_var_value(), default_value_from_register(), define_symbol(), desc_bound_bitsize(), desc_bounds(), do_examine(), do_ppc_sysv_return_value(), do_search_struct_field(), dump_value_to_file(), dwarf2_add_field(), dwarf2_compute_name(), dwarf2_const_value_attr(), dwarf2_evaluate_loc_desc_full(), dynamic_array_type(), dynamic_cast_check_1(), elf_gnu_ifunc_resolve_by_got(), elf_locate_base(), elf_rel_plt_read(), emit_numeric_character(), empty_record(), encode_actions_1(), ensure_lval(), evaluate_struct_tuple(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_opencl(), evaluate_subexp_standard(), dwarf_expr_context::execute_stack_op(), f77_get_dynamic_length_of_aggregate(), f77_print_array_1(), f_get_encoding(), f_printstr(), f_val_print(), fake_method::fake_method(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitsize(), fbsd_get_siginfo_type(), dwarf_expr_context::fetch_address(), fetch_const_value_from_synthetic_pointer(), find_function_addr(), find_thread_by_handle(), float_type_from_length(), frame_register_unwind(), frame_unwind_got_optimized(), decimal_float_ops::from_string(), frv_extract_return_value(), frv_push_dummy_call(), frv_store_return_value(), ft32_extract_return_value(), ft32_pointer_to_address(), ft32_return_value(), ft32_store_return_value(), gccgo_string_p(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), gdbscm_type_sizeof(), gdbscm_value_to_bytevector(), gdbscm_value_to_string(), gen_conversion(), gen_extend(), gen_fetch(), gen_ptrdiff(), gen_scale(), gen_sign_extend(), gen_sizeof(), gen_trace_static_fields(), gen_traced_pop(), generate_register_struct(), generic_emit_char(), generic_printstr(), generic_val_print_array(), generic_val_print_complex(), generic_val_print_ref(), dwarf_evaluate_loc_desc::get_base_type(), get_call_return_value(), get_decimal_float_return_value(), get_discrete_bounds(), get_running_thread_id(), get_signed_type(), get_signed_type_minmax(), get_unsigned_type(), get_unsigned_type_max(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv3_baseclass_offset(), gnuv3_decode_method_ptr(), gnuv3_find_method_in(), gnuv3_make_method_ptr(), gnuv3_method_ptr_size(), gnuv3_method_ptr_to_value(), gnuv3_print_method_ptr(), gnuv3_rtti_type(), h8300_extract_return_value(), h8300_push_dummy_call(), h8300_store_return_value(), h8300_use_struct_convention(), h8300h_extract_return_value(), h8300h_return_value(), h8300h_store_return_value(), h8300h_use_struct_convention(), hppa32_push_dummy_call(), hppa32_return_value(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), hppa64_return_value(), i386_16_byte_align_p(), i386_convert_register_p(), i386_darwin_arg_type_alignment(), i386_darwin_push_dummy_call(), i386_extract_return_value(), i386_m128_p(), i386_mpx_info_bounds(), i386_mpx_set_bounds(), i386_pseudo_register_read_into_value(), i386_pseudo_register_write(), i386_push_dummy_call(), i386_reg_struct_return_p(), i386_register_to_value(), i386_return_value(), i386_store_return_value(), i386_value_to_register(), ia64_extract_return_value(), ia64_push_dummy_call(), ia64_store_return_value(), ia64_use_struct_convention(), indirect_pieced_value(), info_scope_command(), init_array_element(), init_complex_type(), init_regcache_descr(), init_type(), iq2000_address_to_pointer(), iq2000_extract_return_value(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), iq2000_push_dummy_call(), iq2000_store_return_value(), iq2000_use_struct_convention(), is_float_or_hfa_type_recurse(), is_hfa_or_hva(), is_pascal_string_type(), jit_read_code_entry(), jit_read_descriptor(), ld_so_xfer_auxv(), linux_get_siginfo_data(), linux_get_siginfo_type_with_fields(), linux_make_mappings_callback(), linux_make_mappings_corefile_notes(), list_arg_or_local(), lm32_extract_return_value(), lm32_return_value(), lm32_store_return_value(), lookup_opencl_vector_type(), lval_func_check_synthetic_pointer(), lval_func_read(), lval_func_write(), m2_array(), m2_get_discrete_bounds(), m2_print_array_contents(), m2_val_print(), m32c_cat_read(), m32c_cat_write(), m32c_find_part(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_part_read(), m32c_push_dummy_call(), m32c_r3r2r1r0_read(), m32c_r3r2r1r0_write(), m32c_return_value(), m32r_extract_return_value(), m32r_push_dummy_call(), m32r_return_value(), m32r_store_return_value(), m68hc11_extract_return_value(), m68hc11_push_dummy_call(), m68hc11_return_value(), m68hc11_store_return_value(), m68k_extract_return_value(), m68k_push_dummy_call(), m68k_reg_struct_return_p(), m68k_return_value(), m68k_store_return_value(), m68k_svr4_extract_return_value(), m68k_svr4_return_value(), m68k_svr4_store_return_value(), m68kbsd_fpreg_offset(), m88k_8_byte_align_p(), m88k_floating_p(), m88k_in_register_p(), m88k_integral_or_pointer_p(), m88k_return_value(), m88k_store_arguments(), make_function_type(), tdesc_type_with_fields::make_gdb_type_struct(), make_pointer_type(), make_qualified_type(), make_reference_type(), match_endianness(), max_of_type(), mep_extract_return_value(), mep_pseudo_cr32_read(), mep_pseudo_cr32_write(), mep_push_dummy_call(), mep_return_value(), mep_store_return_value(), mep_use_struct_convention(), microblaze_extract_return_value(), microblaze_stabs_argument_has_addr(), microblaze_store_return_value(), min_of_type(), mips_convert_register_float_case_p(), mips_convert_register_gpreg_case_p(), mips_eabi_push_dummy_call(), mips_eabi_return_value(), mips_integer_to_address(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_push_dummy_call(), mips_n32n64_return_value(), mips_o32_push_dummy_call(), mips_o32_return_value(), mips_o64_push_dummy_call(), mips_o64_return_value(), mips_pseudo_register_type(), mips_register_to_value(), mips_type_needs_double_align(), mips_value_to_register(), mn10300_extract_return_value(), mn10300_push_dummy_call(), mn10300_store_return_value(), mn10300_type_align(), mn10300_use_struct_convention(), moxie_extract_return_value(), moxie_return_value(), moxie_store_return_value(), msp430_push_dummy_call(), msp430_return_value(), mt_push_dummy_call(), mt_return_value(), nds32_extract_return_value(), nds32_push_dummy_call(), nds32_return_value(), nds32_store_return_value(), nds32_type_align(), nios2_extract_return_value(), nios2_push_dummy_call(), nios2_return_value(), nios2_store_return_value(), obsd_auxv_parse(), open_symbol_file_object(), opencl_logical_not(), or1k_push_dummy_call(), or1k_return_value(), pack_long(), pack_unsigned_long(), parse_find_args(), parse_symbol(), pascal_object_print_value(), pascal_printstr(), pascal_type_print_varspec_prefix(), pascal_val_print(), pass_in_v_or_stack(), pass_in_x(), pass_in_x_or_stack(), pass_on_stack(), patch_opaque_types(), patch_type(), ppc64_aggregate_candidate(), ppc64_elfv2_abi_homogeneous_aggregate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_freg(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc64_sysv_abi_return_value_base(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppcnbsd_return_value(), print_formatted(), print_frame_args(), print_scalar_formatted(), print_symbol(), print_unpacked_pointer(), printf_wide_c_string(), process_coff_symbol(), procfs_address_to_host_pointer(), procfs_can_use_hw_breakpoint(), push_large_arguments(), pyuw_sniffer(), rank_one_type(), read_array_type(), read_enum_type(), read_enumeration_type(), read_frame_arg(), read_known_tasks_array(), read_known_tasks_list(), read_memory_typed_address(), read_one_struct_field(), read_set_type(), read_struct_type(), read_structure_type(), read_subrange_type(), read_tag_pointer_type(), read_tag_reference_type(), read_type(), recursive_dump_type(), replace_type(), resolve_dynamic_struct(), resolve_dynamic_union(), restore_infcall_suspend_state(), rl78_address_to_pointer(), rl78_pointer_to_address(), rl78_push_dummy_call(), rl78_return_value(), rs6000_convert_register_p(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_return_value(), rust_chartype_p(), rust_composite_type(), rust_evaluate_subexp(), rust_language_arch_info(), rust_range(), rust_subscript(), rust_type_alignment(), rust_u8_type_p(), rust_val_print(), rw_pieced_value(), rx_push_dummy_call(), rx_return_value(), s390_effective_inner_type(), s390_function_arg_float(), s390_function_arg_integer(), s390_function_arg_vector(), s390_handle_arg(), s390_register_return_value(), s390_return_value(), s390_unwind_pseudo_register(), s390_value_from_register(), save_infcall_suspend_state(), scalar_binop(), score_push_dummy_call(), score_return_value(), score_type_needs_double_align(), search_struct_method(), set_decnumber_context(), set_internalvar_component(), set_length_in_type_chain(), set_value_enclosing_type(), sh64_extract_return_value(), sh64_push_dummy_call(), sh64_store_return_value(), sh64_use_struct_convention(), sh_extract_return_value_fpu(), sh_extract_return_value_nofpu(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_stack_allocsize(), sh_store_return_value_fpu(), sh_store_return_value_nofpu(), sh_use_struct_convention(), sh_use_struct_convention_nofpu(), siginfo_value_read(), siginfo_value_write(), signed_pointer_to_address(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_extract_return_value(), sparc32_push_dummy_code(), sparc32_return_value(), sparc32_stabs_argument_has_addr(), sparc32_store_arguments(), sparc32_store_return_value(), sparc32_struct_return_from_sym(), sparc64_16_byte_align_p(), sparc64_complex_floating_p(), sparc64_extract_floating_fields(), sparc64_extract_return_value(), sparc64_floating_p(), sparc64_integral_or_pointer_p(), sparc64_return_value(), sparc64_store_arguments(), sparc64_store_floating_fields(), sparc64_store_return_value(), sparc_arg_on_registers_p(), sparc_complex_floating_p(), sparc_floating_p(), sparc_integral_or_pointer_p(), sparc_structure_return_p(), spu_address_to_pointer(), spu_pointer_to_address(), spu_push_dummy_call(), spu_regcache_to_value(), spu_return_value(), spu_scalar_value_p(), spu_value_from_register(), spu_value_to_regcache(), stap_modify_semaphore(), store_regs(), target_float_convert(), target_float_format_length(), target_float_same_format_p(), template_to_static_fixed_type(), tic6x_arg_type_alignment(), tic6x_extract_return_value(), tic6x_push_dummy_call(), tic6x_return_value(), tic6x_store_return_value(), tilegx_extract_return_value(), tilegx_push_dummy_call(), tilegx_store_return_value(), tilegx_use_struct_convention(), to_fixed_array_type(), to_fixed_range_type(), to_record_with_fixed_variant_part(), decimal_float_ops::to_string(), host_float_ops< T >::to_target(), mpfr_float_ops::to_target(), type_length_units(), type_wider_than(), typy_get_sizeof(), ui_printf(), unop_promote(), unpack_bits_as_long(), unpack_long(), unpack_value_bitfield(), unsigned_address_to_pointer(), unsigned_pointer_to_address(), unwind_infopy_add_saved_register(), update_watchpoint(), upgrade_type(), v850_eight_byte_align_p(), v850_extract_return_value(), v850_push_dummy_call(), v850_store_return_value(), v850_use_struct_convention(), val_print_packed_array_elements(), val_print_scalar_formatted(), val_print_string(), valprint_check_validity(), valpy_string(), value_addr(), value_arg_coerce(), value_args_as_target_float(), value_assign(), value_assign_to_component(), value_cast(), value_coerce_to_target(), value_complement(), value_concat(), value_contents_bits_eq(), value_copy(), value_cstring(), value_entirely_covered_by_range_vector(), value_equal(), value_equal_contents(), value_fetch_lazy(), value_force_lval(), value_from_contents(), value_from_register(), value_full_object(), value_less(), value_literal_complex(), value_logical_not(), value_neg(), value_non_lval(), value_of_dwarf_reg_entry(), value_one(), value_pointer(), value_primitive_field(), value_ptrdiff(), value_slice(), value_strcmp(), value_string(), value_vector_widen(), vax_return_value(), vax_store_arguments(), vector_binop(), vector_relop(), vlscm_convert_bytevector(), vlscm_integer_fits_p(), windows_get_tlb_type(), write_constant_as_bytes(), xstormy16_address_to_pointer(), xstormy16_extract_return_value(), xstormy16_pointer_to_address(), xstormy16_push_dummy_call(), xstormy16_store_return_value(), xstormy16_use_struct_convention(), xtensa_extract_return_value(), xtensa_push_dummy_call(), xtensa_return_value(), xtensa_store_return_value(), and yyparse().
| #define TYPE_LOW_BOUND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->low.data.const_val |
Definition at line 1244 of file gdbtypes.h.
Referenced by ada_discrete_type_low_bound(), ada_evaluate_subexp(), ada_is_redundant_range_encoding(), ada_tasks_inferior_data_sniffer(), adjust_type_signedness(), c_describe_child(), convert_array(), gdbscm_type_range(), get_discrete_bounds(), get_long_set_bounds(), has_negatives(), m2_is_long_set(), m2_is_long_set_of_type(), m2_print_bounds(), m2_range(), parse_type(), pascal_type_print_base(), recursive_dump_type(), typy_range(), and value_f90_subarray().
| #define TYPE_LOW_BOUND_KIND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->low.kind |
Definition at line 1254 of file gdbtypes.h.
Referenced by convert_array().
| #define TYPE_LOW_BOUND_UNDEFINED | ( | range_type | ) | (TYPE_RANGE_DATA(range_type)->low.kind == PROP_UNDEFINED) |
Definition at line 1248 of file gdbtypes.h.
Referenced by ada_tasks_inferior_data_sniffer(), and recursive_dump_type().
| #define TYPE_MAIN_TYPE | ( | thistype | ) | (thistype)->main_type |
Definition at line 1223 of file gdbtypes.h.
Referenced by ada_to_fixed_type(), alloc_type(), alloc_type_arch(), alloc_type_instance(), class_types_same_p(), copy_type(), copy_type_recursive(), fake_method::fake_method(), internal_type_self_type(), make_qualified_type(), replace_type(), set_type_self_type(), and smash_type().
| #define TYPE_N_BASECLASSES | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->n_baseclasses |
Definition at line 1331 of file gdbtypes.h.
Referenced by add_struct_fields(), amd64_non_pod_p(), c_type_print_base_struct_union(), check_field(), completion_list_add_fields(), compute_vtable_size(), convert_field(), cp_find_class_member(), cp_find_type_baseclass_by_name(), cp_lookup_nested_symbol_1(), cp_print_value(), cp_print_value_fields(), cp_type_print_derivation_info(), cplus_class_num_children(), cplus_describe_child(), cplus_number_of_children(), define_symbol(), distance_to_ancestor(), do_search_struct_field(), dwarf2_attach_fields_to_type(), dynamic_cast_check_1(), dynamic_cast_check_2(), enum_constant_from_type(), find_method_list(), find_methods(), find_symbol_in_baseclass(), gdbscm_field_baseclass_p(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), get_long_set_bounds(), get_vptr_fieldno(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv3_dynamic_class(), gnuv3_find_method_in(), is_unique_ancestor_worker(), lookup_struct_elt_type(), m2_is_long_set(), m2_is_long_set_of_type(), m2_long_set(), m2_print_long_set(), m2_record_fields(), make_symbol_overload_list_adl_namespace(), need_access_label_p(), pascal_object_print_value(), pascal_object_print_value_fields(), pascal_type_print_base(), pascal_type_print_derivation_info(), print_cplus_stuff(), process_structure_scope(), read_baseclasses(), read_tilde_fields(), recursively_update_typedef_hash(), rust_print_struct_def(), search_struct_method(), value_primitive_field(), value_struct_elt_bitpos(), and value_struct_elt_for_reference().
| #define TYPE_N_TEMPLATE_ARGUMENTS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->n_template_arguments |
Definition at line 1418 of file gdbtypes.h.
Referenced by add_template_parameters(), c_type_print_template_args(), cp_lookup_symbol_imports_or_template(), process_structure_scope(), and typy_template_argument().
| #define TYPE_NAME | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->name |
Definition at line 1224 of file gdbtypes.h.
Referenced by ada_fixup_array_indexes_type(), ada_get_field_index(), ada_is_dispatch_table_ptr_type(), ada_is_interface_tag(), ada_is_redundant_range_encoding(), ada_is_system_address_type(), ada_language_arch_info(), ada_prefer_type(), ada_template_to_fixed_record_type_1(), ada_type_name(), arch_type(), arm_neon_double_type(), arm_neon_quad_type(), c_is_path_expr_parent(), c_print_type_1(), c_print_typedef(), c_textual_element_type(), c_type_print_base_1(), c_type_print_varspec_prefix(), c_type_print_varspec_suffix(), c_value_print(), check_type_length_before_alloc(), check_types_equal(), class_types_same_p(), classify_type(), complain_about_struct_wipeout(), constrained_packed_array_type(), copy_type_recursive(), cp_lookup_bare_symbol(), cp_print_value(), d_lookup_symbol(), decode_base_type(), define_symbol(), regcache::dump(), empty_record(), evaluate_subexp_modula2(), evaluate_subexp_standard(), f_print_type(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), fbsd_get_siginfo_type(), find_overload_match(), find_size_for_pointer_math(), fixup_go_packaging(), gccgo_string_p(), gdbscm_type_name(), gen_expr_binop_rest(), gen_fetch(), i386_bnd_type(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), init_type(), inspect_type(), language_alloc_type_symbol(), language_lookup_primitive_type_1(), linux_get_siginfo_type_with_fields(), lookup_template_type(), m2_long_set(), m2_print_typedef(), m2_type_name(), m2_typedef(), tdesc_type_vector::make_gdb_type(), tdesc_type_with_fields::make_gdb_type_struct(), tdesc_type_with_fields::make_gdb_type_union(), make_symbol_overload_list_adl_namespace(), new_symbol_full(), new_type(), opencl_print_type(), parse_symbol(), parse_type(), pascal_type_print_base(), pascal_type_print_varspec_prefix(), pascal_type_print_varspec_suffix(), pascal_value_print(), patch_type(), print_range(), print_range_type(), process_coff_symbol(), rank_one_type(), read_array_type(), read_module_type(), read_namespace(), read_namespace_type(), read_structure_type(), read_subrange_type(), read_tilde_fields(), read_type(), read_unspecified_type(), recursive_dump_type(), resolve_dynamic_array(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), rust_composite_type(), rust_get_disr_info(), rust_print_type(), rust_subscript(), rust_val_print(), spu_builtin_type_vec128(), static_unwrap_type(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_range_type(), to_record_with_fixed_variant_part(), type_name_no_tag(), types_equal(), typy_get_name(), typy_legacy_template_argument(), unwrap_value(), user_select_syms(), val_print_struct(), value_args_as_target_float(), value_cast(), value_cast_structs(), value_full_object(), vb_match(), windows_get_tlb_type(), and yyparse().
| #define TYPE_NESTED_TYPES_ARRAY | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->nested_types |
Definition at line 1457 of file gdbtypes.h.
Referenced by process_structure_scope().
| #define TYPE_NESTED_TYPES_COUNT | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->nested_types_count |
Definition at line 1465 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), and process_structure_scope().
| #define TYPE_NESTED_TYPES_FIELD | ( | thistype, | |
| n | |||
| ) | TYPE_CPLUS_SPECIFIC (thistype)->nested_types[n] |
Definition at line 1459 of file gdbtypes.h.
Referenced by process_structure_scope().
| #define TYPE_NESTED_TYPES_FIELD_NAME | ( | thistype, | |
| n | |||
| ) | TYPE_NESTED_TYPES_FIELD (thistype, n).name |
Definition at line 1461 of file gdbtypes.h.
| #define TYPE_NESTED_TYPES_FIELD_PRIVATE | ( | thistype, | |
| n | |||
| ) | TYPE_NESTED_TYPES_FIELD (thistype, n).is_private |
Definition at line 1469 of file gdbtypes.h.
| #define TYPE_NESTED_TYPES_FIELD_PROTECTED | ( | thistype, | |
| n | |||
| ) | TYPE_NESTED_TYPES_FIELD (thistype, n).is_protected |
Definition at line 1467 of file gdbtypes.h.
| #define TYPE_NESTED_TYPES_FIELD_TYPE | ( | thistype, | |
| n | |||
| ) | TYPE_NESTED_TYPES_FIELD (thistype, n).type |
Definition at line 1463 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union().
| #define TYPE_NFIELDS | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->nfields |
Definition at line 1239 of file gdbtypes.h.
Referenced by aarch64_push_dummy_call(), aarch64_store_return_value(), aarch64_type_align(), ada_args_match(), ada_discrete_type_high_bound(), ada_fixup_array_indexes_type(), ada_get_base_type(), ada_get_field_index(), ada_identical_enum_types_p(), ada_index_struct_field_1(), ada_is_aligner_type(), ada_is_ignored_field(), ada_is_redundant_index_type_desc(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_scalar(), ada_print_symbol_signature(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_val_print_enum(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), ada_which_variant_applies(), add_struct_fields(), amd64_classify_aggregate(), append_composite_type_field_aligned(), append_composite_type_field_raw(), append_flags_type_field(), arch_flags_type(), arm_return_in_memory(), arm_type_align(), arm_vfp_cprc_sub_candidate(), attach_fields_to_type(), BP_MANIPULATION(), build_gdb_vtable_type(), build_std_type_info_type(), c_get_string(), c_is_path_expr_parent(), c_number_of_children(), c_type_print_args(), c_type_print_base_1(), c_type_print_base_struct_union(), call_function_by_hand_dummy(), check_field(), check_types_equal(), coff_read_enum_type(), coff_read_struct_type(), compare_parameters(), compile_object_load(), compile_object_run(), completion_list_add_fields(), convert_ast_to_expression(), convert_char_literal(), convert_enum(), convert_func(), convert_struct_or_union(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), cp_type_print_method_args(), cplus_class_num_children(), create_array_type_with_stride(), create_set_type(), decode_base_type(), define_symbol(), desc_arity(), discrete_position(), do_search_struct_field(), dump_fn_fieldlists(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), dwarf2_compute_name(), dynamic_array_type(), empty_record(), enum_constant_from_type(), evaluate_funcall(), evaluate_struct_tuple(), f_type_print_base(), f_val_print(), fake_method::fake_method(), find_oload_champ(), find_struct_field(), finish_block_internal(), fp_register_arg_p(), gccgo_string_p(), gdbscm_type_field(), gdbscm_type_fields(), gdbscm_type_has_field_p(), gdbscm_type_next_field_x(), gdbscm_type_num_fields(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), generate_vla_size(), generic_val_print_enum_1(), get_discrete_bounds(), get_long_set_bounds(), get_regs_type(), gnuv2_baseclass_offset(), gnuv3_pass_by_reference(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), iq2000_pass_8bytetype_by_address(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_hfa_or_hva(), is_pascal_string_type(), is_scalar_type_recursive(), lookup_function_type_with_arguments(), lookup_struct_elt_type(), m2_enum(), m2_is_long_set(), m2_is_long_set_of_type(), m2_is_unbounded_array(), m2_long_set(), m2_print_bounds(), m2_print_long_set(), m2_procedure(), m2_record_fields(), m32c_push_dummy_call(), m68k_svr4_return_value(), m88k_8_byte_align_p(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_return_value(), mips_o32_return_value(), mips_type_needs_double_align(), mn10300_type_align(), mn10300_use_struct_convention(), nds32_check_calling_use_fpr(), nds32_push_dummy_call(), nds32_type_align(), need_access_label_p(), or1k_push_dummy_call(), parse_old_style_renaming(), parse_symbol(), parse_type(), pascal_object_print_value_fields(), pascal_print_func_args(), pascal_type_print_base(), patch_type(), ppc64_aggregate_candidate(), ppc64_sysv_abi_push_param(), print_array_type(), print_cplus_stuff(), print_enum_type(), print_field_values(), print_func_type(), print_record_field_types(), print_type_scalar(), print_unchecked_union_type(), print_variant_clauses(), process_enumeration_scope(), process_structure_scope(), quirk_gcc_member_function_pointer(), read_enum_type(), read_subroutine_type(), read_tag_ptr_to_member_type(), read_tilde_fields(), read_type(), recursive_dump_type(), resolve_dynamic_struct(), resolve_dynamic_union(), rust_composite_type(), rust_compute_range(), rust_evaluate_funcall(), rust_evaluate_subexp(), rust_get_disr_info(), rust_get_trait_object_pointer(), rust_print_struct_def(), rust_print_type(), rust_range_type_p(), rust_subscript(), rust_tuple_struct_type_p(), rust_type_alignment(), rust_underscore_fields(), rust_union_is_untagged(), rust_val_print(), rx_push_dummy_call(), s390_effective_inner_type(), s390_push_dummy_call(), score_type_needs_double_align(), search_struct_method(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_treat_as_flt_p(), sh_use_struct_convention(), sh_use_struct_convention_nofpu(), sixg_string_p(), slot_alignment_is_next_even(), smash_to_method_type(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), store_regs(), symbols_are_identical_enums(), template_to_static_fixed_type(), tic6x_push_dummy_call(), to_fixed_array_type(), to_record_with_fixed_variant_part(), types_equal(), typy_getitem(), typy_has_key(), typy_iterator_iternext(), typy_length(), v850_eight_byte_align_p(), v850_use_struct_convention(), val_print_struct(), val_print_type_code_flags(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), value_val_atr(), and variant_field_index().
| #define TYPE_NFN_FIELDS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields |
Definition at line 1311 of file gdbtypes.h.
Referenced by add_struct_fields(), attach_fn_fields_to_type(), c_type_print_base_struct_union(), check_field(), compute_vtable_size(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), find_method_list(), find_methods(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), need_access_label_p(), pascal_type_print_base(), print_cplus_stuff(), read_member_functions(), recursive_dump_type(), search_struct_method(), value_struct_elt(), and value_struct_elt_for_reference().
| #define TYPE_NO_RETURN | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->is_noreturn |
Definition at line 1328 of file gdbtypes.h.
Referenced by copy_type_recursive(), finish_command(), read_subroutine_type(), and return_command().
| #define TYPE_NOSIGN | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_nosign) |
No sign for this type. In C++, "char", "signed char", and "unsigned char" are distinct types; so we need an extra flag to indicate the absence of a sign!
Definition at line 211 of file gdbtypes.h.
Referenced by basic_type(), check_types_equal(), dwarf2_compute_name(), gdbtypes_post_init(), objfile_type(), rank_one_type(), read_base_type(), read_range_type(), recursive_dump_type(), and rs6000_builtin_type().
| #define TYPE_NOTTEXT | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_NOTTEXT) |
Not textual. By default, GDB treats all single byte integers as characters (or elements of strings) unless this flag is set.
Definition at line 276 of file gdbtypes.h.
Referenced by c_textual_element_type(), check_types_equal(), and recursive_dump_type().
| #define TYPE_OBJFILE | ( | t | ) | (TYPE_OBJFILE_OWNED(t)? TYPE_OWNER(t).objfile : NULL) |
Definition at line 291 of file gdbtypes.h.
Referenced by ada_operator_check(), alloc_type_instance(), check_typedef(), copy_type(), copy_type_recursive(), create_array_type_with_stride(), get_vptr_fieldno(), make_cv_type(), make_qualified_type(), operator_check_standard(), preserve_one_internalvar(), preserve_one_value(), replace_type(), rust_operator_check(), set_type(), type_name_no_tag_or_error(), typy_dealloc(), tyscm_copy_type_recursive(), and tyscm_type_map().
| #define TYPE_OBJFILE_OWNED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_objfile_owned) |
Type owner. If TYPE_OBJFILE_OWNED is true, the type is owned by the objfile retrieved as TYPE_OBJFILE. Otherweise, the type is owned by an architecture; TYPE_OBJFILE is NULL in this case.
Definition at line 289 of file gdbtypes.h.
Referenced by add_dyn_prop(), alloc_type(), alloc_type_arch(), alloc_type_copy(), alloc_type_instance(), convert_func(), convert_type_basic(), copy_type(), copy_type_recursive(), get_type_arch(), language_alloc_type_symbol(), recursive_dump_type(), and smash_type().
| #define TYPE_OWNER | ( | t | ) | TYPE_MAIN_TYPE(t)->owner |
Definition at line 290 of file gdbtypes.h.
Referenced by alloc_type(), alloc_type_arch(), alloc_type_copy(), convert_func(), convert_type_basic(), copy_type_recursive(), get_type_arch(), language_alloc_type_symbol(), recursive_dump_type(), and smash_type().
| #define TYPE_POINTER_TYPE | ( | thistype | ) | (thistype)->pointer_type |
Definition at line 1227 of file gdbtypes.h.
Referenced by make_pointer_type(), make_qualified_type(), recursive_dump_type(), and yyparse().
| #define TYPE_PROTOTYPED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_prototyped) |
This is a function type which appears to have a prototype. We need this for function calls in order to tell us if it's necessary to coerce the args, or to just do the standard conversions. This is used with a short field.
Definition at line 232 of file gdbtypes.h.
Referenced by c_type_print_args(), call_function_by_hand_dummy(), convert_func(), define_symbol(), fake_method::fake_method(), lookup_function_type_with_arguments(), m32c_push_dummy_call(), parse_symbol(), read_subroutine_type(), read_type(), recursive_dump_type(), and rx_push_dummy_call().
| #define TYPE_RANGE_DATA | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->flds_bnds.bounds |
Definition at line 1243 of file gdbtypes.h.
Referenced by check_types_equal(), convert_array(), copy_type_recursive(), create_array_type_with_stride(), create_range_type(), evaluate_subexp_for_sizeof(), generate_vla_size(), is_dynamic_type_internal(), parse_type(), read_subrange_type(), and resolve_dynamic_range().
| #define TYPE_RAW_CPLUS_SPECIFIC | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.cplus_stuff |
Definition at line 1323 of file gdbtypes.h.
Referenced by allocate_cplus_struct_type(), internal_type_vptr_basetype(), internal_type_vptr_fieldno(), set_type_vptr_basetype(), and set_type_vptr_fieldno().
| #define TYPE_REFERENCE_TYPE | ( | thistype | ) | (thistype)->reference_type |
Definition at line 1228 of file gdbtypes.h.
Referenced by make_qualified_type(), make_reference_type(), and recursive_dump_type().
| #define TYPE_RESTRICT | ( | t | ) | ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_RESTRICT) != 0) |
Restrict type. If this is set, the corresponding type has a restrict modifier.
Definition at line 321 of file gdbtypes.h.
Referenced by c_type_print_modifier(), convert_qualified(), cp_type_print_method_args(), and recursive_dump_type().
| #define TYPE_RVALUE_REFERENCE_TYPE | ( | thistype | ) | (thistype)->rvalue_reference_type |
Definition at line 1229 of file gdbtypes.h.
Referenced by make_reference_type().
A helper macro that returns the name of a type or "unnamed type" if the type has no name.
Definition at line 1483 of file gdbtypes.h.
Referenced by c_print_token(), gnuv3_rtti_type(), hash_typedef_field(), print_one_vtable(), update_search_result(), and yyparse().
| #define TYPE_SELF_TYPE | ( | thistype | ) | internal_type_self_type (thistype) |
Definition at line 1299 of file gdbtypes.h.
Referenced by c_type_print_varspec_prefix(), copy_type_recursive(), cp_print_class_member(), evaluate_funcall(), evaluate_subexp_standard(), find_overload_match(), gnuv3_method_ptr_to_value(), gnuv3_print_method_ptr(), pascal_type_print_varspec_prefix(), read_member_functions(), recursive_dump_type(), smash_to_methodptr_type(), and value_struct_elt_for_reference().
| #define TYPE_SPECIFIC_FIELD | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific_field |
Definition at line 1312 of file gdbtypes.h.
Referenced by allocate_cplus_struct_type(), allocate_gnat_aux_type(), copy_type_recursive(), func_addr_to_tail_call_list(), internal_type_self_type(), internal_type_vptr_basetype(), recursive_dump_type(), set_type_code(), and set_type_self_type().
| #define TYPE_STUB | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_stub) |
This appears in a type's flags word if it is a stub type (e.g., if someone referenced a type that wasn't defined in a source file via (struct sir_not_appearing_in_this_film *)).
Definition at line 217 of file gdbtypes.h.
Referenced by ada_check_typedef(), ada_to_fixed_type_1(), allocate_stub_method(), c_type_print_base_1(), c_type_print_base_struct_union(), check_stub_method(), check_typedef(), cleanup_undefined_types_1(), create_range_type(), create_set_type(), cross_ref(), desc_bounds(), m2_val_print(), parse_symbol(), pascal_type_print_base(), pascal_val_print(), print_selected_record_field_types(), read_enum_type(), read_enumeration_type(), read_member_functions(), read_struct_type(), read_structure_type(), read_type(), read_unspecified_type(), recursive_dump_type(), remove_extra_symbols(), and val_print().
| #define TYPE_STUB_SUPPORTED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_stub_supported) |
This debug target supports TYPE_STUB(t). In the unsupported case we have to rely on NFIELDS to be zero etc., see TYPE_IS_OPAQUE(). TYPE_STUB(t) with !TYPE_STUB_SUPPORTED(t) may exist if we only guessed the TYPE_STUB(t) value (see dwarfread.c).
Definition at line 271 of file gdbtypes.h.
Referenced by read_structure_type(), and recursive_dump_type().
| #define TYPE_TAG_NAME | ( | type | ) | TYPE_MAIN_TYPE(type)->tag_name |
Definition at line 1225 of file gdbtypes.h.
Referenced by ada_check_typedef(), ada_template_to_fixed_record_type_1(), ada_type_name(), add_undefined_type(), arch_composite_type(), build_gdb_vtable_type(), build_std_type_info_type(), c_is_path_expr_parent(), c_type_print_base_1(), c_type_print_base_struct_union(), check_types_equal(), cleanup_undefined_types_1(), complain_about_struct_wipeout(), copy_type_recursive(), decode_base_type(), define_symbol(), determine_prefix(), empty_record(), enum_constant_from_type(), evaluate_funcall(), f_type_print_base(), find_size_for_pointer_math(), fixup_go_packaging(), gdbscm_type_tag(), gen_maybe_namespace_elt(), gen_namespace_elt(), gen_struct_ref(), inspect_type(), m2_enum(), m2_long_set(), m2_record_fields(), tdesc_type_with_fields::make_gdb_type_struct(), parse_symbol(), parse_type(), pascal_type_print_base(), print_symbol(), process_coff_symbol(), process_structure_scope(), read_enumeration_type(), read_module_type(), read_namespace_type(), read_structure_type(), read_type(), recursive_dump_type(), rust_composite_type(), rust_evaluate_funcall(), rust_evaluate_subexp(), rust_get_disr_info(), rust_print_struct_def(), rust_print_type(), rust_range_type_p(), rust_slice_type_p(), rust_tuple_type_p(), sixg_string_p(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), type_name_no_tag(), typy_get_tag(), val_print_struct(), value_maybe_namespace_elt(), and value_namespace_elt().
| #define TYPE_TAIL_CALL_LIST | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->tail_call_list |
Definition at line 1329 of file gdbtypes.h.
Referenced by call_site_find_chain_1(), copy_type_recursive(), func_verify_no_selftailcall(), and read_call_site_scope().
| #define TYPE_TARGET_STUB | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_target_stub) |
The target type of this type is a stub type, and this type needs to be updated if it gets un-stubbed in check_typedef. Used for arrays and ranges, in which TYPE_LENGTH of the array/range gets set based on the TYPE_LENGTH of the target type. Also, set for TYPE_CODE_TYPEDEF.
Definition at line 225 of file gdbtypes.h.
Referenced by check_typedef(), create_array_type_with_stride(), create_range_type(), fbsd_get_siginfo_type(), linux_get_siginfo_type_with_fields(), read_type(), read_typedef(), recursive_dump_type(), and upgrade_type().
| #define TYPE_TARGET_TYPE | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->target_type |
Definition at line 1226 of file gdbtypes.h.
Referenced by aarch64_push_dummy_call(), aarch64_type_align(), ada_array_arity(), ada_array_bound_from_type(), ada_array_element_type(), ada_array_length(), ada_coerce_to_simple_array(), ada_convert_actual(), ada_evaluate_subexp(), ada_get_base_type(), ada_index_type(), ada_is_array_type(), ada_is_dispatch_table_ptr_type(), ada_is_redundant_index_type_desc(), ada_is_simple_array_type(), ada_is_tag_type(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_scalar(), ada_print_symbol_signature(), ada_print_type(), ada_promote_array_of_integrals(), ada_tasks_inferior_data_sniffer(), ada_template_to_fixed_record_type_1(), ada_type_match(), ada_typedef_target_type(), ada_val_print_num(), ada_val_print_ref(), ada_val_print_string(), ada_value_print(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_slice_from_ptr(), ada_value_struct_elt(), ada_variant_discrim_name(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_simple_array_child(), ada_varobj_get_ptr_number_of_children(), ada_varobj_ind(), ada_varobj_simple_array_elt(), add_array_cv_type(), allocate_stub_method(), amd64_classify_aggregate(), arch_complex_type(), arch_pointer_type(), arm_push_dummy_call(), arm_type_align(), arm_vfp_cprc_sub_candidate(), avr_address_to_pointer(), avr_pointer_to_address(), binop_types_user_defined_p(), BP_MANIPULATION(), bpfinishpy_init(), c_describe_child(), c_get_string(), c_textual_element_type(), c_type_print_base_1(), c_type_print_base_struct_union(), c_type_print_varspec_prefix(), c_type_print_varspec_suffix(), c_val_print_array(), c_val_print_ptr(), c_value_of_variable(), c_value_print(), c_watch_location_expression(), calc_f77_array_dims(), call_function_by_hand_dummy(), can_dereference(), cast_into_complex(), check_stub_method(), check_typedef(), check_types_equal(), classify_type(), coerce_for_assign(), coerce_ref(), compile_object_load(), complete_expression(), constrained_packed_array_type(), convert_array(), convert_complex(), convert_func(), convert_pointer(), copy_type_recursive(), cp_is_vtbl_member(), cp_lookup_bare_symbol(), cp_print_static_field(), cp_type_print_method_args(), create_array_type_with_stride(), create_range_type(), create_value(), d_lookup_symbol(), desc_base_type(), desc_bounds(), desc_bounds_type(), desc_data_target_type(), do_ppc_sysv_return_value(), dwarf2_add_member_fn(), dwarf2_compute_name(), dynamic_array_type(), elf_gnu_ifunc_resolver_return_stop(), empty_array(), eval_call(), evaluate_funcall(), evaluate_subexp_c(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), f77_get_dynamic_length_of_aggregate(), f77_print_array_1(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), f_val_print(), fbsd_get_siginfo_type(), fetch_const_value_from_synthetic_pointer(), find_function_addr(), find_function_return_type(), find_size_for_pointer_math(), finish_command_fsm_should_stop(), fixed_type_info(), frv_push_dummy_call(), gccgo_string_p(), gdbscm_type_target(), gdbscm_value_dynamic_type(), gdbscm_value_to_lazy_string(), gen_deref(), gen_fetch(), gen_ptrdiff(), gen_scale(), gen_traced_pop(), gen_usual_unary(), generate_vla_size(), generic_val_print_array(), generic_val_print_complex(), generic_val_print_ptr(), generic_val_print_ref(), get_base_type(), get_out_value_type(), get_regs_type(), get_target_type(), gnuv2_virtual_fn_field(), gnuv3_get_typeid(), gnuv3_method_ptr_to_value(), gnuv3_pass_by_reference(), go_print_type(), hppa64_push_dummy_call(), i386_16_byte_align_p(), ia64_push_dummy_call(), indirect_synthetic_pointer(), init_complex_type(), init_pointer_type(), inspect_type(), integer_type_p(), iq2000_address_to_pointer(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_hfa_or_hva(), is_pascal_string_type(), is_scalar_type_recursive(), linux_get_siginfo_type_with_fields(), lookup_opencl_vector_type(), lookup_struct_elt_type(), lookup_symbol_aux(), lsscm_elt_type(), lsscm_safe_lazy_string_to_value(), lval_func_check_synthetic_pointer(), lval_func_read(), lval_func_write(), m2_array(), m2_is_long_set_of_type(), m2_pointer(), m2_print_bounds(), m2_print_long_set(), m2_print_unbounded_array(), m2_procedure(), m2_range(), m2_ref(), m2_typedef(), m2_unbounded_array(), m2_val_print(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_push_dummy_call(), make_function_type(), make_pointer_type(), make_reference_type(), make_symbol_overload_list_adl_namespace(), make_vector_type(), msp430_push_dummy_call(), nds32_type_align(), numeric_type_p(), objfile_type(), opencl_logical_not(), opencl_value_cast(), parse_procedure(), parse_type(), pascal_object_is_vtbl_member(), pascal_type_print_base(), pascal_type_print_func_varspec_suffix(), pascal_type_print_varspec_prefix(), pascal_type_print_varspec_suffix(), pascal_val_print(), pascal_value_print(), patch_opaque_types(), patch_type(), ppc64_aggregate_candidate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), print_array_type(), print_func_type(), print_go_string(), print_optional_low_bound(), print_range(), print_range_type(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), print_variant_clauses(), process_coff_symbol(), ptrmath_type_p(), quirk_gcc_member_function_pointer(), rank_one_type(), read_enumeration_type(), read_fat_string_value(), read_tag_ptr_to_member_type(), read_type(), read_typedef(), readjust_indirect_value_type(), recursive_dump_type(), resolve_dynamic_array(), resolve_dynamic_range(), resolve_dynamic_struct(), resolve_dynamic_type_internal(), return_command(), return_match(), rl78_pointer_to_address(), rust_evaluate_funcall(), rust_print_type(), rust_subscript(), rust_type_alignment(), rust_val_print(), rust_val_print_str(), rust_watch_location_expression(), rx_push_dummy_call(), s390_push_dummy_call(), sh_is_renesas_calling_convention(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_struct_return_from_sym(), sparc64_16_byte_align_p(), sparc_arg_on_registers_p(), sparc_structure_return_p(), spu_return_value(), stpy_convert_to_value(), stpy_lazy_string_elt_type(), template_to_static_fixed_type(), tic6x_push_dummy_call(), to_fixed_array_type(), to_fixed_range_type(), to_fixed_variant_branch_type(), type_is_full_subrange_of_target_type(), typecmp(), types_equal(), typy_get_composite(), typy_target(), typy_template_argument(), tyscm_get_composite(), unop_user_defined_p(), v850_use_struct_convention(), val_print_array_elements(), val_print_packed_array_elements(), val_print_scalar_type_p(), valpy_get_dynamic_type(), valpy_lazy_string(), value_actual_type(), value_addr(), value_arg_coerce(), value_cast(), value_cast_pointers(), value_coerce_array(), value_complement(), value_concat(), value_dynamic_cast(), value_has_field(), value_in(), value_ind(), value_literal_complex(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_ptrdiff(), value_reinterpret_cast(), value_slice(), value_struct_elt_for_reference(), value_subscript_packed(), value_subscripted_rvalue(), value_vector_widen(), value_x_binop(), value_x_unop(), vb_match(), vector_binop(), vector_relop(), whatis_exp(), windows_get_tlb_type(), xstormy16_address_to_pointer(), xstormy16_pointer_to_address(), and yyparse().
| #define TYPE_TEMPLATE_ARGUMENT | ( | thistype, | |
| n | |||
| ) | TYPE_CPLUS_SPECIFIC (thistype)->template_arguments[n] |
Definition at line 1422 of file gdbtypes.h.
Referenced by add_template_parameters(), c_type_print_template_args(), and typy_template_argument().
| #define TYPE_TEMPLATE_ARGUMENTS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->template_arguments |
Definition at line 1420 of file gdbtypes.h.
Referenced by cp_lookup_symbol_imports_or_template(), and process_structure_scope().
| #define TYPE_TYPEDEF_FIELD | ( | thistype, | |
| n | |||
| ) | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field[n] |
Definition at line 1444 of file gdbtypes.h.
Referenced by process_structure_scope(), and recursively_update_typedef_hash().
| #define TYPE_TYPEDEF_FIELD_ARRAY | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field |
Definition at line 1442 of file gdbtypes.h.
Referenced by process_structure_scope().
| #define TYPE_TYPEDEF_FIELD_COUNT | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field_count |
Definition at line 1450 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), need_access_label_p(), process_structure_scope(), and recursively_update_typedef_hash().
| #define TYPE_TYPEDEF_FIELD_NAME | ( | thistype, | |
| n | |||
| ) | TYPE_TYPEDEF_FIELD (thistype, n).name |
Definition at line 1446 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union().
| #define TYPE_TYPEDEF_FIELD_PRIVATE | ( | thistype, | |
| n | |||
| ) | TYPE_TYPEDEF_FIELD (thistype, n).is_private |
Definition at line 1454 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), and need_access_label_p().
| #define TYPE_TYPEDEF_FIELD_PROTECTED | ( | thistype, | |
| n | |||
| ) | TYPE_TYPEDEF_FIELD (thistype, n).is_protected |
Definition at line 1452 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union(), and need_access_label_p().
| #define TYPE_TYPEDEF_FIELD_TYPE | ( | thistype, | |
| n | |||
| ) | TYPE_TYPEDEF_FIELD (thistype, n).type |
Definition at line 1448 of file gdbtypes.h.
Referenced by c_type_print_base_struct_union().
| #define TYPE_UNSIGNED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_unsigned) |
Unsigned integer type. If this is not set for a TYPE_CODE_INT, the type is signed (unless TYPE_NOSIGN (below) is set).
Definition at line 205 of file gdbtypes.h.
Referenced by aarch64_push_dummy_call(), ada_is_modular_type(), ada_print_scalar(), ada_value_binop(), ada_value_print(), adjust_type_signedness(), arch_boolean_type(), arch_character_type(), arch_flags_type(), arch_integer_type(), arch_pointer_type(), base_types_equal_p(), binop_promote(), check_types_equal(), coff_read_enum_type(), convert_enum(), convert_int(), create_range_type(), create_set_type(), create_value(), define_symbol(), evaluate_subexp_opencl(), dwarf_expr_context::execute_stack_op(), gdbscm_value_to_integer(), gdbscm_value_to_real(), gen_binop(), gen_bitfield_ref(), gen_conversion(), gen_extend(), gen_sign_extend(), generate_register_struct(), generic_val_print_char(), get_discrete_bounds(), get_signed_type_minmax(), get_unsigned_type_max(), has_negatives(), init_boolean_type(), init_character_type(), init_integer_type(), init_pointer_type(), lookup_opencl_vector_type(), m2_get_discrete_bounds(), tdesc_type_with_fields::make_gdb_type_enum(), make_pointer_type(), max_of_type(), min_of_type(), mips_n32n64_push_dummy_call(), parse_symbol(), print_scalar_formatted(), print_type_scalar(), rank_one_type(), read_enum_type(), read_enumeration_type(), read_subrange_type(), read_sun_builtin_type(), recursive_dump_type(), rust_chartype_p(), rust_u8_type_p(), rust_val_print(), s390_handle_arg(), s390_register_return_value(), scalar_binop(), type_wider_than(), unpack_bits_as_long(), unpack_long(), update_enumeration_type_from_children(), valpy_long(), value_args_as_target_float(), value_assign(), value_cast(), vector_binop(), vector_relop(), vlscm_convert_typed_number(), and vlscm_integer_fits_p().
| #define TYPE_VARARGS | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_varargs) |
FIXME drow/2002-06-03: Only used for methods, but applies as well to functions.
Definition at line 247 of file gdbtypes.h.
Referenced by arm_vfp_abi_for_function(), c_type_print_args(), check_types_equal(), convert_func(), cp_type_print_method_args(), dwarf2_add_member_fn(), fake_method::fake_method(), lookup_function_type_with_arguments(), nds32_push_dummy_call(), or1k_push_dummy_call(), quirk_gcc_member_function_pointer(), read_subroutine_type(), read_tag_ptr_to_member_type(), recursive_dump_type(), rust_print_type(), rx_push_dummy_call(), s390_push_dummy_call(), search_struct_method(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), smash_to_method_type(), and tic6x_push_dummy_call().
| #define TYPE_VECTOR | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_vector) |
Identify a vector type. Gcc is handling this by adding an extra attribute to the array type. We slurp that in as a new flag of a type. This is used only in dwarf2read.c.
Definition at line 252 of file gdbtypes.h.
Referenced by aarch64_push_dummy_call(), aarch64_store_return_value(), aarch64_type_align(), arm_neon_double_type(), arm_neon_quad_type(), arm_return_in_memory(), arm_type_align(), arm_vfp_cprc_sub_candidate(), BP_MANIPULATION(), c_print_type_1(), c_type_print_varspec_suffix(), check_types_equal(), coerce_array(), convert_array(), default_print_one_register_info(), default_register_reggroup_p(), do_ppc_sysv_return_value(), evaluate_subexp_opencl(), evaluate_subexp_with_coercion(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_m128_p(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), ia64_register_reggroup_p(), is_hfa_or_hva(), lookup_opencl_vector_type(), tdesc_type_with_fields::make_gdb_type_union(), make_vector_type(), mips_register_reggroup_p(), opencl_logical_not(), opencl_print_type(), opencl_relop(), opencl_value_cast(), ppc64_aggregate_candidate(), ppc64_elfv2_abi_homogeneous_aggregate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc64_sysv_abi_return_value_base(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppcnbsd_return_value(), ptrmath_type_p(), recursive_dump_type(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), rs6000_lynx178_return_value(), rs6000_return_value(), s390_function_arg_vector(), s390_return_value(), spu_builtin_type_vec128(), spu_return_value(), value_arg_coerce(), value_binop(), value_cast(), value_complement(), value_must_coerce_to_target(), value_neg(), value_one(), value_pos(), value_vector_widen(), vector_binop(), and vector_relop().
| #define TYPE_VOLATILE | ( | t | ) | ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_VOLATILE) != 0) |
Volatile type. If this is set, the corresponding type has a volatile modifier.
Definition at line 315 of file gdbtypes.h.
Referenced by add_array_cv_type(), c_type_print_modifier(), convert_qualified(), cp_type_print_method_args(), create_value(), follow_types(), rank_one_type(), read_subroutine_type(), read_tag_const_type(), read_type(), recursive_dump_type(), value_rtti_indirect_type(), and value_struct_elt_for_reference().
| #define TYPE_VPTR_BASETYPE | ( | thistype | ) | internal_type_vptr_basetype (thistype) |
Definition at line 1309 of file gdbtypes.h.
Referenced by get_vptr_fieldno(), gnuv2_virtual_fn_field(), and print_cplus_stuff().
| #define TYPE_VPTR_FIELDNO | ( | thistype | ) | internal_type_vptr_fieldno (thistype) |
Definition at line 1308 of file gdbtypes.h.
Referenced by get_vptr_fieldno(), gnuv2_value_rtti_type(), print_cplus_stuff(), process_structure_scope(), and read_tilde_fields().
| #define TYPE_ZALLOC | ( | t, | |
| size | |||
| ) |
Definition at line 1657 of file gdbtypes.h.
Referenced by arch_flags_type(), create_array_type_with_stride(), create_range_type(), create_set_type(), fake_method::fake_method(), lookup_function_type_with_arguments(), parse_type(), read_subroutine_type(), and rust_composite_type().
| #define VOFFSET_STATIC 1 |
Definition at line 885 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn(), and read_member_functions().
Definition at line 1091 of file gdbtypes.h.
| enum dynamic_prop_kind |
| Enumerator | |
|---|---|
| PROP_UNDEFINED | |
| PROP_CONST | |
| PROP_ADDR_OFFSET | |
| PROP_LOCEXPR | |
| PROP_LOCLIST | |
Definition at line 376 of file gdbtypes.h.
Define a type's dynamic property node kind.
| Enumerator | |
|---|---|
| DYN_PROP_DATA_LOCATION | |
| DYN_PROP_ALLOCATED | |
| DYN_PROP_ASSOCIATED | |
| DYN_PROP_BYTE_STRIDE | |
Definition at line 418 of file gdbtypes.h.
| enum field_loc_kind |
Determine which field of the union main_type.fields[x].loc is used.
| Enumerator | |
|---|---|
| FIELD_LOC_KIND_BITPOS | bitpos |
| FIELD_LOC_KIND_ENUMVAL | enumval |
| FIELD_LOC_KIND_PHYSADDR | physaddr |
| FIELD_LOC_KIND_PHYSNAME | physname |
| FIELD_LOC_KIND_DWARF_BLOCK | |
Definition at line 452 of file gdbtypes.h.
| enum type_code |
Different kinds of data types are distinguished by the ‘code’ field.
Definition at line 80 of file gdbtypes.h.
Some bits for the type's instance_flags word. See the macros below for documentation on each bit.
Definition at line 187 of file gdbtypes.h.
| enum type_specific_kind |
A discriminant to determine which field in the main_type.type_specific union is being used, if any.
For types such as TYPE_CODE_FLT, the use of this discriminant is really redundant, as we know from the type code which field is going to be used. As such, it would be possible to reduce the size of this enum in order to save a bit or two for other fields of struct main_type. But, since we still have extra room , and for the sake of clarity and consistency, we treat all fields of the union the same way.
| Enumerator | |
|---|---|
| TYPE_SPECIFIC_NONE | |
| TYPE_SPECIFIC_CPLUS_STUFF | |
| TYPE_SPECIFIC_GNAT_STUFF | |
| TYPE_SPECIFIC_FLOATFORMAT | |
| TYPE_SPECIFIC_FUNC | |
| TYPE_SPECIFIC_SELF_TYPE | |
Definition at line 472 of file gdbtypes.h.
| void add_dyn_prop | ( | enum dynamic_prop_node_kind | kind, |
| struct dynamic_prop | prop, | ||
| struct type * | type, | ||
| struct objfile * | objfile | ||
| ) |
Given a dynamic property PROP of a given KIND, add this dynamic property to the given TYPE.
This function assumes that TYPE is objfile-owned, and that OBJFILE is the TYPE's objfile.
Definition at line 2345 of file gdbtypes.c.
References gdb_assert, dynamic_prop_list::next, dynamic_prop_list::prop, dynamic_prop_list::prop_kind, TYPE_DYN_PROP_LIST, and TYPE_OBJFILE_OWNED.
Referenced by create_array_type_with_stride(), and set_die_type().
| const char* address_space_int_to_name | ( | struct gdbarch * | , |
| int | |||
| ) |
Definition at line 590 of file gdbtypes.c.
References gdbarch_address_class_type_flags_to_name(), gdbarch_address_class_type_flags_to_name_p(), TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, TYPE_INSTANCE_FLAG_CODE_SPACE, and TYPE_INSTANCE_FLAG_DATA_SPACE.
Referenced by c_type_print_modifier().
| int address_space_name_to_int | ( | struct gdbarch * | , |
| char * | |||
| ) |
Definition at line 568 of file gdbtypes.c.
References _, error(), gdbarch_address_class_name_to_type_flags(), gdbarch_address_class_name_to_type_flags_p(), TYPE_INSTANCE_FLAG_CODE_SPACE, and TYPE_INSTANCE_FLAG_DATA_SPACE.
Referenced by insert_type_address_space().
Definition at line 167 of file gdbtypes.c.
References gdb_assert, OBJSTAT, OBSTACK_ZALLOC, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_UNDEF, TYPE_MAIN_TYPE, TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by alloc_type_copy(), coff_alloc_type(), dbx_alloc_type(), dwarf2_add_member_fn(), init_type(), new_type(), quirk_gcc_member_function_pointer(), read_enumeration_type(), read_structure_type(), and read_tag_ptr_to_member_type().
Definition at line 195 of file gdbtypes.c.
References gdb_assert, GDBARCH_OBSTACK_ZALLOC, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_UNDEF, TYPE_MAIN_TYPE, TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by alloc_type_copy(), arch_type(), check_typedef(), and copy_type_recursive().
Definition at line 222 of file gdbtypes.c.
References alloc_type(), alloc_type_arch(), TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by ada_template_to_fixed_record_type_1(), ada_type_of_array(), allocate_stub_method(), constrained_packed_array_type(), copy_type(), create_array_type_with_stride(), create_range_type(), create_set_type(), empty_record(), lookup_memberptr_type(), lookup_methodptr_type(), make_function_type(), make_pointer_type(), make_reference_type(), rust_composite_type(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_range_type(), and to_record_with_fixed_variant_part().
| void allocate_cplus_struct_type | ( | struct type * | ) |
Definition at line 2782 of file gdbtypes.c.
References cplus_struct_default, HAVE_CPLUS_STRUCT, set_type_vptr_fieldno(), TYPE_ALLOC, TYPE_RAW_CPLUS_SPECIFIC, TYPE_SPECIFIC_CPLUS_STUFF, and TYPE_SPECIFIC_FIELD.
| void allocate_gnat_aux_type | ( | struct type * | ) |
Definition at line 2803 of file gdbtypes.c.
References gnat_aux_default, TYPE_ALLOC, TYPE_GNAT_SPECIFIC, TYPE_SPECIFIC_FIELD, and TYPE_SPECIFIC_GNAT_STUFF.
Definition at line 848 of file gdbtypes.c.
References alloc_type_copy(), type, TYPE_CODE, TYPE_CODE_METHOD, TYPE_LENGTH, TYPE_STUB, and TYPE_TARGET_TYPE.
Referenced by read_type().
Definition at line 5208 of file gdbtypes.c.
References append_composite_type_field_aligned(), and name.
Referenced by aarch64_vnb_type(), aarch64_vnd_type(), aarch64_vnh_type(), aarch64_vnq_type(), aarch64_vns_type(), arm_neon_double_type(), arm_neon_quad_type(), fbsd_get_siginfo_type(), i386_bnd_type(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), linux_get_siginfo_type_with_fields(), tdesc_type_with_fields::make_gdb_type_struct(), tdesc_type_with_fields::make_gdb_type_union(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), spu_builtin_type_vec128(), and windows_get_tlb_type().
| void append_composite_type_field_aligned | ( | struct type * | t, |
| const char * | name, | ||
| struct type * | field, | ||
| int | alignment | ||
| ) |
Definition at line 5168 of file gdbtypes.c.
References append_composite_type_field_raw(), FIELD_BITPOS, FIELD_TYPE, name, SET_FIELD_BITPOS, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_LENGTH, and TYPE_NFIELDS.
Referenced by append_composite_type_field(), and linux_get_siginfo_type_with_fields().
| struct field* append_composite_type_field_raw | ( | struct type * | t, |
| const char * | name, | ||
| struct type * | field | ||
| ) |
Definition at line 5149 of file gdbtypes.c.
References FIELD_NAME, FIELD_TYPE, memset(), name, TYPE_FIELDS, TYPE_NFIELDS, and XRESIZEVEC.
Referenced by append_composite_type_field_aligned(), tdesc_type_with_fields::make_gdb_type_enum(), and tdesc_type_with_fields::make_gdb_type_struct().
| void append_flags_type_field | ( | struct type * | type, |
| int | start_bitpos, | ||
| int | nr_bits, | ||
| struct type * | field_type, | ||
| const char * | name | ||
| ) |
Definition at line 5095 of file gdbtypes.c.
References gdb_assert, name, SET_FIELD_BITPOS, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_FLAGS, TYPE_FIELD, TYPE_FIELD_BITSIZE, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_LENGTH, and TYPE_NFIELDS.
Referenced by append_flags_type_flag(), and tdesc_type_with_fields::make_gdb_type_flags().
| void append_flags_type_flag | ( | struct type * | type, |
| int | bitpos, | ||
| const char * | name | ||
| ) |
Definition at line 5119 of file gdbtypes.c.
References append_flags_type_field(), get_type_arch(), and name.
Referenced by BP_MANIPULATION(), rl78_psw_type(), rx_fpsw_type(), rx_psw_type(), sparc64_ccr_type(), sparc64_fprs_type(), sparc64_fsr_type(), sparc64_pstate_type(), sparc_fsr_type(), and sparc_psr_type().
Definition at line 4996 of file gdbtypes.c.
References arch_type(), bit, name, TYPE_CODE_BOOL, and TYPE_UNSIGNED.
Referenced by build_d_types(), build_fortran_types(), build_go_types(), build_m2_types(), build_opencl_types(), and rust_language_arch_info().
Definition at line 4979 of file gdbtypes.c.
References arch_type(), bit, name, TYPE_CODE_CHAR, and TYPE_UNSIGNED.
Referenced by ada_language_arch_info(), build_d_types(), build_go_types(), build_m2_types(), gdbtypes_post_init(), and rust_language_arch_info().
Definition at line 5044 of file gdbtypes.c.
References arch_type(), name, TARGET_CHAR_BIT, TYPE_CODE_COMPLEX, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by build_d_types(), build_fortran_types(), build_go_types(), and gdbtypes_post_init().
| struct type* arch_composite_type | ( | struct gdbarch * | gdbarch, |
| const char * | name, | ||
| enum type_code | code | ||
| ) |
Definition at line 5132 of file gdbtypes.c.
References arch_type(), code, gdb_assert, INIT_CPLUS_SPECIFIC, name, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_TAG_NAME.
Referenced by aarch64_vnb_type(), aarch64_vnd_type(), aarch64_vnh_type(), aarch64_vnq_type(), aarch64_vns_type(), arm_neon_double_type(), arm_neon_quad_type(), fbsd_get_siginfo_type(), i386_bnd_type(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), linux_get_siginfo_type_with_fields(), tdesc_type_with_fields::make_gdb_type_struct(), tdesc_type_with_fields::make_gdb_type_union(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), spu_builtin_type_vec128(), and windows_get_tlb_type().
Definition at line 5032 of file gdbtypes.c.
References arch_type(), bit, name, and TYPE_CODE_DECFLOAT.
Referenced by gdbtypes_post_init().
Definition at line 5076 of file gdbtypes.c.
References arch_type(), bit, name, type, TYPE_CODE_FLAGS, TYPE_FIELDS, TYPE_NFIELDS, TYPE_UNSIGNED, and TYPE_ZALLOC.
Referenced by BP_MANIPULATION(), tdesc_type_with_fields::make_gdb_type_flags(), rl78_psw_type(), rx_fpsw_type(), rx_psw_type(), sparc64_ccr_type(), sparc64_fprs_type(), sparc64_fsr_type(), sparc64_pstate_type(), sparc_fsr_type(), and sparc_psr_type().
| struct type* arch_float_type | ( | struct gdbarch * | , |
| int | , | ||
| const char * | , | ||
| const struct floatformat ** | |||
| ) |
Definition at line 5014 of file gdbtypes.c.
References arch_type(), bit, gdbarch_byte_order(), name, TYPE_CODE_FLT, TYPE_FLOATFORMAT, and verify_floatformat().
Referenced by ada_language_arch_info(), arm_ext_type(), build_d_types(), build_fortran_types(), build_go_types(), build_m2_types(), build_opencl_types(), gdbtypes_post_init(), ia64_ext_type(), m68881_ext_type(), tdesc_type_builtin::make_gdb_type(), nds32_pseudo_register_type(), rust_language_arch_info(), sh64_littlebyte_bigword_type(), and sh_littlebyte_bigword_type().
Definition at line 4962 of file gdbtypes.c.
References arch_type(), bit, name, TYPE_CODE_INT, and TYPE_UNSIGNED.
Referenced by ada_language_arch_info(), dwarf_expr_context::address_type(), build_d_types(), build_fortran_types(), build_gdb_vtable_type(), build_go_types(), build_m2_types(), build_opencl_types(), fbsd_get_siginfo_type(), gdbtypes_post_init(), linux_get_siginfo_type_with_fields(), linux_make_mappings_corefile_notes(), make_types(), rl78_gdbarch_init(), rust_language_arch_info(), windows_get_tlb_type(), and xtensa_register_type().
Definition at line 5061 of file gdbtypes.c.
References arch_type(), bit, name, TYPE_CODE_PTR, TYPE_TARGET_TYPE, and TYPE_UNSIGNED.
Referenced by avr_gdbarch_init(), ft32_gdbarch_init(), make_types(), and rl78_gdbarch_init().
Definition at line 4941 of file gdbtypes.c.
References alloc_type_arch(), bit, code, gdb_assert, gdbarch_obstack_strdup(), name, set_type_code(), TARGET_CHAR_BIT, type, TYPE_LENGTH, and TYPE_NAME.
Referenced by ada_language_arch_info(), arch_boolean_type(), arch_character_type(), arch_complex_type(), arch_composite_type(), arch_decfloat_type(), arch_flags_type(), arch_float_type(), arch_integer_type(), arch_pointer_type(), avr_gdbarch_init(), build_d_types(), build_fortran_types(), build_gdb_vtable_type(), build_go_types(), build_opencl_types(), build_std_type_info_type(), fbsd_get_siginfo_type(), finalize_symtab(), ft32_gdbarch_init(), gdbtypes_post_init(), linux_get_siginfo_type_with_fields(), tdesc_type_with_fields::make_gdb_type_enum(), make_types(), rl78_gdbarch_init(), and windows_get_tlb_type().
| const struct builtin_type* builtin_type | ( | struct gdbarch * | gdbarch | ) |
Return the type table for the specified architecture.
Definition at line 5217 of file gdbtypes.c.
References gdbarch_data(), and gdbtypes_data.
Referenced by aarch64_push_dummy_call(), aarch64_vnb_type(), aarch64_vnd_type(), aarch64_vnh_type(), aarch64_vnq_type(), aarch64_vns_type(), ada_evaluate_subexp(), ada_language_arch_info(), ada_scaling_type(), ada_tasks_inferior_data_sniffer(), ada_val_print_num(), address_from_register(), alpha_push_dummy_call(), alpha_register_type(), alpha_store_return_value(), amd64_x32_pseudo_register_type(), arm_neon_double_type(), arm_neon_quad_type(), arm_register_type(), assign_component(), avr_register_type(), bfin_register_type(), binop_promote(), BP_MANIPULATION(), bsd_uthread_read_memory_address(), build_gdb_vtable_type(), build_std_type_info_type(), c_language_arch_info(), call_function_by_hand_dummy(), call_site_to_target_addr(), compile_object_load(), compile_probe_arg(), convert_func(), convert_type_basic(), cplus_language_arch_info(), cris_register_type(), crisv32_register_type(), darwin_current_sos(), darwin_load_image_infos(), darwin_read_exec_load_addr_from_dyld(), darwin_solib_read_all_image_info_addr(), do_examine(), dtrace_process_dof_probe(), dwarf2_evaluate_loc_desc_full(), elf_gnu_ifunc_resolve_addr(), elf_gnu_ifunc_resolve_by_got(), elf_gnu_ifunc_resolver_return_stop(), elf_locate_base(), elf_rel_plt_read(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), find_command(), float_type_from_length(), frv_register_type(), ft32_register_type(), gdbscm_arch_builtin_type(), gdbtypes_post_init(), gen_expr(), gen_expr_binop_rest(), gen_integral_promotions(), dwarf_expr_context::get_base_type(), get_running_thread_id(), get_signed_type(), get_unsigned_type(), gnuv3_baseclass_offset(), gnuv3_decode_method_ptr(), h8300_register_type(), handle_stap_probe(), hppa32_convert_from_func_ptr_addr(), hppa32_register_type(), hppa64_register_type(), hppa_skip_trampoline_code(), i386_bnd_type(), i386_mmx_type(), i386_mpx_get_bt_entry(), i386_mpx_info_bounds(), i386_mpx_set_bounds(), i386_pseudo_register_type(), i386_ymm_type(), i386_zmm_type(), ia64_register_type(), iq2000_register_type(), jit_read_code_entry(), jit_read_descriptor(), ld_so_xfer_auxv(), lm32_register_type(), lm_info_read(), locexpr_get_frame_base(), loclist_get_frame_base(), lookup_array_range_type(), lookup_child_selector(), lookup_objc_class(), m32r_register_type(), m68hc11_register_type(), m68k_register_type(), m88k_register_type(), tdesc_type_builtin::make_gdb_type(), tdesc_type_with_fields::make_gdb_type_struct(), mep_register_type(), mi_cmd_data_read_memory(), microblaze_register_type(), mips_print_fp_register(), mips_pseudo_register_type(), mips_register_type(), mn10300_register_type(), moxie_register_type(), msp430_register_type(), msp430x_register_type(), mt_copro_register_type(), mt_register_type(), nios2_register_type(), obsd_auxv_parse(), open_symbol_file_object(), pascal_language_arch_info(), ppscm_print_string_repr(), print_scalar_formatted(), print_string_repr(), printf_floating(), proc_watchpoint_address(), procfs_address_to_host_pointer(), procfs_can_use_hw_breakpoint(), read_base_type(), resolve(), resolve_msgsend(), resolve_msgsend_stret(), resolve_msgsend_super(), resolve_msgsend_super_stret(), rs6000_aix_extract_ld_info(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), rs6000_pseudo_register_type(), rust_language_arch_info(), rx_register_type(), s390_pseudo_register_type(), safe_parse_type(), scan_dyntag(), score_register_type(), set_next_address(), sh64_do_fp_register(), sh64_register_type(), sh_default_register_type(), sh_sh2a_register_type(), sh_sh3e_register_type(), sh_sh4_register_type(), solib_svr4_r_brk(), solib_svr4_r_ldsomap(), solib_svr4_r_map(), sparc32_pseudo_register_type(), sparc32_register_type(), sparc64_pseudo_register_type(), sparc64_register_type(), spu_builtin_type_vec128(), spu_register_type(), stap_get_expected_argument_type(), stap_modify_semaphore(), tdesc_register_type(), tic6x_register_type(), tilegx_register_type(), unknown_language_arch_info(), unop_promote(), v850_register_type(), val_print_type_code_flags(), value_arg_coerce(), value_nsstring(), value_of_builtin_frame_fp_reg(), value_of_builtin_frame_pc_reg(), varobj_value_get_print_value(), vax_register_type(), vlscm_convert_bytevector(), vlscm_convert_number(), xstormy16_register_type(), xtensa_push_dummy_call(), and xtensa_register_type().
| int can_dereference | ( | struct type * | ) |
Definition at line 3015 of file gdbtypes.c.
References check_typedef(), TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_VOID, and TYPE_TARGET_TYPE.
Referenced by print_value_flags().
| void check_stub_method_group | ( | struct type * | , |
| int | |||
| ) |
Definition at line 2740 of file gdbtypes.c.
References check_stub_method(), startswith(), TYPE_FN_FIELD_PHYSNAME, TYPE_FN_FIELD_STUB, TYPE_FN_FIELDLIST1, TYPE_FN_FIELDLIST_LENGTH, and TYPE_FN_FIELDLIST_NAME.
Referenced by find_method_list(), gnuv3_find_method_in(), search_struct_method(), and value_struct_elt_for_reference().
Definition at line 2421 of file gdbtypes.c.
References alloc_type_arch(), check_typedef(), currently_reading_symtab, gdb_assert, get_type_arch(), type::instance_flags, lookup_symbol(), lookup_transparent_type(), make_qualified_type(), name, opaque_type_resolution, STRUCT_DOMAIN, stub_noname_complaint(), block_symbol::symbol, SYMBOL_TYPE, type, TYPE_CODE, TYPE_CODE_RANGE, TYPE_CODE_TYPEDEF, TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, TYPE_INSTANCE_FLAG_CODE_SPACE, TYPE_INSTANCE_FLAG_DATA_SPACE, TYPE_INSTANCE_FLAGS, TYPE_IS_OPAQUE, TYPE_LENGTH, type_name_no_tag(), TYPE_OBJFILE, TYPE_STUB, TYPE_TARGET_STUB, and TYPE_TARGET_TYPE.
Referenced by aarch64_push_dummy_call(), aarch64_return_in_memory(), aarch64_store_return_value(), aarch64_type_align(), ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_check_typedef(), ada_evaluate_subexp(), ada_get_field_index(), ada_is_redundant_index_type_desc(), ada_tasks_inferior_data_sniffer(), ada_val_print_ref(), ada_value_ptr_subscript(), add_struct_fields(), adjust_value_for_child_access(), allocate_value_lazy(), alpha_push_dummy_call(), amd64_classify_aggregate(), arm_push_dummy_call(), arm_return_in_memory(), arm_type_align(), arm_vfp_abi_for_function(), arm_vfp_cprc_sub_candidate(), assign_aggregate(), assign_component(), avr_push_dummy_call(), bfin_push_dummy_call(), binop_promote(), binop_types_user_defined_p(), BP_MANIPULATION(), c_get_string(), c_print_type_1(), c_print_type_struct_field_offset(), c_print_type_union_field_offset(), c_print_typedef(), c_textual_element_type(), c_type_print_base_1(), c_val_print(), c_val_print_array(), c_val_print_ptr(), c_value_of_variable(), c_value_print(), c_watch_location_expression(), call_function_by_hand_dummy(), can_dereference(), can_use_hardware_watchpoint(), check_condition(), check_field(), check_parameter_typelist(), check_typedef(), check_types_equal(), classify_inner_name(), classify_type(), coerce_array(), coerce_pieced_ref(), coerce_ref(), coerce_ref_if_computed(), collection_list::collect_symbol(), compile_object_load(), complete_expression(), compute_vtable_size(), constrained_packed_array_type(), convert_char_literal(), convert_type(), cp_find_class_member(), cp_find_type_baseclass_by_name(), cp_lookup_bare_symbol(), cp_lookup_nested_symbol(), cp_lookup_nested_symbol_1(), cp_lookup_rtti_type(), cp_print_static_field(), cp_print_value(), cp_print_value_fields(), create_array_type_with_stride(), create_range_type(), create_value(), d_lookup_nested_symbol(), d_lookup_symbol(), d_val_print(), decode_constrained_packed_array_type(), default_read_var_value(), distance_to_ancestor(), do_ppc_sysv_return_value(), do_search_struct_field(), dynamic_array_type(), encode_actions_1(), entry_data_value_coerce_ref(), evaluate_funcall(), evaluate_struct_tuple(), evaluate_subexp_c(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), f77_get_dynamic_length_of_aggregate(), f77_print_array_1(), f_type_print_base(), f_val_print(), fake_method::fake_method(), find_function_addr(), find_method(), find_method_list(), find_methods(), find_overload_match(), find_parallel_type_by_descriptive_type(), find_size_for_pointer_math(), find_symbol_in_baseclass(), fp_register_arg_p(), frv_push_dummy_call(), gccgo_string_p(), gdbpy_create_lazy_string_object(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_type_sizeof(), gdbscm_type_strip_typedefs(), gdbscm_value_call(), gdbscm_value_dynamic_type(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_bool(), gdbscm_value_to_bytevector(), gdbscm_value_to_integer(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), gen_bitfield_ref(), gen_cast(), gen_deref(), gen_expr(), gen_expr_binop_rest(), gen_int_literal(), gen_struct_ref(), gen_struct_ref_recursive(), gen_trace_static_fields(), gen_traced_pop(), gen_usual_arithmetic(), gen_var_ref(), generate_register_struct(), generate_vla_size(), generic_val_print(), generic_val_print_array(), generic_val_print_ptr(), generic_val_print_ref(), get_discrete_bounds(), get_internalvar_integer(), get_out_value_type(), get_regs_type(), get_return_value(), get_signed_type_minmax(), get_symbol_field_type(), get_target_type(), get_type(), get_unsigned_type_max(), get_value_at(), get_vptr_fieldno(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv2_virtual_fn_field(), gnuv3_dynamic_class(), gnuv3_get_typeid(), gnuv3_get_vtable(), gnuv3_method_ptr_to_value(), gnuv3_pass_by_reference(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), go_classify_struct_type(), go_print_type(), go_val_print(), hash_typedef_field(), hppa32_push_dummy_call(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), ia64_push_dummy_call(), indirect_pieced_value(), info_scope_command(), inspect_type(), internal_type_vptr_basetype(), internal_type_vptr_fieldno(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_floating_type(), is_floating_value(), is_hfa_or_hva(), is_integral_type(), is_scalar_type(), is_scalar_type_recursive(), is_unique_ancestor_worker(), list_arg_or_local(), list_args_or_locals(), lookup_function_type_with_arguments(), lookup_struct_elt_type(), lookup_symbol_aux(), lsscm_elt_type(), lsscm_safe_lazy_string_to_value(), lval_func_check_synthetic_pointer(), lval_func_read(), lval_func_write(), m2_get_discrete_bounds(), m2_print_array_contents(), m2_print_long_set(), m2_print_type(), m2_print_typedef(), m2_print_unbounded_array(), m2_val_print(), m68k_svr4_return_value(), m88k_8_byte_align_p(), make_symbol_overload_list_adl_namespace(), mi_print_value_p(), mips_eabi_push_dummy_call(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_push_dummy_call(), mips_n32n64_return_value(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mn10300_type_align(), mn10300_use_struct_convention(), msp430_push_dummy_call(), nds32_check_calling_use_fpr(), nds32_type_align(), nios2_push_dummy_call(), opencl_component_ref(), opencl_logical_not(), opencl_print_type(), opencl_relop(), opencl_value_cast(), or1k_push_dummy_call(), pack_long(), pack_unsigned_long(), pascal_object_print_static_field(), pascal_object_print_value(), pascal_object_print_value_fields(), pascal_print_type(), pascal_print_typedef(), pascal_printstr(), pascal_type_print_base(), pascal_val_print(), ppc64_aggregate_candidate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), print_formatted(), print_one_vtable(), print_symbol(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), print_variable_or_computed(), ptrmath_type_p(), py_print_type(), py_print_value(), rank_one_type(), read_frame_register_value(), read_one_struct_field(), read_subrange_type(), read_tag_ptr_to_member_type(), require_rvalue(), resolve_dynamic_array(), resolve_dynamic_struct(), resolve_dynamic_type(), resolve_dynamic_type_internal(), resolve_subexp(), return_command(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), rust_get_trait_object_pointer(), rust_print_type(), rust_print_typedef(), rust_subscript(), rust_type_alignment(), rust_val_print(), rust_watch_location_expression(), rx_push_dummy_call(), s390_effective_inner_type(), s390_handle_arg(), s390_push_dummy_call(), s390_return_value(), s390_value_from_register(), scalar_binop(), score_push_dummy_call(), search_struct_method(), set_internalvar(), set_type_vptr_basetype(), set_type_vptr_fieldno(), sh_is_renesas_calling_convention(), slot_alignment_is_next_even(), sparc32_struct_return_from_sym(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), sparc_arg_on_registers_p(), sparc_structure_return_p(), spu_push_dummy_call(), spu_return_value(), store_regs(), stpy_convert_to_value(), stpy_lazy_string_elt_type(), tic6x_arg_type_alignment(), tic6x_push_dummy_call(), tic6x_return_value(), tlb_value_read(), type_name_no_tag_or_error(), typecmp(), types_equal(), typy_fields_items(), typy_get_composite(), typy_get_sizeof(), typy_strip_typedefs(), typy_template_argument(), tyscm_get_composite(), unop_promote(), unop_user_defined_p(), unpack_bits_as_long(), unpack_long(), update_watchpoint(), v850_eight_byte_align_p(), val_print(), val_print_array_elements(), val_print_packed_array_elements(), val_print_scalar_type_p(), valprint_check_validity(), valpy_binop_throw(), valpy_call(), valpy_float(), valpy_get_dynamic_type(), valpy_getitem(), valpy_lazy_string(), valpy_long(), valpy_nonzero(), valpy_referenced_value(), value_actual_type(), value_addr(), value_arg_coerce(), value_args_as_target_float(), value_assign(), value_binop(), value_cast(), value_cast_pointers(), value_cast_structs(), value_coerce_array(), value_coerce_to_target(), value_complement(), value_concat(), value_dynamic_cast(), value_equal(), value_equal_contents(), value_f90_subarray(), value_fetch_lazy(), value_find_oload_method_list(), value_from_contents_and_address(), value_from_pointer(), value_from_register(), value_has_field(), value_in(), value_ind(), value_less(), value_logical_not(), value_must_coerce_to_target(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_pos(), value_primitive_field(), value_ptradd(), value_ptrdiff(), value_ref(), value_reinterpret_cast(), value_rtti_indirect_type(), value_slice(), value_struct_element_index(), value_struct_elt(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), value_subscript(), value_subscripted_rvalue(), value_vector_widen(), value_x_binop(), value_x_unop(), varobj_get_value_type(), vector_binop(), vector_relop(), vlscm_binop(), vlscm_convert_bytevector(), whatis_exp(), xtensa_push_dummy_call(), and yyparse().
| int class_or_union_p | ( | const struct type * | ) |
Definition at line 3114 of file gdbtypes.c.
References TYPE_CODE, TYPE_CODE_STRUCT, and TYPE_CODE_UNION.
Referenced by call_function_by_hand_dummy(), and get_call_return_value().
Definition at line 3125 of file gdbtypes.c.
References TYPE_MAIN_TYPE, and TYPE_NAME.
Referenced by distance_to_ancestor(), dynamic_cast_check_1(), dynamic_cast_check_2(), gnuv3_pass_by_reference(), is_unique_ancestor_worker(), and value_dynamic_cast().
| int compare_badness | ( | struct badness_vector * | , |
| struct badness_vector * | |||
| ) |
Definition at line 3312 of file gdbtypes.c.
References compare_ranks(), badness_vector::length, and badness_vector::rank.
Referenced by find_oload_champ(), and find_overload_match().
Definition at line 3284 of file gdbtypes.c.
References rank::rank, and rank::subrank.
Referenced by classify_oload_match(), compare_badness(), and compare_parameters().
Definition at line 4916 of file gdbtypes.c.
References alloc_type_copy(), copy_dynamic_prop_list(), gdb_assert, new_type(), TYPE_DYN_PROP_LIST, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_MAIN_TYPE, TYPE_OBJFILE, and TYPE_OBJFILE_OWNED.
Referenced by ada_to_fixed_type_1(), add_array_cv_type(), resolve_dynamic_array(), resolve_dynamic_range(), resolve_dynamic_struct(), resolve_dynamic_type_internal(), and resolve_dynamic_union().
| struct type* copy_type_recursive | ( | struct objfile * | objfile, |
| struct type * | type, | ||
| htab_t | copied_types | ||
| ) |
Definition at line 4763 of file gdbtypes.c.
References _, alloc_type_arch(), copy_dynamic_prop_list(), copy_type_recursive(), FIELD_LOC_KIND_BITPOS, FIELD_LOC_KIND_ENUMVAL, FIELD_LOC_KIND_PHYSADDR, FIELD_LOC_KIND_PHYSNAME, gdb_assert, gdb_assert_not_reached, get_type_arch(), INIT_CPLUS_SPECIFIC, INIT_FUNC_SPECIFIC, INIT_GNAT_SPECIFIC, internal_error(), new_type(), type_pair::newobj, type_pair::old, SET_FIELD_BITPOS, SET_FIELD_ENUMVAL, SET_FIELD_PHYSADDR, SET_FIELD_PHYSNAME, set_type_self_type(), type, TYPE_CALLING_CONVENTION, TYPE_CODE, TYPE_CODE_RANGE, TYPE_DYN_PROP_LIST, TYPE_FIELD, TYPE_FIELD_ARTIFICIAL, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_ENUMVAL, TYPE_FIELD_LOC_KIND, TYPE_FIELD_NAME, TYPE_FIELD_STATIC_PHYSADDR, TYPE_FIELD_STATIC_PHYSNAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FLOATFORMAT, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_MAIN_TYPE, TYPE_NAME, TYPE_NFIELDS, TYPE_NO_RETURN, TYPE_OBJFILE, TYPE_OBJFILE_OWNED, TYPE_OWNER, TYPE_RANGE_DATA, TYPE_SELF_TYPE, TYPE_SPECIFIC_CPLUS_STUFF, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FLOATFORMAT, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_GNAT_STUFF, TYPE_SPECIFIC_NONE, TYPE_SPECIFIC_SELF_TYPE, TYPE_TAG_NAME, TYPE_TAIL_CALL_LIST, TYPE_TARGET_TYPE, XCNEWVEC, and XNEW.
Referenced by compile_object_run(), copy_type_recursive(), preserve_one_internalvar(), preserve_one_value(), save_objfile_types(), and tyscm_copy_type_recursive().
Definition at line 1223 of file gdbtypes.c.
References create_array_type_with_stride().
Referenced by ada_type_of_array(), constrained_packed_array_type(), create_string_type(), decode_type(), define_symbol(), empty_array(), lookup_array_range_type(), read_array_type(), to_fixed_array_type(), upgrade_type(), value_cast(), value_slice(), and yyparse().
| struct type* create_array_type_with_stride | ( | struct type * | , |
| struct type * | , | ||
| struct type * | , | ||
| struct dynamic_prop * | , | ||
| unsigned | int | ||
| ) |
Definition at line 1147 of file gdbtypes.c.
References add_dyn_prop(), alloc_type_copy(), check_typedef(), dynamic_prop_data::const_val, dynamic_prop::data, DYN_PROP_BYTE_STRIDE, get_discrete_bounds(), has_static_range(), dynamic_prop::kind, PROP_CONST, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_FIELD_BITSIZE, TYPE_FIELDS, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_NFIELDS, type_not_allocated(), type_not_associated(), TYPE_OBJFILE, TYPE_RANGE_DATA, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, and TYPE_ZALLOC.
Referenced by ada_value_slice(), ada_value_slice_from_ptr(), create_array_type(), read_array_type(), and resolve_dynamic_array().
| htab_t create_copied_types_hash | ( | struct objfile * | objfile | ) |
Definition at line 4724 of file gdbtypes.c.
References dummy_obstack_deallocate(), hashtab_obstack_allocate(), type_pair_eq(), and type_pair_hash().
Referenced by compile_object_run(), preserve_values(), and save_objfile_types().
| struct type* create_range_type | ( | struct type * | , |
| struct type * | , | ||
| const struct dynamic_prop * | , | ||
| const struct dynamic_prop * | |||
| ) |
Definition at line 903 of file gdbtypes.c.
References alloc_type_copy(), check_typedef(), dynamic_prop_data::const_val, dynamic_prop::data, dynamic_prop::kind, PROP_CONST, TYPE_CODE, TYPE_CODE_RANGE, TYPE_LENGTH, TYPE_RANGE_DATA, TYPE_STUB, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, TYPE_UNSIGNED, and TYPE_ZALLOC.
Referenced by create_static_range_type(), read_subrange_type(), and resolve_dynamic_range().
Definition at line 1280 of file gdbtypes.c.
References alloc_type_copy(), get_discrete_bounds(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_SET, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_LENGTH, TYPE_NFIELDS, TYPE_STUB, TYPE_UNSIGNED, and TYPE_ZALLOC.
Referenced by read_set_type(), and read_type().
Definition at line 945 of file gdbtypes.c.
References dynamic_prop_data::const_val, create_range_type(), dynamic_prop::data, dynamic_prop::kind, and PROP_CONST.
Referenced by ada_type_of_array(), ada_value_slice(), ada_value_slice_from_ptr(), decode_type(), define_symbol(), empty_array(), lookup_array_range_type(), read_array_type(), read_range_type(), read_tag_string_type(), to_fixed_range_type(), upgrade_type(), value_cast(), value_slice(), and yyparse().
Definition at line 1256 of file gdbtypes.c.
References create_array_type(), TYPE_CODE, and TYPE_CODE_STRING.
Referenced by read_tag_string_type().
| DEF_ENUM_FLAGS_TYPE | ( | enum | type_instance_flag_value, |
| type_instance_flags | |||
| ) |
| DEFINE_OFFSET_TYPE | ( | cu_offset | , |
| unsigned | int | ||
| ) |
Offset relative to the start of its containing CU (compilation unit).
| DEFINE_OFFSET_TYPE | ( | sect_offset | , |
| unsigned | int | ||
| ) |
Offset relative to the start of its .debug_info or .debug_types section.
Definition at line 1100 of file gdbtypes.c.
References TYPE_CODE, TYPE_CODE_ENUM, TYPE_FIELD_ENUMVAL, and TYPE_NFIELDS.
Referenced by ada_value_slice(), ada_value_slice_from_ptr(), pos_atr(), and val_print_array_elements().
| int field_is_static | ( | struct field * | ) |
Definition at line 4224 of file gdbtypes.c.
References FIELD_LOC_KIND, FIELD_LOC_KIND_PHYSADDR, and FIELD_LOC_KIND_PHYSNAME.
Referenced by amd64_classify_aggregate(), arm_vfp_cprc_sub_candidate(), c_type_print_base_struct_union(), convert_field(), cp_print_value_fields(), do_search_struct_field(), evaluate_struct_tuple(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), generate_vla_size(), gnuv3_pass_by_reference(), is_dynamic_type_internal(), mips_n32n64_fp_arg_chunk_p(), pascal_object_print_value_fields(), pascal_type_print_base(), ppc64_aggregate_candidate(), resolve_dynamic_struct(), resolve_dynamic_union(), rust_print_struct_def(), rust_underscore_fields(), val_print_struct(), value_struct_element_index(), value_struct_elt_bitpos(), and value_struct_elt_for_reference().
| const struct floatformat* floatformat_from_type | ( | const struct type * | type | ) |
Definition at line 2857 of file gdbtypes.c.
References gdb_assert, TYPE_CODE, TYPE_CODE_FLT, and TYPE_FLOATFORMAT.
Referenced by host_float_ops< T >::from_target(), mpfr_float_ops::from_target(), mpfr_float_ops::gdb_mpfr::gdb_mpfr(), get_target_float_ops_kind(), target_float_format_length(), target_float_is_valid(), target_float_is_zero(), target_float_same_format_p(), target_float_to_string(), host_float_ops< T >::to_string(), mpfr_float_ops::to_string(), host_float_ops< T >::to_target(), and mpfr_float_ops::to_target().
| char* gdb_mangle_name | ( | struct type * | , |
| int | , | ||
| int | |||
| ) |
Definition at line 522 of file symtab.c.
References field_name(), fn_field::is_const, cleanup_check::is_constructor(), is_constructor_name(), cleanup_check::is_destructor(), is_destructor_name(), is_operator_name(), fn_field::is_volatile, fn_field::physname, startswith(), TYPE_FN_FIELD_PHYSNAME, TYPE_FN_FIELDLIST1, TYPE_FN_FIELDLIST_NAME, type_name_no_tag(), xmalloc(), and xsnprintf().
Referenced by c_type_print_base_struct_union(), and check_stub_method().
Definition at line 1056 of file gdbtypes.c.
References get_discrete_bounds(), TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED, TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED, and TYPE_INDEX_TYPE.
Referenced by ada_promote_array_of_integrals(), ada_same_array_size_p(), ada_varobj_get_array_number_of_children(), c_type_print_varspec_suffix(), c_val_print_array(), convert_array(), evaluate_subexp_opencl(), gdbpy_create_lazy_string_object(), gdbscm_value_to_lazy_string(), generic_val_print_array(), lookup_opencl_vector_type(), lval_func_read(), lval_func_write(), opencl_component_ref(), opencl_logical_not(), pascal_val_print(), ppc64_aggregate_candidate(), print_optional_low_bound(), rust_print_type(), rust_subscript(), rust_val_print(), val_print_array_elements(), valpy_lazy_string(), value_complement(), value_neg(), value_one(), value_vector_widen(), vector_binop(), and vector_relop().
Definition at line 977 of file gdbtypes.c.
References check_typedef(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_FIELD_ENUMVAL, TYPE_HIGH_BOUND, TYPE_LENGTH, TYPE_LOW_BOUND, TYPE_NFIELDS, and TYPE_UNSIGNED.
Referenced by ada_value_ptr_subscript(), c_get_string(), constrained_packed_array_type(), create_array_type_with_stride(), create_set_type(), evaluate_subexp_c(), evaluate_subexp_standard(), f77_print_array_1(), get_array_bounds(), is_scalar_type_recursive(), m2_get_discrete_bounds(), m2_print_long_set(), m2_val_print(), pascal_val_print(), val_print_packed_array_elements(), value_bit_index(), value_cast(), value_slice(), value_subscript(), and value_subscript_packed().
| struct dynamic_prop* get_dyn_prop | ( | enum dynamic_prop_node_kind | kind, |
| const struct type * | type | ||
| ) |
Return the dynamic property of the requested KIND from TYPE's list of dynamic properties.
Definition at line 2329 of file gdbtypes.c.
References dynamic_prop_list::next, dynamic_prop_list::prop, dynamic_prop_list::prop_kind, and TYPE_DYN_PROP_LIST.
Referenced by ada_value_slice(), ada_value_slice_from_ptr(), array_type_has_dynamic_stride(), and resolve_dynamic_array().
Definition at line 1757 of file gdbtypes.c.
References check_typedef(), gdb_assert, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_INT, TYPE_LENGTH, and TYPE_UNSIGNED.
Referenced by vlscm_convert_typed_number(), and vlscm_integer_fits_p().
This returns the target type (or NULL) of TYPE, also skipping past typedefs.
Definition at line 245 of file gdbtypes.c.
References check_typedef(), type, and TYPE_TARGET_TYPE.
Referenced by adjust_value_for_child_access(), c_describe_child(), c_number_of_children(), and varobj_get_value_type().
Return the type's architecture. For types owned by an architecture, that architecture is returned. For types owned by an objfile, that objfile's architecture is returned.
Definition at line 234 of file gdbtypes.c.
References get_objfile_arch(), TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by ada_scaling_type(), ada_val_print_num(), ada_val_print_string(), ada_value_assign(), ada_value_binop(), ada_value_primitive_packed_val(), append_flags_type_flag(), c_emit_char(), c_get_string(), c_printchar(), c_printstr(), c_type_print_modifier(), c_val_print_array(), c_val_print_int(), c_val_print_ptr(), c_val_print_struct(), check_stub_method(), check_typedef(), copy_type_recursive(), cp_print_class_member(), cp_print_value_fields(), decode_constrained_packed_array(), default_print_one_register_info(), default_read_var_value(), extract_typed_address(), f_get_encoding(), f_val_print(), find_function_addr(), float_type_from_length(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), gdbscm_value_subscript(), generic_emit_char(), generic_printstr(), generic_val_print_bool(), generic_val_print_char(), generic_val_print_complex(), generic_val_print_enum(), generic_val_print_float(), generic_val_print_func(), generic_val_print_ptr(), get_value_arch(), gnuv3_baseclass_offset(), gnuv3_get_typeid(), gnuv3_get_typename_from_type_info(), gnuv3_make_method_ptr(), gnuv3_method_ptr_size(), gnuv3_method_ptr_to_value(), gnuv3_print_method_ptr(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), lookup_array_range_type(), make_pointer_type(), make_reference_type(), match_endianness(), modify_field(), pack_long(), pack_unsigned_long(), pascal_printstr(), pascal_val_print(), print_formatted(), print_go_string(), print_ref_address(), print_scalar_formatted(), print_unpacked_pointer(), print_variable_at_address(), printf_floating(), printf_wide_c_string(), printstr(), rust_emitchar(), rust_val_print(), rw_pieced_value(), scalar_binop(), smash_to_memberptr_type(), store_typed_address(), target_float_same_format_p(), type_length_units(), ui_printf(), unpack_bits_as_long(), unpack_long(), unpack_value_bitfield(), update_watchpoint(), val_print_scalar_formatted(), val_print_string(), val_print_type_code_flags(), value_as_address(), value_assign(), value_assign_to_component(), value_bit_index(), value_cast(), value_pointer(), value_x_unop(), and varobj_value_get_print_value().
Definition at line 1740 of file gdbtypes.c.
References check_typedef(), gdb_assert, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_INT, TYPE_LENGTH, and TYPE_UNSIGNED.
Referenced by vlscm_convert_typed_number(), and vlscm_integer_fits_p().
Definition at line 1840 of file gdbtypes.c.
References check_typedef(), get_vptr_fieldno(), set_type_vptr_basetype(), set_type_vptr_fieldno(), TYPE_BASECLASS, TYPE_N_BASECLASSES, TYPE_OBJFILE, TYPE_VPTR_BASETYPE, and TYPE_VPTR_FIELDNO.
Referenced by c_type_print_base_struct_union(), cp_print_value_fields(), cplus_class_num_children(), cplus_describe_child(), get_vptr_fieldno(), gnuv2_value_rtti_type(), and gnuv2_virtual_fn_field().
Definition at line 2934 of file gdbtypes.c.
References bit, init_type(), name, TYPE_CODE_BOOL, and TYPE_UNSIGNED.
Referenced by read_base_type(), read_sun_builtin_type(), and rs6000_builtin_type().
Definition at line 2917 of file gdbtypes.c.
References bit, init_type(), name, TYPE_CODE_CHAR, and TYPE_UNSIGNED.
Referenced by read_base_type(), and rs6000_builtin_type().
Definition at line 2983 of file gdbtypes.c.
References init_type(), name, TARGET_CHAR_BIT, TYPE_CODE_COMPLEX, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by basic_type(), read_base_type(), read_range_type(), read_sun_floating_type(), and rs6000_builtin_type().
Definition at line 2971 of file gdbtypes.c.
References bit, init_type(), name, and TYPE_CODE_DECFLOAT.
Referenced by read_base_type().
| struct type* init_float_type | ( | struct objfile * | , |
| int | , | ||
| const char * | , | ||
| const struct floatformat ** | |||
| ) |
Definition at line 2952 of file gdbtypes.c.
References bit, gdbarch_byte_order(), get_objfile_arch(), init_type(), name, TYPE_CODE_FLT, TYPE_FLOATFORMAT, and verify_floatformat().
Referenced by basic_type(), dbx_init_float_type(), dwarf2_init_float_type(), objfile_type(), and rs6000_builtin_type().
Definition at line 2900 of file gdbtypes.c.
References bit, init_type(), name, TYPE_CODE_INT, and TYPE_UNSIGNED.
Referenced by basic_type(), objfile_type(), read_base_type(), read_range_type(), read_sun_builtin_type(), and rs6000_builtin_type().
Definition at line 3000 of file gdbtypes.c.
References bit, init_type(), name, TYPE_CODE_PTR, TYPE_TARGET_TYPE, and TYPE_UNSIGNED.
Referenced by basic_type(), objfile_type(), and read_base_type().
Helper function to construct objfile-owned types.
Definition at line 2871 of file gdbtypes.c.
References alloc_type(), bit, code, gdb_assert, name, set_type_code(), TARGET_CHAR_BIT, type, TYPE_LENGTH, and TYPE_NAME.
Referenced by basic_type(), build_error_marker_type(), cross_ref(), dbx_init_float_type(), dwarf2_init_float_type(), fixup_go_packaging(), init_boolean_type(), init_character_type(), init_complex_type(), init_decfloat_type(), init_float_type(), init_integer_type(), init_nodebug_var_type(), init_pointer_type(), objfile_type(), parse_type(), read_base_type(), read_module_type(), read_namespace_type(), read_range_type(), read_sun_builtin_type(), read_typedef(), read_unspecified_type(), and rs6000_builtin_type().
Definition at line 1334 of file gdbtypes.c.
References lookup_array_range_type(), and make_vector_type().
Referenced by arm_neon_double_type(), arm_neon_quad_type(), create_value(), fbsd_get_siginfo_type(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), linux_get_siginfo_type_with_fields(), tdesc_type_vector::make_gdb_type(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), sdata_make_value(), and spu_builtin_type_vec128().
Definition at line 1350 of file gdbtypes.c.
References gdb_assert, gdb_assert_not_reached, TYPE_CODE, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_MAIN_TYPE, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_NONE, and TYPE_SPECIFIC_SELF_TYPE.
Definition at line 1805 of file gdbtypes.c.
References check_typedef(), gdb_assert, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_RAW_CPLUS_SPECIFIC, TYPE_SPECIFIC_CPLUS_STUFF, and TYPE_SPECIFIC_FIELD.
| int internal_type_vptr_fieldno | ( | struct type * | ) |
Definition at line 1778 of file gdbtypes.c.
References check_typedef(), gdb_assert, HAVE_CPLUS_STRUCT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_RAW_CPLUS_SPECIFIC.
Definition at line 3185 of file gdbtypes.c.
References distance_to_ancestor().
Referenced by value_dynamic_cast().
| int is_dynamic_type | ( | struct type * | type | ) |
Predicate if the type has dynamic values, which are not resolved yet.
Definition at line 1976 of file gdbtypes.c.
References is_dynamic_type_internal().
Referenced by ada_is_redundant_range_encoding(), ada_value_primitive_packed_val(), ada_varobj_get_array_number_of_children(), constrained_packed_array_type(), default_read_var_value(), evaluate_subexp_for_sizeof(), generate_c_for_for_one_variable(), print_array_type(), type_is_full_subrange_of_target_type(), and value_subscripted_rvalue().
| int is_floating_type | ( | struct type * | ) |
Definition at line 3041 of file gdbtypes.c.
References check_typedef(), TYPE_CODE, TYPE_CODE_DECFLOAT, and TYPE_CODE_FLT.
Referenced by is_floating_value(), scalar_binop(), value_args_as_target_float(), value_cast(), value_neg(), and value_one().
| int is_integral_type | ( | struct type * | ) |
Definition at line 3027 of file gdbtypes.c.
References check_typedef(), TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_INT, and TYPE_CODE_RANGE.
Referenced by ada_evaluate_subexp(), ada_promote_array_of_integrals(), binop_promote(), coerce_for_assign(), evaluate_subexp_standard(), gen_expr_binop_rest(), opencl_relop(), scalar_binop(), unop_promote(), valpy_binop_throw(), valpy_int(), valpy_long(), valpy_nonzero(), value_args_as_target_float(), value_binop(), value_complement(), value_equal(), value_less(), value_neg(), value_one(), value_pos(), vlscm_binop(), vlscm_convert_typed_number(), vlscm_convert_typed_value_from_scheme(), and yyparse().
Definition at line 3194 of file gdbtypes.c.
References distance_to_ancestor().
Referenced by value_dynamic_cast().
| int is_scalar_type | ( | struct type * | type | ) |
Definition at line 3053 of file gdbtypes.c.
References check_typedef(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_SET, TYPE_CODE_STRING, TYPE_CODE_STRUCT, and TYPE_CODE_UNION.
Referenced by ada_value_primitive_packed_val(), and is_scalar_type_recursive().
| int is_scalar_type_recursive | ( | struct type * | ) |
Definition at line 3075 of file gdbtypes.c.
References check_typedef(), get_discrete_bounds(), is_scalar_type(), is_scalar_type_recursive(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_RANGE, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_FIELD_TYPE, TYPE_INDEX_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by can_use_hardware_watchpoint(), and is_scalar_type_recursive().
Definition at line 3254 of file gdbtypes.c.
References is_unique_ancestor_worker(), offset, value_address(), value_contents_for_printing(), value_embedded_offset(), and value_type().
Referenced by value_dynamic_cast().
Definition at line 1232 of file gdbtypes.c.
References builtin_type::builtin_int, builtin_type(), create_array_type(), create_static_range_type(), and get_type_arch().
Referenced by allocate_repeat_value(), build_gdb_vtable_type(), convert_ast_to_type(), dynamic_array_type(), follow_types(), gdbscm_value_to_lazy_string(), gen_repeat(), init_vector_type(), lookup_string_range_type(), lsscm_safe_lazy_string_to_value(), mt_register_type(), rust_evaluate_subexp(), sh64_build_float_register_type(), sh_sh4_build_float_register_type(), stpy_convert_to_value(), typy_array_1(), tyscm_array_1(), valpy_lazy_string(), value_array(), value_cstring(), and vlscm_convert_bytevector().
Definition at line 519 of file gdbtypes.c.
References make_function_type().
Referenced by decode_type(), define_symbol(), evaluate_subexp_standard(), finalize_symtab(), find_function_in_inferior(), flush_ea_cache(), follow_types(), gdbtypes_post_init(), make_types(), parse_procedure(), parse_symbol(), patch_block_stabs(), process_coff_symbol(), read_subroutine_type(), upgrade_type(), and yyparse().
Definition at line 529 of file gdbtypes.c.
References check_typedef(), gdb_assert, make_function_type(), TYPE_CODE, TYPE_CODE_VOID, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_NFIELDS, TYPE_PROTOTYPED, TYPE_VARARGS, and TYPE_ZALLOC.
Referenced by convert_ast_to_type(), and follow_types().
Definition at line 470 of file gdbtypes.c.
References lookup_reference_type(), and TYPE_CODE_REF.
Referenced by evaluate_subexp_standard(), follow_types(), gdbscm_type_reference(), gdbscm_value_dynamic_type(), typy_lookup_type(), typy_reference(), valpy_get_dynamic_type(), valpy_getitem(), and yyparse().
Definition at line 820 of file gdbtypes.c.
References alloc_type_copy(), and smash_to_memberptr_type().
Referenced by read_tag_ptr_to_member_type(), and value_struct_elt_for_reference().
Definition at line 832 of file gdbtypes.c.
References alloc_type_copy(), and smash_to_methodptr_type().
Referenced by read_tag_ptr_to_member_type(), and value_struct_elt_for_reference().
Definition at line 381 of file gdbtypes.c.
References make_pointer_type().
Referenced by aarch64_push_dummy_call(), aarch64_stap_parse_special_token(), ada_evaluate_subexp(), ada_get_tsd_from_tag(), ada_language_arch_info(), ada_tag_value_at_base_address(), ada_type_of_array(), ada_val_print_ref(), ada_value_ptr_subscript(), ada_varobj_ind(), address_of_variable(), alpha_push_dummy_call(), amd64_dtrace_parse_probe_argument(), arm_stap_parse_special_token(), call_function_by_hand_dummy(), check_stub_method(), compile_object_run(), convert_ast_to_type(), decode_type(), default_read_var_value(), define_symbol(), desc_bounds(), do_module_cleanup(), evaluate_funcall(), evaluate_subexp_for_address(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), fbsd_get_siginfo_type(), find_function_in_inferior(), flush_ea_cache(), follow_types(), gdbpy_get_xmethod_arg_types(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_type_pointer(), gdbscm_value_dynamic_type(), gdbtypes_post_init(), gen_address_of(), gen_usual_unary(), gnuv2_virtual_fn_field(), gnuv3_get_virtual_fn(), gnuv3_get_vtable(), gnuv3_method_ptr_to_value(), i386_stap_parse_special_token_three_arg_disp(), i386_stap_parse_special_token_triplet(), linux_get_siginfo_type_with_fields(), read_tag_pointer_type(), rust_get_trait_object_pointer(), rust_slice_type(), sparc32_store_arguments(), sparc64_store_arguments(), stap_parse_register_operand(), thin_data_pntr(), typy_lookup_type(), typy_pointer(), upgrade_type(), valpy_get_dynamic_type(), valpy_getitem(), value_addr(), value_arg_coerce(), value_coerce_array(), value_coerce_function(), value_fn_field(), value_nsstring(), value_reinterpret_cast(), value_rtti_indirect_type(), value_struct_elt_for_reference(), windows_get_tlb_type(), x_command(), and yyparse().
Definition at line 462 of file gdbtypes.c.
References make_reference_type().
Referenced by gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), lookup_lvalue_reference_type(), lookup_rvalue_reference_type(), read_tag_reference_type(), value_ref(), and value_rtti_indirect_type().
Definition at line 478 of file gdbtypes.c.
References lookup_reference_type(), and TYPE_CODE_RVALUE_REF.
Referenced by follow_types(), typy_lookup_type(), and valpy_getitem().
| struct type* lookup_signed_typename | ( | const struct language_defn * | , |
| struct gdbarch * | , | ||
| const char * | |||
| ) |
Definition at line 1537 of file gdbtypes.c.
References lookup_typename(), and name.
Referenced by binop_promote(), and yyparse().
Definition at line 1268 of file gdbtypes.c.
References lookup_array_range_type(), TYPE_CODE, and TYPE_CODE_STRING.
Referenced by value_string().
Definition at line 1662 of file gdbtypes.c.
References _, check_typedef(), error(), lookup_struct_elt_type(), name, strcmp_iw(), string, type, TYPE_BASECLASS, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_N_BASECLASSES, type_name_no_tag(), TYPE_NFIELDS, TYPE_TARGET_TYPE, and type_to_string().
Referenced by ada_is_bogus_array_descriptor(), desc_bounds_type(), desc_data_target_type(), desc_index_type(), is_thick_pntr(), lookup_struct_elt_type(), yylex(), and yyparse().
Definition at line 1623 of file gdbtypes.c.
References _, error(), lookup_symbol(), name, block_symbol::symbol, SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_NAME, and VAR_DOMAIN.
Referenced by yyparse().
| struct type* lookup_typename | ( | const struct language_defn * | , |
| struct gdbarch * | , | ||
| const char * | , | ||
| const struct block * | , | ||
| int | |||
| ) |
Definition at line 1509 of file gdbtypes.c.
References _, error(), LOC_TYPEDEF, lookup_symbol_in_language(), name, block_symbol::symbol, SYMBOL_CLASS, SYMBOL_TYPE, and VAR_DOMAIN.
Referenced by cp_lookup_symbol_imports_or_template(), evaluate_subexp_c(), gdbpy_invoke_xmethod(), lookup_signed_typename(), lookup_unsigned_typename(), printf_wide_c_string(), rust_lookup_type(), typy_lookup_typename(), tyscm_lookup_typename(), ui_printf(), yylex(), and yyparse().
| struct type* lookup_unsigned_typename | ( | const struct language_defn * | , |
| struct gdbarch * | , | ||
| const char * | |||
| ) |
Definition at line 1526 of file gdbtypes.c.
References lookup_typename(), and name.
Referenced by binop_promote(), and yyparse().
| void maintenance_print_type | ( | const char * | , |
| int | |||
| ) |
Definition at line 653 of file typeprint.c.
References evaluate_type(), parse_expression(), recursive_dump_type(), type, and value_type().
Referenced by _initialize_maint_cmds().
Definition at line 760 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_ATOMIC, and TYPE_INSTANCE_FLAGS.
Referenced by read_tag_atomic_type().
Definition at line 691 of file gdbtypes.c.
References gdb_assert, make_qualified_type(), TYPE_INSTANCE_FLAG_CONST, TYPE_INSTANCE_FLAG_VOLATILE, TYPE_INSTANCE_FLAGS, and TYPE_OBJFILE.
Referenced by add_array_cv_type(), build_std_type_info_type(), c_type_print_args(), create_value(), follow_types(), gdbpy_get_xmethod_arg_types(), gdbscm_type_const(), gdbscm_type_unqualified(), gdbscm_type_volatile(), gnuv3_get_typeid(), make_cv_value(), read_subroutine_type(), read_tag_const_type(), read_tag_volatile_type(), read_type(), rust_language_arch_info(), typy_const(), typy_lookup_type(), typy_unqualified(), typy_volatile(), and value_rtti_indirect_type().
Definition at line 489 of file gdbtypes.c.
References alloc_type_copy(), INIT_FUNC_SPECIFIC, smash_type(), type, TYPE_CODE, TYPE_CODE_FUNC, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by avr_gdbarch_init(), ft32_gdbarch_init(), lookup_function_type(), lookup_function_type_with_arguments(), and read_type().
Definition at line 319 of file gdbtypes.c.
References alloc_type_copy(), type::chain, gdbarch_ptr_bit(), get_type_arch(), smash_type(), TARGET_CHAR_BIT, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_PTR, TYPE_LENGTH, TYPE_POINTER_TYPE, TYPE_TARGET_TYPE, and TYPE_UNSIGNED.
Referenced by build_std_type_info_type(), compute_exception(), gnuv3_get_typeid(), lookup_pointer_type(), parse_symbol(), and read_type().
Definition at line 393 of file gdbtypes.c.
References alloc_type_copy(), type::chain, gdb_assert, gdbarch_ptr_bit(), get_type_arch(), smash_type(), TARGET_CHAR_BIT, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_REF, TYPE_CODE_RVALUE_REF, TYPE_LENGTH, TYPE_REFERENCE_TYPE, TYPE_RVALUE_REFERENCE_TYPE, and TYPE_TARGET_TYPE.
Referenced by lookup_reference_type(), and read_type().
Definition at line 736 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_RESTRICT, and TYPE_INSTANCE_FLAGS.
Referenced by read_tag_restrict_type().
Definition at line 667 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, TYPE_INSTANCE_FLAG_CODE_SPACE, TYPE_INSTANCE_FLAG_DATA_SPACE, and TYPE_INSTANCE_FLAGS.
Referenced by build_gdb_vtable_type(), follow_types(), and read_tag_pointer_type().
Definition at line 747 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_CONST, TYPE_INSTANCE_FLAG_RESTRICT, TYPE_INSTANCE_FLAG_VOLATILE, and TYPE_INSTANCE_FLAGS.
Referenced by convert_qualified().
| void make_vector_type | ( | struct type * | array_type | ) |
Definition at line 1311 of file gdbtypes.c.
References flags, make_qualified_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_INT, TYPE_INSTANCE_FLAG_NOTTEXT, TYPE_INSTANCE_FLAGS, TYPE_TARGET_TYPE, and TYPE_VECTOR.
Referenced by init_vector_type(), read_array_type(), read_type(), typy_array_1(), tyscm_array_1(), and vlscm_convert_bytevector().
| const struct objfile_type* objfile_type | ( | struct objfile * | objfile | ) |
Return the type table for the specified objfile.
Definition at line 5363 of file gdbtypes.c.
References objfile_type::builtin_char, objfile_type::builtin_core_addr, objfile_type::builtin_double, objfile_type::builtin_error, objfile_type::builtin_float, objfile_type::builtin_int, objfile_type::builtin_long, objfile_type::builtin_long_double, objfile_type::builtin_long_long, objfile_type::builtin_short, objfile_type::builtin_signed_char, objfile_type::builtin_unsigned_char, objfile_type::builtin_unsigned_int, objfile_type::builtin_unsigned_long, objfile_type::builtin_unsigned_long_long, objfile_type::builtin_unsigned_short, objfile_type::builtin_void, gdbarch_addr_bit(), gdbarch_char_signed(), gdbarch_double_bit(), gdbarch_double_format(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_int_bit(), gdbarch_long_bit(), gdbarch_long_double_bit(), gdbarch_long_double_format(), gdbarch_long_long_bit(), gdbarch_short_bit(), get_objfile_arch(), init_float_type(), init_integer_type(), init_nodebug_var_type(), init_pointer_type(), init_type(), objfile_type::nodebug_data_symbol, objfile_type::nodebug_got_plt_symbol, objfile_type::nodebug_text_gnu_ifunc_symbol, objfile_type::nodebug_text_symbol, objfile_type::nodebug_tls_symbol, objfile_type::nodebug_unknown_symbol, objfile_type(), objfile_type_data, OBSTACK_CALLOC, TARGET_CHAR_BIT, TYPE_CODE_ERROR, TYPE_CODE_FUNC, TYPE_CODE_VOID, TYPE_GNU_IFUNC, TYPE_NOSIGN, and TYPE_TARGET_TYPE.
Referenced by add_data_symbol(), basic_type(), convert_func(), convert_symbol_bmsym(), convert_type_basic(), dbx_lookup_type(), decode_base_type(), decode_type(), define_symbol(), die_type(), error_type(), find_minsym_type_and_address(), flush_ea_cache(), new_symbol_full(), objfile_type(), parse_procedure(), parse_symbol(), process_xcoff_symbol(), psymtab_to_symtab_1(), read_array_type(), read_range_type(), read_subrange_type(), read_subroutine_type(), read_tag_string_type(), rs6000_builtin_type(), and upgrade_type().
|
inlinestatic |
Definition at line 412 of file gdbtypes.h.
|
inlinestatic |
Definition at line 579 of file gdbtypes.h.
| bool operator== | ( | const dynamic_prop & | l, |
| const dynamic_prop & | r | ||
| ) |
Definition at line 864 of file gdbtypes.c.
References dynamic_prop_data::baton, dynamic_prop_data::const_val, dynamic_prop::data, gdb_assert_not_reached, dynamic_prop::kind, PROP_ADDR_OFFSET, PROP_CONST, PROP_LOCEXPR, PROP_LOCLIST, and PROP_UNDEFINED.
| bool operator== | ( | const range_bounds & | l, |
| const range_bounds & | r | ||
| ) |
Definition at line 887 of file gdbtypes.c.
References FIELD_EQ.
| void print_scalar_formatted | ( | const gdb_byte * | , |
| struct type * | , | ||
| const struct value_print_options * | , | ||
| int | , | ||
| struct ui_file * | |||
| ) |
Definition at line 351 of file printcmd.c.
References _, builtin_type::builtin_true_char, builtin_type::builtin_true_unsigned_char, builtin_type(), gdbarch::byte_order, error(), float_type_from_length(), value_print_options::format, gdb_assert, gdbarch_addr_bit(), gdbarch_byte_order(), get_type_arch(), print_address(), print_binary_chars(), print_decimal_chars(), print_floating(), print_hex_chars(), print_octal_chars(), size, store_signed_integer(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_FLT, TYPE_CODE_PTR, TYPE_LENGTH, TYPE_UNSIGNED, unpack_long(), unpack_pointer(), value_from_longest(), and value_print().
Referenced by mi_cmd_data_read_memory(), mips_print_fp_register(), and val_print_scalar_formatted().
| struct badness_vector* rank_function | ( | struct type ** | , |
| int | , | ||
| struct value ** | , | ||
| int | |||
| ) |
Definition at line 3356 of file gdbtypes.c.
References EXACT_MATCH_BADNESS, badness_vector::length, LENGTH_MATCH, LENGTH_MISMATCH_BADNESS, badness_vector::rank, rank_one_type(), TOO_FEW_PARAMS_BADNESS, value_type(), XNEW, and XNEWVEC.
Referenced by find_oload_champ().
Definition at line 3746 of file gdbtypes.c.
References BASE_CONVERSION_BADNESS, BASE_PTR_CONVERSION_BADNESS, BOOL_CONVERSION_BADNESS, check_typedef(), CV_CONVERSION_BADNESS, CV_CONVERSION_CONST, CV_CONVERSION_VOLATILE, distance_to_ancestor(), EXACT_MATCH_BADNESS, FLOAT_CONVERSION_BADNESS, FLOAT_PROMOTION_BADNESS, fprintf_filtered(), gdb_stderr, if(), INCOMPATIBLE_TYPE_BADNESS, INT_FLOAT_CONVERSION_BADNESS, INTEGER_CONVERSION_BADNESS, INTEGER_PROMOTION_BADNESS, integer_types_same_name_p(), not_lval, NS_INTEGER_POINTER_CONVERSION_BADNESS, NS_POINTER_CONVERSION_BADNESS, NULL_POINTER_CONVERSION_BADNESS, overload_debug, rank_one_type(), REFERENCE_CONVERSION_BADNESS, REFERENCE_CONVERSION_CONST_LVALUE, REFERENCE_CONVERSION_RVALUE, strict_type_checking, rank::subrank, sum_ranks(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_COMPLEX, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_RVALUE_REF, TYPE_CODE_SET, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_CONST, TYPE_DECLARED_CLASS, TYPE_FIELD_TYPE, TYPE_IS_REFERENCE, TYPE_LENGTH, TYPE_NAME, TYPE_NOSIGN, TYPE_TARGET_TYPE, TYPE_UNSIGNED, TYPE_VOLATILE, types_equal(), value_as_long(), VALUE_LVAL, value_type(), and VOID_PTR_CONVERSION_BADNESS.
Referenced by compare_parameters(), rank_function(), and rank_one_type().
| void recursive_dump_type | ( | struct type * | , |
| int | |||
| ) |
Definition at line 4380 of file gdbtypes.c.
References _, dont_print_type_obstack, gdb_print_host_address, gdb_stdout, HAVE_CPLUS_STRUCT, name, plongest(), print_cplus_stuff(), print_gnat_stuff(), printf_filtered(), printfi_filtered(), puts_filtered(), recursive_dump_type(), TYPE_ADDRESS_CLASS_1, TYPE_ADDRESS_CLASS_2, TYPE_ATOMIC, TYPE_CALLING_CONVENTION, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_COMPLEX, TYPE_CODE_ENUM, TYPE_CODE_ERROR, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_CODE_NAMESPACE, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_SPACE, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_CONST, TYPE_CPLUS_SPECIFIC, TYPE_DATA_SPACE, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_ENUMVAL, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FIXED_INSTANCE, TYPE_FLOATFORMAT, TYPE_GNAT_SPECIFIC, TYPE_HIGH_BOUND, TYPE_HIGH_BOUND_UNDEFINED, TYPE_INCOMPLETE, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_LOW_BOUND, TYPE_LOW_BOUND_UNDEFINED, TYPE_NAME, TYPE_NFIELDS, TYPE_NFN_FIELDS, TYPE_NOSIGN, TYPE_NOTTEXT, TYPE_OBJFILE_OWNED, TYPE_OWNER, TYPE_POINTER_TYPE, TYPE_PROTOTYPED, TYPE_REFERENCE_TYPE, TYPE_RESTRICT, TYPE_SELF_TYPE, TYPE_SPECIFIC_CPLUS_STUFF, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FLOATFORMAT, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_GNAT_STUFF, TYPE_SPECIFIC_SELF_TYPE, TYPE_STUB, TYPE_STUB_SUPPORTED, TYPE_TAG_NAME, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, TYPE_UNSIGNED, TYPE_VARARGS, TYPE_VECTOR, and TYPE_VOLATILE.
Referenced by dump_fn_fieldlists(), maintenance_print_type(), print_args(), print_cplus_stuff(), print_gnat_stuff(), and recursive_dump_type().
| void remove_dyn_prop | ( | enum dynamic_prop_node_kind | prop_kind, |
| struct type * | type | ||
| ) |
Definition at line 2363 of file gdbtypes.c.
References dynamic_prop_list::next, dynamic_prop_list::prop_kind, and TYPE_DYN_PROP_LIST.
Referenced by resolve_dynamic_array(), and set_internalvar().
Definition at line 779 of file gdbtypes.c.
References type::chain, gdb_assert, TYPE_ADDRESS_CLASS_ALL, TYPE_CHAIN, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_MAIN_TYPE, and TYPE_OBJFILE.
Referenced by cleanup_undefined_types_1(), cleanup_undefined_types_noname(), and read_type().
Resolve all dynamic values of a type e.g. array bounds to static values. ADDR specifies the location of the variable the type is bound to. If TYPE has no dynamic properties return TYPE; otherwise a new type with static properties is returned.
Definition at line 2317 of file gdbtypes.c.
References property_addr_info::addr, check_typedef(), resolve_dynamic_type_internal(), and property_addr_info::valaddr.
Referenced by ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_val_print_1(), ada_value_primitive_packed_val(), default_read_var_value(), value_from_contents_and_address(), and value_subscripted_rvalue().
Definition at line 1376 of file gdbtypes.c.
References gdb_assert, gdb_assert_not_reached, INIT_FUNC_SPECIFIC, TYPE_CODE, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_MAIN_TYPE, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_NONE, and TYPE_SPECIFIC_SELF_TYPE.
Referenced by copy_type_recursive(), read_member_functions(), smash_to_memberptr_type(), smash_to_method_type(), and smash_to_methodptr_type().
Definition at line 1817 of file gdbtypes.c.
References ALLOCATE_CPLUS_STRUCT_TYPE, check_typedef(), gdb_assert, HAVE_CPLUS_STRUCT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_RAW_CPLUS_SPECIFIC.
Referenced by get_vptr_fieldno(), process_structure_scope(), and read_tilde_fields().
| void set_type_vptr_fieldno | ( | struct type * | , |
| int | |||
| ) |
Definition at line 1791 of file gdbtypes.c.
References ALLOCATE_CPLUS_STRUCT_TYPE, check_typedef(), gdb_assert, HAVE_CPLUS_STRUCT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_RAW_CPLUS_SPECIFIC.
Referenced by allocate_cplus_struct_type(), get_vptr_fieldno(), process_structure_scope(), and read_tilde_fields().
Definition at line 1410 of file gdbtypes.c.
References gdbarch_ptr_bit(), get_type_arch(), set_type_self_type(), smash_type(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_MEMBERPTR, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by lookup_memberptr_type(), and read_type().
| void smash_to_method_type | ( | struct type * | type, |
| struct type * | self_type, | ||
| struct type * | to_type, | ||
| struct field * | args, | ||
| int | nargs, | ||
| int | varargs | ||
| ) |
Definition at line 1447 of file gdbtypes.c.
References set_type_self_type(), smash_type(), TYPE_CODE, TYPE_CODE_METHOD, TYPE_FIELDS, TYPE_LENGTH, TYPE_NFIELDS, TYPE_TARGET_TYPE, and TYPE_VARARGS.
Referenced by check_stub_method(), dwarf2_add_member_fn(), quirk_gcc_member_function_pointer(), read_tag_ptr_to_member_type(), and read_type().
Definition at line 1430 of file gdbtypes.c.
References cplus_method_ptr_size(), set_type_self_type(), smash_type(), TYPE_CODE, TYPE_CODE_METHODPTR, TYPE_LENGTH, TYPE_SELF_TYPE, and TYPE_TARGET_TYPE.
Referenced by lookup_methodptr_type(), and quirk_gcc_member_function_pointer().
Definition at line 3270 of file gdbtypes.c.
References rank::rank, and rank::subrank.
Referenced by rank_one_type().
| unsigned int type_length_units | ( | struct type * | type | ) |
Definition at line 260 of file gdbtypes.c.
References gdbarch_addressable_memory_unit_size(), get_type_arch(), and TYPE_LENGTH.
Referenced by find_size_for_pointer_math(), generic_val_print_complex(), read_frame_register_value(), val_print_array_elements(), value_array(), value_assign(), value_fetch_lazy(), value_from_component(), value_primitive_field(), value_ptrdiff(), value_repeat(), value_slice(), and value_subscripted_rvalue().
| const char* type_name_no_tag | ( | const struct type * | ) |
Definition at line 1466 of file gdbtypes.c.
References TYPE_NAME, and TYPE_TAG_NAME.
Referenced by ada_is_exception_sym(), ada_prefer_type(), add_struct_fields(), c_type_print_base_struct_union(), c_type_print_varspec_prefix(), check_typedef(), cp_is_vtbl_ptr_type(), cp_lookup_nested_symbol(), cp_print_class_member(), cp_print_value_fields(), cp_type_print_derivation_info(), define_symbol(), dwarf2_add_field(), find_methods(), gdb_mangle_name(), lookup_struct_elt_type(), parse_old_style_renaming(), pascal_object_is_vtbl_ptr_type(), pascal_object_print_value(), pascal_object_print_value_fields(), pascal_type_print_derivation_info(), print_subexp_standard(), read_baseclasses(), read_cpp_abbrev(), type_name_no_tag_or_error(), value_cast_structs(), and xget_renaming_scope().
| const char* type_name_no_tag_or_error | ( | struct type * | type | ) |
Definition at line 1485 of file gdbtypes.c.
References _, check_typedef(), error(), name, objfile::objfile(), objfile_name(), type, type_name_no_tag(), and TYPE_OBJFILE.
Referenced by cp_lookup_nested_symbol(), d_lookup_nested_symbol(), and destructor_name_p().
| int type_not_allocated | ( | const struct type * | type | ) |
Definition at line 3714 of file gdbtypes.c.
References PROP_CONST, TYPE_ALLOCATED_PROP, TYPE_DYN_PROP_ADDR, and TYPE_DYN_PROP_KIND.
Referenced by create_array_type_with_stride(), f_print_type(), f_type_print_varspec_suffix(), valprint_check_validity(), value_check_printable(), and value_subscripted_rvalue().
| int type_not_associated | ( | const struct type * | type | ) |
Definition at line 3726 of file gdbtypes.c.
References PROP_CONST, TYPE_ASSOCIATED_PROP, TYPE_DYN_PROP_ADDR, and TYPE_DYN_PROP_KIND.
Referenced by create_array_type_with_stride(), f_print_type(), f_type_print_varspec_suffix(), valprint_check_validity(), value_check_printable(), and value_subscripted_rvalue().
Definition at line 3666 of file gdbtypes.c.
References bcache_xfree(), bcache_xmalloc(), bcache::cache, CATCH, check_types_worklist(), END_CATCH, exception_none, gdb_assert, gdb_exception::reason, RETURN_MASK_ALL, throw_exception(), TRY, type_equality_entry::type1, type_equality_entry::type2, VEC, VEC_free, and VEC_safe_push.
Referenced by compile_object_load(), get_out_value_type(), typy_richcompare(), and tyscm_equal_p_type_smob().
Definition at line 3431 of file gdbtypes.c.
References check_typedef(), TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_TYPEDEF, TYPE_FIELD_TYPE, TYPE_NAME, TYPE_NFIELDS, TYPE_TARGET_TYPE, and types_equal().
Referenced by eq_typedef_field(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), rank_one_type(), rust_range(), types_equal(), value_has_field(), and value_struct_elt_bitpos().
| const struct rank BASE_CONVERSION_BADNESS |
Badness of converting derived to base class.
Definition at line 61 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank BASE_PTR_CONVERSION_BADNESS |
Badness of converting a derived class pointer to a base class pointer.
Definition at line 54 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank BOOL_CONVERSION_BADNESS |
Badness of conversion to boolean.
Definition at line 60 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct cplus_struct_type cplus_struct_default |
The default value of TYPE_CPLUS_SPECIFIC(T) points to this shared static structure.
Definition at line 2779 of file gdbtypes.c.
Referenced by allocate_cplus_struct_type().
| const struct rank CV_CONVERSION_BADNESS |
Badness of cv-conversion. Subrank is a flag describing the conversions being done.
Definition at line 55 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank EXACT_MATCH_BADNESS |
Badness of an exact match.
Definition at line 50 of file gdbtypes.c.
Referenced by compare_parameters(), rank_function(), and rank_one_type().
| const struct rank FLOAT_CONVERSION_BADNESS |
Badness of floating conversion.
Definition at line 57 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank FLOAT_PROMOTION_BADNESS |
Badness of floating promotion.
Definition at line 53 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct floatformat* floatformats_arm_ext[BFD_ENDIAN_UNKNOWN] |
Definition at line 92 of file gdbtypes.c.
Referenced by arm_ext_type(), and tdesc_type_builtin::make_gdb_type().
| const struct floatformat* floatformats_i387_ext[BFD_ENDIAN_UNKNOWN] |
Definition at line 84 of file gdbtypes.c.
Referenced by i386_gdbarch_init(), ia64_gdbarch_init(), and tdesc_type_builtin::make_gdb_type().
| const struct floatformat* floatformats_ia64_quad[BFD_ENDIAN_UNKNOWN] |
Definition at line 100 of file gdbtypes.c.
Referenced by aarch64_gdbarch_init(), hppa_gdbarch_init(), i386_floatformat_for_type(), ia64_openvms_init_abi(), mips_linux_init_abi(), ppc_floatformat_for_type(), ppc_linux_init_abi(), and s390_gdbarch_init().
| const struct floatformat* floatformats_ia64_spill[BFD_ENDIAN_UNKNOWN] |
Definition at line 96 of file gdbtypes.c.
| const struct floatformat* floatformats_ibm_long_double[BFD_ENDIAN_UNKNOWN] |
Definition at line 112 of file gdbtypes.c.
Referenced by do_ppc_sysv_return_value(), mips_gdbarch_init(), ppc64_sysv_abi_push_freg(), ppc64_sysv_abi_return_value_base(), ppc_floatformat_for_type(), ppc_linux_init_abi(), and ppc_sysv_abi_push_dummy_call().
| const struct floatformat* floatformats_ieee_double[BFD_ENDIAN_UNKNOWN] |
Definition at line 76 of file gdbtypes.c.
Referenced by aarch64_gdbarch_init(), arc_gdbarch_init(), arm_gdbarch_init(), build_go_types(), build_opencl_types(), hppa_linux_init_abi(), hppabsd_init_abi(), iq2000_gdbarch_init(), m68hc11_gdbarch_init(), m68k_gdbarch_init(), m88k_gdbarch_init(), tdesc_type_builtin::make_gdb_type(), msp430_gdbarch_init(), mt_gdbarch_init(), nios2_gdbarch_init(), or1k_gdbarch_init(), ppcfbsd_init_abi(), ppcobsd_init_abi(), rl78_gdbarch_init(), rs6000_builtin_type(), rust_language_arch_info(), rx_gdbarch_init(), sparc32nbsd_init_abi(), spu_gdbarch_init(), tic6x_gdbarch_init(), and verify_gdbarch().
| const struct floatformat* floatformats_ieee_double_littlebyte_bigword[BFD_ENDIAN_UNKNOWN] |
Definition at line 80 of file gdbtypes.c.
Referenced by arm_gdbarch_init(), sh64_littlebyte_bigword_type(), and sh_littlebyte_bigword_type().
| const struct floatformat* floatformats_ieee_half[BFD_ENDIAN_UNKNOWN] |
Definition at line 68 of file gdbtypes.c.
Referenced by build_opencl_types(), and verify_gdbarch().
| const struct floatformat* floatformats_ieee_single[BFD_ENDIAN_UNKNOWN] |
Definition at line 72 of file gdbtypes.c.
Referenced by aarch64_gdbarch_init(), arc_gdbarch_init(), arm_gdbarch_init(), avr_gdbarch_init(), BP_MANIPULATION(), build_go_types(), build_opencl_types(), iq2000_gdbarch_init(), m68hc11_gdbarch_init(), tdesc_type_builtin::make_gdb_type(), msp430_gdbarch_init(), mt_gdbarch_init(), nds32_pseudo_register_type(), nios2_gdbarch_init(), or1k_gdbarch_init(), rl78_gdbarch_init(), rs6000_builtin_type(), rust_language_arch_info(), rx_gdbarch_init(), sh_gdbarch_init(), spu_gdbarch_init(), tic6x_gdbarch_init(), and verify_gdbarch().
| const struct floatformat* floatformats_m68881_ext[BFD_ENDIAN_UNKNOWN] |
Definition at line 88 of file gdbtypes.c.
Referenced by m68881_ext_type(), and m68k_gdbarch_init().
| const struct floatformat* floatformats_vax_d[BFD_ENDIAN_UNKNOWN] |
Definition at line 108 of file gdbtypes.c.
Referenced by vax_gdbarch_init().
| const struct floatformat* floatformats_vax_f[BFD_ENDIAN_UNKNOWN] |
Definition at line 104 of file gdbtypes.c.
Referenced by vax_gdbarch_init().
| const struct gnat_aux_type gnat_aux_default |
Definition at line 2795 of file gdbtypes.c.
Referenced by allocate_gnat_aux_type().
| const struct rank INCOMPATIBLE_TYPE_BADNESS |
Badness if no conversion among types.
Definition at line 48 of file gdbtypes.c.
Referenced by classify_oload_match(), and rank_one_type().
| const struct rank INT_FLOAT_CONVERSION_BADNESS |
Badness of integer<->floating conversions.
Definition at line 58 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank INTEGER_CONVERSION_BADNESS |
Badness of integral conversion.
Definition at line 56 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank INTEGER_PROMOTION_BADNESS |
Badness of integral promotion.
Definition at line 52 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank LENGTH_MISMATCH_BADNESS |
Badness if parameter list length doesn't match arg list length.
Definition at line 45 of file gdbtypes.c.
Referenced by rank_function().
| const struct rank NS_INTEGER_POINTER_CONVERSION_BADNESS |
Badness of converting a (non-zero) integer constant to a pointer.
Definition at line 65 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank NS_POINTER_CONVERSION_BADNESS |
Converting a pointer to an int is usually OK.
Definition at line 64 of file gdbtypes.c.
Referenced by classify_oload_match(), and rank_one_type().
| const struct rank NULL_POINTER_CONVERSION |
Badness of converting integer 0 to NULL pointer.
| const struct rank REFERENCE_CONVERSION_BADNESS |
Badness of converting from non-reference to reference. Subrank is the type of reference conversion being done.
Definition at line 62 of file gdbtypes.c.
Referenced by rank_one_type().
| const struct rank TOO_FEW_PARAMS_BADNESS |
Dummy badness value for nonexistent parameter positions.
Definition at line 47 of file gdbtypes.c.
Referenced by rank_function().
| const struct rank VOID_PTR_CONVERSION_BADNESS |
Badness of conversion of pointer to void pointer.
Definition at line 59 of file gdbtypes.c.
Referenced by rank_one_type().
1.8.14