GDB (API)

Classes | Macros | Enumerations | Functions | Variables
/tmp/gdb-8.1/gdb/gdbtypes.h File Reference
`#include "hashtab.h"`
`#include "common/offset-type.h"`
`#include "common/enum-flags.h"`

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

## Enumerations
enum | type_code { TYPE_CODE_BITSTRING = -1, TYPE_CODE_UNDEF = 0, TYPE_CODE_PTR, TYPE_CODE_ARRAY, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_FLT, TYPE_CODE_VOID, TYPE_CODE_SET, TYPE_CODE_RANGE, TYPE_CODE_STRING, TYPE_CODE_ERROR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_CODE_MEMBERPTR, TYPE_CODE_REF, TYPE_CODE_RVALUE_REF, TYPE_CODE_CHAR, TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_TYPEDEF, TYPE_CODE_NAMESPACE, TYPE_CODE_DECFLOAT, TYPE_CODE_MODULE, TYPE_CODE_INTERNAL_FUNCTION, TYPE_CODE_XMETHOD }
enum | type_instance_flag_value { TYPE_INSTANCE_FLAG_CONST = (1 << 0), TYPE_INSTANCE_FLAG_VOLATILE = (1 << 1), TYPE_INSTANCE_FLAG_CODE_SPACE = (1 << 2), TYPE_INSTANCE_FLAG_DATA_SPACE = (1 << 3), TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1 = (1 << 4), TYPE_INSTANCE_FLAG_ADDRESS_CLASS_2 = (1 << 5), TYPE_INSTANCE_FLAG_NOTTEXT = (1 << 6), TYPE_INSTANCE_FLAG_RESTRICT = (1 << 7), TYPE_INSTANCE_FLAG_ATOMIC = (1 << 8) }
enum | dynamic_prop_kind { PROP_UNDEFINED, PROP_CONST, PROP_ADDR_OFFSET, PROP_LOCEXPR, PROP_LOCLIST }
enum | dynamic_prop_node_kind { DYN_PROP_DATA_LOCATION, DYN_PROP_ALLOCATED, DYN_PROP_ASSOCIATED, DYN_PROP_BYTE_STRIDE }
enum | field_loc_kind { FIELD_LOC_KIND_BITPOS, FIELD_LOC_KIND_ENUMVAL, FIELD_LOC_KIND_PHYSADDR, FIELD_LOC_KIND_PHYSNAME, FIELD_LOC_KIND_DWARF_BLOCK }
enum | type_specific_kind { TYPE_SPECIFIC_NONE, TYPE_SPECIFIC_CPLUS_STUFF, TYPE_SPECIFIC_GNAT_STUFF, TYPE_SPECIFIC_FLOATFORMAT, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_SELF_TYPE }
enum | call_site_parameter_kind { CALL_SITE_PARAMETER_DWARF_REG, CALL_SITE_PARAMETER_FB_OFFSET, CALL_SITE_PARAMETER_PARAM_OFFSET }

## 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)
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

## Macro Definition Documentation

## ◆ ALLOCATE_CPLUS_STRUCT_TYPE

#define ALLOCATE_CPLUS_STRUCT_TYPE | ( |  | type | ) | allocate_cplus_struct_type (type)

Definition at line 1197 of file gdbtypes.h.

## ◆ ALLOCATE_GNAT_AUX_TYPE

#define ALLOCATE_GNAT_AUX_TYPE | ( |  | type | ) | allocate_gnat_aux_type (type)

Definition at line 1210 of file gdbtypes.h.

## ◆ B_BYTES

#define B_BYTES | ( |  | x | ) | ( 1 + ((x)>>3) )

Definition at line 74 of file gdbtypes.h.

## ◆ B_CLR

#define B_CLR | ( |  | a,
|  |  | x
| ) |  | ((a)[(x)>>3] &= ~(1 << ((x)&7)))

Definition at line 71 of file gdbtypes.h.

## ◆ B_CLRALL

#define B_CLRALL | ( |  | a,
|  |  | x
| ) |  | memset ((a), 0, B_BYTES(x))

Definition at line 75 of file gdbtypes.h.

## ◆ B_SET

#define B_SET | ( |  | a,
|  |  | x
| ) |  | ((a)[(x)>>3] |= (1 << ((x)&7)))

Definition at line 70 of file gdbtypes.h.

## ◆ B_TST

#define B_TST | ( |  | a,
|  |  | x
| ) |  | ((a)[(x)>>3] & (1 << ((x)&7)))

Definition at line 72 of file gdbtypes.h.

## ◆ B_TYPE

#define B_TYPE unsigned char

Definition at line 73 of file gdbtypes.h.

## ◆ BASETYPE_VIA_PUBLIC

#define BASETYPE_VIA_PUBLIC | ( |  | thistype,
|  |  | index
| ) |  | ((!TYPE_FIELD_PRIVATE(thistype, index)) && (!TYPE_FIELD_PROTECTED(thistype, index)))

Definition at line 1334 of file gdbtypes.h.

## ◆ BASETYPE_VIA_VIRTUAL

#define BASETYPE_VIA_VIRTUAL | ( |  | thistype,
|  |  | index
| ) |  |

Value:
(TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits == NULL ? 0 \
: B_TST(TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits, (index)))
B_TST
#define B_TST(a, x)
Definition: gdbtypes.h:72
TYPE_CPLUS_SPECIFIC
#define TYPE_CPLUS_SPECIFIC(thistype)
Definition: gdbtypes.h:1319

Definition at line 1338 of file gdbtypes.h.

## ◆ CV_CONVERSION_CONST

#define CV_CONVERSION_CONST 1

Definition at line 1950 of file gdbtypes.h.

## ◆ CV_CONVERSION_VOLATILE

#define CV_CONVERSION_VOLATILE 2

Definition at line 1951 of file gdbtypes.h.

## ◆ FIELD_ARTIFICIAL

#define FIELD_ARTIFICIAL | ( |  | thisfld | ) | ((thisfld).artificial)

Definition at line 1367 of file gdbtypes.h.

## ◆ FIELD_BITPOS

#define FIELD_BITPOS | ( |  | thisfld | ) | (FIELD_BITPOS_LVAL (thisfld) + 0)

Definition at line 1346 of file gdbtypes.h.

## ◆ FIELD_BITPOS_LVAL

#define FIELD_BITPOS_LVAL | ( |  | thisfld | ) | ((thisfld).loc.bitpos)

Definition at line 1345 of file gdbtypes.h.

## ◆ FIELD_BITSIZE

#define FIELD_BITSIZE | ( |  | thisfld | ) | ((thisfld).bitsize)

Definition at line 1368 of file gdbtypes.h.

## ◆ FIELD_DWARF_BLOCK

#define FIELD_DWARF_BLOCK | ( |  | thisfld | ) | ((thisfld).loc.dwarf_block)

Definition at line 1351 of file gdbtypes.h.

## ◆ FIELD_ENUMVAL

#define FIELD_ENUMVAL | ( |  | thisfld | ) | (FIELD_ENUMVAL_LVAL (thisfld) + 0)

Definition at line 1348 of file gdbtypes.h.

## ◆ FIELD_ENUMVAL_LVAL

#define FIELD_ENUMVAL_LVAL | ( |  | thisfld | ) | ((thisfld).loc.enumval)

Definition at line 1347 of file gdbtypes.h.

## ◆ FIELD_LOC_KIND

#define FIELD_LOC_KIND | ( |  | thisfld | ) | ((thisfld).loc_kind)

Definition at line 1344 of file gdbtypes.h.

## ◆ FIELD_NAME

#define FIELD_NAME | ( |  | thisfld | ) | ((thisfld).name)

Definition at line 1343 of file gdbtypes.h.

## ◆ FIELD_STATIC_PHYSADDR

#define FIELD_STATIC_PHYSADDR | ( |  | thisfld | ) | ((thisfld).loc.physaddr)

Definition at line 1350 of file gdbtypes.h.

## ◆ FIELD_STATIC_PHYSNAME

#define FIELD_STATIC_PHYSNAME | ( |  | thisfld | ) | ((thisfld).loc.physname)

Definition at line 1349 of file gdbtypes.h.

## ◆ FIELD_TYPE

#define FIELD_TYPE | ( |  | thisfld | ) | ((thisfld).type)

Definition at line 1342 of file gdbtypes.h.

## ◆ HAVE_CPLUS_STRUCT

#define HAVE_CPLUS_STRUCT | ( |  | type | ) |

Value:
(TYPE_SPECIFIC_FIELD (type) == TYPE_SPECIFIC_CPLUS_STUFF \
&& TYPE_RAW_CPLUS_SPECIFIC (type) != &cplus_struct_default)
cplus_struct_default
const struct cplus_struct_type cplus_struct_default
TYPE_SPECIFIC_FIELD
#define TYPE_SPECIFIC_FIELD(thistype)
Definition: gdbtypes.h:1312
type
Definition: gdbtypes.h:749
TYPE_RAW_CPLUS_SPECIFIC
#define TYPE_RAW_CPLUS_SPECIFIC(thistype)
Definition: gdbtypes.h:1323
TYPE_SPECIFIC_CPLUS_STUFF
Definition: gdbtypes.h:475

Definition at line 1199 of file gdbtypes.h.

## ◆ HAVE_GNAT_AUX_INFO

#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.

## ◆ INIT_CPLUS_SPECIFIC

#define INIT_CPLUS_SPECIFIC | ( |  | type | ) |

Value:
(TYPE_SPECIFIC_FIELD (type) = TYPE_SPECIFIC_CPLUS_STUFF, \
TYPE_RAW_CPLUS_SPECIFIC (type) = (struct cplus_struct_type*) \
&cplus_struct_default)
cplus_struct_default
const struct cplus_struct_type cplus_struct_default
TYPE_SPECIFIC_FIELD
#define TYPE_SPECIFIC_FIELD(thistype)
Definition: gdbtypes.h:1312
cplus_struct_type
Definition: gdbtypes.h:910
type
Definition: gdbtypes.h:749
TYPE_SPECIFIC_CPLUS_STUFF
Definition: gdbtypes.h:475

Definition at line 1192 of file gdbtypes.h.

## ◆ INIT_FUNC_SPECIFIC

#define INIT_FUNC_SPECIFIC | ( |  | type | ) |

Value:
(TYPE_SPECIFIC_FIELD (type) = TYPE_SPECIFIC_FUNC, \
TYPE_MAIN_TYPE (type)->type_specific.func_stuff = (struct func_type *) \
TYPE_ZALLOC (type, \
sizeof (*TYPE_MAIN_TYPE (type)->type_specific.func_stuff)))
func_type
Definition: gdbtypes.h:1059
TYPE_SPECIFIC_FIELD
#define TYPE_SPECIFIC_FIELD(thistype)
Definition: gdbtypes.h:1312
type_specific
Definition: gdbtypes.h:584
TYPE_MAIN_TYPE
#define TYPE_MAIN_TYPE(thistype)
Definition: gdbtypes.h:1223
type
Definition: gdbtypes.h:749
type_specific::func_stuff
struct func_type * func_stuff
Definition: gdbtypes.h:605
TYPE_SPECIFIC_FUNC
Definition: gdbtypes.h:479
TYPE_ZALLOC
#define TYPE_ZALLOC(t, size)
Definition: gdbtypes.h:1657

Definition at line 1216 of file gdbtypes.h.

## ◆ INIT_GNAT_SPECIFIC

#define INIT_GNAT_SPECIFIC | ( |  | type | ) |

Value:
(TYPE_SPECIFIC_FIELD (type) = TYPE_SPECIFIC_GNAT_STUFF, \
TYPE_GNAT_SPECIFIC (type) = (struct gnat_aux_type *) &gnat_aux_default)
gnat_aux_default
const struct gnat_aux_type gnat_aux_default
TYPE_SPECIFIC_GNAT_STUFF
Definition: gdbtypes.h:476
TYPE_SPECIFIC_FIELD
#define TYPE_SPECIFIC_FIELD(thistype)
Definition: gdbtypes.h:1312
type
Definition: gdbtypes.h:749
gnat_aux_type
Definition: gdbtypes.h:1049

Definition at line 1207 of file gdbtypes.h.

## ◆ LENGTH_MATCH

#define LENGTH_MATCH | ( |  | bv | ) | ((bv)->rank[0])

Definition at line 1905 of file gdbtypes.h.

## ◆ NULL_TYPE

#define NULL_TYPE ((struct type *) 0)

Definition at line 810 of file gdbtypes.h.

## ◆ REFERENCE_CONVERSION_CONST_LVALUE

#define REFERENCE_CONVERSION_CONST_LVALUE 2

Conversion to const lvalue reference.

Definition at line 1943 of file gdbtypes.h.

## ◆ REFERENCE_CONVERSION_RVALUE

#define REFERENCE_CONVERSION_RVALUE 1

Conversion to rvalue reference.

Definition at line 1941 of file gdbtypes.h.

## ◆ SET_FIELD_BITPOS

#define SET_FIELD_BITPOS | ( |  | thisfld,
|  |  | bitpos
| ) |  |

Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_BITPOS, \
FIELD_BITPOS_LVAL (thisfld) = (bitpos))
FIELD_LOC_KIND
#define FIELD_LOC_KIND(thisfld)
Definition: gdbtypes.h:1344
FIELD_LOC_KIND_BITPOS
Definition: gdbtypes.h:454

Definition at line 1352 of file gdbtypes.h.

## ◆ SET_FIELD_DWARF_BLOCK

#define SET_FIELD_DWARF_BLOCK | ( |  | thisfld,
|  |  | addr
| ) |  |

Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_DWARF_BLOCK, \
FIELD_DWARF_BLOCK (thisfld) = (addr))
FIELD_LOC_KIND
#define FIELD_LOC_KIND(thisfld)
Definition: gdbtypes.h:1344
FIELD_LOC_KIND_DWARF_BLOCK
Definition: gdbtypes.h:458

Definition at line 1364 of file gdbtypes.h.

## ◆ SET_FIELD_ENUMVAL

#define SET_FIELD_ENUMVAL | ( |  | thisfld,
|  |  | enumval
| ) |  |

Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_ENUMVAL, \
FIELD_ENUMVAL_LVAL (thisfld) = (enumval))
FIELD_LOC_KIND
#define FIELD_LOC_KIND(thisfld)
Definition: gdbtypes.h:1344
FIELD_LOC_KIND_ENUMVAL
Definition: gdbtypes.h:455

Definition at line 1355 of file gdbtypes.h.

## ◆ SET_FIELD_PHYSADDR

#define SET_FIELD_PHYSADDR | ( |  | thisfld,
|  |  | addr
| ) |  |

Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_PHYSADDR, \
FIELD_STATIC_PHYSADDR (thisfld) = (addr))
FIELD_LOC_KIND_PHYSADDR
Definition: gdbtypes.h:456
FIELD_LOC_KIND
#define FIELD_LOC_KIND(thisfld)
Definition: gdbtypes.h:1344

Definition at line 1361 of file gdbtypes.h.

## ◆ SET_FIELD_PHYSNAME

#define SET_FIELD_PHYSNAME | ( |  | thisfld,
|  |  | name
| ) |  |

Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_PHYSNAME, \
FIELD_STATIC_PHYSNAME (thisfld) = (name))
FIELD_LOC_KIND
#define FIELD_LOC_KIND(thisfld)
Definition: gdbtypes.h:1344
FIELD_LOC_KIND_PHYSNAME
Definition: gdbtypes.h:457

Definition at line 1358 of file gdbtypes.h.

## ◆ SET_TYPE_FIELD_IGNORE

#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.

## ◆ SET_TYPE_FIELD_PRIVATE

#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.

## ◆ SET_TYPE_FIELD_PROTECTED

#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.

## ◆ SET_TYPE_FIELD_VIRTUAL

#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.

## ◆ TYPE_ADDRESS_CLASS_1

#define TYPE_ADDRESS_CLASS_1 | ( |  | t | ) |

Value:
(TYPE_INSTANCE_FLAGS(t) \
& TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1)
TYPE_INSTANCE_FLAGS
#define TYPE_INSTANCE_FLAGS(thistype)
Definition: gdbtypes.h:1222
TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1
Definition: gdbtypes.h:193

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.

## ◆ TYPE_ADDRESS_CLASS_2

#define TYPE_ADDRESS_CLASS_2 | ( |  | t | ) |

Value:
(TYPE_INSTANCE_FLAGS(t) \
& TYPE_INSTANCE_FLAG_ADDRESS_CLASS_2)
TYPE_INSTANCE_FLAGS
#define TYPE_INSTANCE_FLAGS(thistype)
Definition: gdbtypes.h:1222
TYPE_INSTANCE_FLAG_ADDRESS_CLASS_2
Definition: gdbtypes.h:194

Definition at line 369 of file gdbtypes.h.

## ◆ TYPE_ADDRESS_CLASS_ALL

#define TYPE_ADDRESS_CLASS_ALL | ( |  | t | ) |

Value:
(TYPE_INSTANCE_FLAGS(t) \
& TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL)
TYPE_INSTANCE_FLAGS
#define TYPE_INSTANCE_FLAGS(thistype)
Definition: gdbtypes.h:1222
TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL
#define TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL
Definition: gdbtypes.h:371

Definition at line 373 of file gdbtypes.h.

## ◆ TYPE_ALLOC

#define TYPE_ALLOC | ( |  | t,
|  |  | size
| ) |  |

Value:
(TYPE_OBJFILE_OWNED (t) \
? obstack_alloc (&TYPE_OBJFILE (t) -> objfile_obstack, size) \
: xmalloc (size))
TYPE_OBJFILE_OWNED
#define TYPE_OBJFILE_OWNED(t)
Definition: gdbtypes.h:289
TYPE_OBJFILE
#define TYPE_OBJFILE(t)
Definition: gdbtypes.h:291

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.

## ◆ TYPE_ALLOCATED_PROP

#define TYPE_ALLOCATED_PROP | ( |  | thistype | ) | get_dyn_prop (DYN_PROP_ALLOCATED, thistype)

Definition at line 1268 of file gdbtypes.h.

## ◆ TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED

#define TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED | ( |  | arraytype | ) | TYPE_LOW_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype))

Definition at line 1288 of file gdbtypes.h.

## ◆ TYPE_ARRAY_LOWER_BOUND_VALUE

#define TYPE_ARRAY_LOWER_BOUND_VALUE | ( |  | arraytype | ) | (TYPE_LOW_BOUND(TYPE_INDEX_TYPE((arraytype))))

Definition at line 1294 of file gdbtypes.h.

## ◆ TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED

#define TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED | ( |  | arraytype | ) | TYPE_HIGH_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype))

Definition at line 1286 of file gdbtypes.h.

## ◆ TYPE_ARRAY_UPPER_BOUND_VALUE

#define TYPE_ARRAY_UPPER_BOUND_VALUE | ( |  | arraytype | ) | (TYPE_HIGH_BOUND(TYPE_INDEX_TYPE((arraytype))))

Definition at line 1291 of file gdbtypes.h.

## ◆ TYPE_ASSOCIATED_PROP

#define TYPE_ASSOCIATED_PROP | ( |  | thistype | ) | get_dyn_prop (DYN_PROP_ASSOCIATED, thistype)

Definition at line 1270 of file gdbtypes.h.

## ◆ TYPE_ATOMIC

#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.

## ◆ TYPE_BASECLASS

#define TYPE_BASECLASS | ( |  | thistype,
|  |  | index
| ) |  | TYPE_FIELD_TYPE(thistype, index)

Definition at line 1330 of file gdbtypes.h.

## ◆ TYPE_BASECLASS_BITPOS

#define TYPE_BASECLASS_BITPOS | ( |  | thistype,
|  |  | index
| ) |  | TYPE_FIELD_BITPOS(thistype,index)

Definition at line 1333 of file gdbtypes.h.

## ◆ TYPE_BASECLASS_NAME

#define TYPE_BASECLASS_NAME | ( |  | thistype,
|  |  | index
| ) |  | TYPE_FIELD_NAME(thistype, index)

Definition at line 1332 of file gdbtypes.h.

## ◆ TYPE_CALLING_CONVENTION

#define TYPE_CALLING_CONVENTION | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->calling_convention

Definition at line 1327 of file gdbtypes.h.

## ◆ TYPE_CHAIN

#define TYPE_CHAIN | ( |  | thistype | ) | (thistype)->chain

Definition at line 1230 of file gdbtypes.h.

## ◆ TYPE_CODE

#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.

## ◆ TYPE_CODE_SPACE

#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.

## ◆ TYPE_CONST

#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.

## ◆ TYPE_CPLUS_DYNAMIC

#define TYPE_CPLUS_DYNAMIC | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->is_dynamic

Definition at line 1336 of file gdbtypes.h.

## ◆ TYPE_CPLUS_SPECIFIC

#define TYPE_CPLUS_SPECIFIC | ( |  | thistype | ) |

Value:
(!HAVE_CPLUS_STRUCT(thistype) \
? (struct cplus_struct_type*)&cplus_struct_default \
: TYPE_RAW_CPLUS_SPECIFIC(thistype))
cplus_struct_default
const struct cplus_struct_type cplus_struct_default
cplus_struct_type
Definition: gdbtypes.h:910
TYPE_RAW_CPLUS_SPECIFIC
#define TYPE_RAW_CPLUS_SPECIFIC(thistype)
Definition: gdbtypes.h:1323
HAVE_CPLUS_STRUCT
#define HAVE_CPLUS_STRUCT(type)
Definition: gdbtypes.h:1199

Definition at line 1319 of file gdbtypes.h.

## ◆ TYPE_DATA_LOCATION

#define TYPE_DATA_LOCATION | ( |  | thistype | ) | get_dyn_prop (DYN_PROP_DATA_LOCATION, thistype)

Definition at line 1258 of file gdbtypes.h.

## ◆ TYPE_DATA_LOCATION_ADDR

#define TYPE_DATA_LOCATION_ADDR | ( |  | thistype | ) | TYPE_DATA_LOCATION (thistype)->data.const_val

Definition at line 1262 of file gdbtypes.h.

## ◆ TYPE_DATA_LOCATION_BATON

#define TYPE_DATA_LOCATION_BATON | ( |  | thistype | ) | TYPE_DATA_LOCATION (thistype)->data.baton

Definition at line 1260 of file gdbtypes.h.

## ◆ TYPE_DATA_LOCATION_KIND

#define TYPE_DATA_LOCATION_KIND | ( |  | thistype | ) | TYPE_DATA_LOCATION (thistype)->kind

Definition at line 1264 of file gdbtypes.h.

## ◆ TYPE_DATA_SPACE

#define TYPE_DATA_SPACE | ( |  | t | ) | ((TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_DATA_SPACE) != 0)

Definition at line 357 of file gdbtypes.h.

## ◆ TYPE_DECLARED_CLASS

#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.

## ◆ TYPE_DESCRIPTIVE_TYPE

#define TYPE_DESCRIPTIVE_TYPE | ( |  | thistype | ) | TYPE_GNAT_SPECIFIC(thistype)->descriptive_type

Definition at line 1326 of file gdbtypes.h.

## ◆ TYPE_DYN_PROP_ADDR

#define TYPE_DYN_PROP_ADDR | ( |  | dynprop | ) | dynprop->data.const_val

Definition at line 1278 of file gdbtypes.h.

## ◆ TYPE_DYN_PROP_BATON

#define TYPE_DYN_PROP_BATON | ( |  | dynprop | ) | dynprop->data.baton

Definition at line 1276 of file gdbtypes.h.

## ◆ TYPE_DYN_PROP_KIND

#define TYPE_DYN_PROP_KIND | ( |  | dynprop | ) | dynprop->kind

Definition at line 1280 of file gdbtypes.h.

## ◆ TYPE_DYN_PROP_LIST

#define TYPE_DYN_PROP_LIST | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->dyn_prop_list

Definition at line 1274 of file gdbtypes.h.

## ◆ TYPE_ERROR_NAME

#define TYPE_ERROR_NAME | ( |  | type | ) | (TYPE_NAME (type) ? TYPE_NAME (type) : _("<error type>"))

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.

## ◆ TYPE_FIELD

#define TYPE_FIELD | ( |  | thistype,
|  |  | n
| ) |  | TYPE_MAIN_TYPE(thistype)->flds_bnds.fields[n]

Definition at line 1370 of file gdbtypes.h.

## ◆ TYPE_FIELD_ARTIFICIAL

#define TYPE_FIELD_ARTIFICIAL | ( |  | thistype,
|  |  | n
| ) |  | FIELD_ARTIFICIAL(TYPE_FIELD(thistype,n))

Definition at line 1379 of file gdbtypes.h.

## ◆ TYPE_FIELD_BITPOS

#define TYPE_FIELD_BITPOS | ( |  | thistype,
|  |  | n
| ) |  | FIELD_BITPOS (TYPE_FIELD (thistype, n))

Definition at line 1374 of file gdbtypes.h.

## ◆ TYPE_FIELD_BITSIZE

#define TYPE_FIELD_BITSIZE | ( |  | thistype,
|  |  | n
| ) |  | FIELD_BITSIZE(TYPE_FIELD(thistype,n))

Definition at line 1380 of file gdbtypes.h.

## ◆ TYPE_FIELD_DWARF_BLOCK

#define TYPE_FIELD_DWARF_BLOCK | ( |  | thistype,
|  |  | n
| ) |  | FIELD_DWARF_BLOCK (TYPE_FIELD (thistype, n))

Definition at line 1378 of file gdbtypes.h.

## ◆ TYPE_FIELD_ENUMVAL

#define TYPE_FIELD_ENUMVAL | ( |  | thistype,
|  |  | n
| ) |  | FIELD_ENUMVAL (TYPE_FIELD (thistype, n))

Definition at line 1375 of file gdbtypes.h.

## ◆ TYPE_FIELD_IGNORE

#define TYPE_FIELD_IGNORE | ( |  | thistype,
|  |  | n
| ) |  |

Value:
(TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits == NULL ? 0 \
: B_TST(TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits, (n)))
B_TST
#define B_TST(a, x)
Definition: gdbtypes.h:72
cplus_struct_type::ignore_field_bits
B_TYPE * ignore_field_bits
Definition: gdbtypes.h:990
TYPE_CPLUS_SPECIFIC
#define TYPE_CPLUS_SPECIFIC(thistype)
Definition: gdbtypes.h:1319

Definition at line 1405 of file gdbtypes.h.

## ◆ TYPE_FIELD_IGNORE_BITS

#define TYPE_FIELD_IGNORE_BITS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits

Definition at line 1387 of file gdbtypes.h.

## ◆ TYPE_FIELD_LOC_KIND

#define TYPE_FIELD_LOC_KIND | ( |  | thistype,
|  |  | n
| ) |  | FIELD_LOC_KIND (TYPE_FIELD (thistype, n))

Definition at line 1373 of file gdbtypes.h.

## ◆ TYPE_FIELD_NAME

#define TYPE_FIELD_NAME | ( |  | thistype,
|  |  | n
| ) |  | FIELD_NAME(TYPE_FIELD(thistype, n))

Definition at line 1372 of file gdbtypes.h.

## ◆ TYPE_FIELD_PACKED

#define TYPE_FIELD_PACKED | ( |  | thistype,
|  |  | n
| ) |  | (FIELD_BITSIZE(TYPE_FIELD(thistype,n))!=0)

Definition at line 1381 of file gdbtypes.h.

## ◆ TYPE_FIELD_PRIVATE

#define TYPE_FIELD_PRIVATE | ( |  | thistype,
|  |  | n
| ) |  |

Value:
(TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits == NULL ? 0 \
: B_TST(TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits, (n)))
cplus_struct_type::private_field_bits
B_TYPE * private_field_bits
Definition: gdbtypes.h:977
B_TST
#define B_TST(a, x)
Definition: gdbtypes.h:72
TYPE_CPLUS_SPECIFIC
#define TYPE_CPLUS_SPECIFIC(thistype)
Definition: gdbtypes.h:1319

Definition at line 1399 of file gdbtypes.h.

## ◆ TYPE_FIELD_PRIVATE_BITS

#define TYPE_FIELD_PRIVATE_BITS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits

Definition at line 1383 of file gdbtypes.h.

## ◆ TYPE_FIELD_PROTECTED

#define TYPE_FIELD_PROTECTED | ( |  | thistype,
|  |  | n
| ) |  |

Value:
(TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits == NULL ? 0 \
: B_TST(TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits, (n)))
B_TST
#define B_TST(a, x)
Definition: gdbtypes.h:72
TYPE_CPLUS_SPECIFIC
#define TYPE_CPLUS_SPECIFIC(thistype)
Definition: gdbtypes.h:1319
cplus_struct_type::protected_field_bits
B_TYPE * protected_field_bits
Definition: gdbtypes.h:985

Definition at line 1402 of file gdbtypes.h.

## ◆ TYPE_FIELD_PROTECTED_BITS

#define TYPE_FIELD_PROTECTED_BITS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits

Definition at line 1385 of file gdbtypes.h.

## ◆ TYPE_FIELD_STATIC_PHYSADDR

#define TYPE_FIELD_STATIC_PHYSADDR | ( |  | thistype,
|  |  | n
| ) |  | FIELD_STATIC_PHYSADDR (TYPE_FIELD (thistype, n))

Definition at line 1377 of file gdbtypes.h.

## ◆ TYPE_FIELD_STATIC_PHYSNAME

#define TYPE_FIELD_STATIC_PHYSNAME | ( |  | thistype,
|  |  | n
| ) |  | FIELD_STATIC_PHYSNAME (TYPE_FIELD (thistype, n))

Definition at line 1376 of file gdbtypes.h.

## ◆ TYPE_FIELD_TYPE

#define TYPE_FIELD_TYPE | ( |  | thistype,
|  |  | n
| ) |  | FIELD_TYPE(TYPE_FIELD(thistype, n))

Definition at line 1371 of file gdbtypes.h.

## ◆ TYPE_FIELD_VIRTUAL

#define TYPE_FIELD_VIRTUAL | ( |  | thistype,
|  |  | n
| ) |  |

Value:
(TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits == NULL ? 0 \
: B_TST(TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits, (n)))
B_TST
#define B_TST(a, x)
Definition: gdbtypes.h:72
TYPE_CPLUS_SPECIFIC
#define TYPE_CPLUS_SPECIFIC(thistype)
Definition: gdbtypes.h:1319
cplus_struct_type::virtual_field_bits
B_TYPE * virtual_field_bits
Definition: gdbtypes.h:969

Definition at line 1408 of file gdbtypes.h.

## ◆ TYPE_FIELD_VIRTUAL_BITS

#define TYPE_FIELD_VIRTUAL_BITS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits

Definition at line 1389 of file gdbtypes.h.

## ◆ TYPE_FIELDS

#define TYPE_FIELDS | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->flds_bnds.fields

Definition at line 1240 of file gdbtypes.h.

## ◆ TYPE_FIXED_INSTANCE

#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.

## ◆ TYPE_FLAG_ENUM

#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.

## ◆ TYPE_FLOATFORMAT

#define TYPE_FLOATFORMAT | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.floatformat

Definition at line 1324 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD

#define TYPE_FN_FIELD | ( |  | thisfn,
|  |  | n
| ) |  | (thisfn)[n]

Definition at line 1425 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_ARGS

#define TYPE_FN_FIELD_ARGS | ( |  | thisfn,
|  |  | n
| ) |  | TYPE_FIELDS ((thisfn)[n].type)

Definition at line 1428 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_ARTIFICIAL

#define TYPE_FN_FIELD_ARTIFICIAL | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].is_artificial)

Definition at line 1433 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_CONST

#define TYPE_FN_FIELD_CONST | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].is_const)

Definition at line 1429 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_CONSTRUCTOR

#define TYPE_FN_FIELD_CONSTRUCTOR | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].is_constructor)

Definition at line 1435 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_FCONTEXT

#define TYPE_FN_FIELD_FCONTEXT | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].fcontext)

Definition at line 1436 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_PHYSNAME

#define TYPE_FN_FIELD_PHYSNAME | ( |  | thisfn,
|  |  | n
| ) |  | (thisfn)[n].physname

Definition at line 1426 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_PRIVATE

#define TYPE_FN_FIELD_PRIVATE | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].is_private)

Definition at line 1431 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_PROTECTED

#define TYPE_FN_FIELD_PROTECTED | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].is_protected)

Definition at line 1432 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_STATIC_P

#define TYPE_FN_FIELD_STATIC_P | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].voffset == VOFFSET_STATIC)

Definition at line 1439 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_STUB

#define TYPE_FN_FIELD_STUB | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].is_stub)

Definition at line 1434 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_TYPE

#define TYPE_FN_FIELD_TYPE | ( |  | thisfn,
|  |  | n
| ) |  | (thisfn)[n].type

Definition at line 1427 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_VIRTUAL_P

#define TYPE_FN_FIELD_VIRTUAL_P | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].voffset > 1)

Definition at line 1438 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_VOFFSET

#define TYPE_FN_FIELD_VOFFSET | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].voffset-2)

Definition at line 1437 of file gdbtypes.h.

## ◆ TYPE_FN_FIELD_VOLATILE

#define TYPE_FN_FIELD_VOLATILE | ( |  | thisfn,
|  |  | n
| ) |  | ((thisfn)[n].is_volatile)

Definition at line 1430 of file gdbtypes.h.

## ◆ TYPE_FN_FIELDLIST

#define TYPE_FN_FIELDLIST | ( |  | thistype,
|  |  | n
| ) |  | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n]

Definition at line 1413 of file gdbtypes.h.

## ◆ TYPE_FN_FIELDLIST1

#define TYPE_FN_FIELDLIST1 | ( |  | thistype,
|  |  | n
| ) |  | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].fn_fields

Definition at line 1414 of file gdbtypes.h.

## ◆ TYPE_FN_FIELDLIST_LENGTH

#define TYPE_FN_FIELDLIST_LENGTH | ( |  | thistype,
|  |  | n
| ) |  | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].length

Definition at line 1416 of file gdbtypes.h.

## ◆ TYPE_FN_FIELDLIST_NAME

#define TYPE_FN_FIELDLIST_NAME | ( |  | thistype,
|  |  | n
| ) |  | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].name

Definition at line 1415 of file gdbtypes.h.

## ◆ TYPE_FN_FIELDLISTS

#define TYPE_FN_FIELDLISTS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists

Definition at line 1412 of file gdbtypes.h.

## ◆ TYPE_GNAT_SPECIFIC

#define TYPE_GNAT_SPECIFIC | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.gnat_stuff

Definition at line 1325 of file gdbtypes.h.

## ◆ TYPE_GNU_IFUNC

#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.

## ◆ TYPE_HIGH_BOUND

#define TYPE_HIGH_BOUND | ( |  | range_type | ) | TYPE_RANGE_DATA(range_type)->high.data.const_val

Definition at line 1246 of file gdbtypes.h.

## ◆ TYPE_HIGH_BOUND_KIND

#define TYPE_HIGH_BOUND_KIND | ( |  | range_type | ) | TYPE_RANGE_DATA(range_type)->high.kind

Definition at line 1252 of file gdbtypes.h.

## ◆ TYPE_HIGH_BOUND_UNDEFINED

#define TYPE_HIGH_BOUND_UNDEFINED | ( |  | range_type | ) | (TYPE_RANGE_DATA(range_type)->high.kind == PROP_UNDEFINED)

Definition at line 1250 of file gdbtypes.h.

## ◆ TYPE_INCOMPLETE

#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.

## ◆ TYPE_INDEX_TYPE

#define TYPE_INDEX_TYPE | ( |  | type | ) | TYPE_FIELD_TYPE (type, 0)

Definition at line 1242 of file gdbtypes.h.

## ◆ TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL

#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.

## ◆ TYPE_INSTANCE_FLAGS

#define TYPE_INSTANCE_FLAGS | ( |  | thistype | ) | (thistype)->instance_flags

Definition at line 1222 of file gdbtypes.h.

## ◆ TYPE_IS_OPAQUE

#define TYPE_IS_OPAQUE | ( |  | thistype | ) |

Value:
(((TYPE_CODE (thistype) == TYPE_CODE_STRUCT) \
|| (TYPE_CODE (thistype) == TYPE_CODE_UNION)) \
&& (TYPE_NFIELDS (thistype) == 0) \
&& (!HAVE_CPLUS_STRUCT (thistype) \
|| TYPE_NFN_FIELDS (thistype) == 0) \
&& (TYPE_STUB (thistype) || !TYPE_STUB_SUPPORTED (thistype)))
TYPE_NFN_FIELDS
#define TYPE_NFN_FIELDS(thistype)
Definition: gdbtypes.h:1311
TYPE_CODE_UNION
Definition: gdbtypes.h:107
TYPE_CODE_STRUCT
Definition: gdbtypes.h:106
TYPE_STUB_SUPPORTED
#define TYPE_STUB_SUPPORTED(t)
Definition: gdbtypes.h:271
TYPE_CODE
#define TYPE_CODE(thistype)
Definition: gdbtypes.h:1238
HAVE_CPLUS_STRUCT
#define HAVE_CPLUS_STRUCT(type)
Definition: gdbtypes.h:1199
TYPE_NFIELDS
#define TYPE_NFIELDS(thistype)
Definition: gdbtypes.h:1239
TYPE_STUB
#define TYPE_STUB(t)
Definition: gdbtypes.h:217

Definition at line 1472 of file gdbtypes.h.

## ◆ TYPE_IS_REFERENCE

#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.

## ◆ TYPE_LENGTH

#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.

## ◆ TYPE_LOW_BOUND

#define TYPE_LOW_BOUND | ( |  | range_type | ) | TYPE_RANGE_DATA(range_type)->low.data.const_val

Definition at line 1244 of file gdbtypes.h.

## ◆ TYPE_LOW_BOUND_KIND

#define TYPE_LOW_BOUND_KIND | ( |  | range_type | ) | TYPE_RANGE_DATA(range_type)->low.kind

Definition at line 1254 of file gdbtypes.h.

## ◆ TYPE_LOW_BOUND_UNDEFINED

#define TYPE_LOW_BOUND_UNDEFINED | ( |  | range_type | ) | (TYPE_RANGE_DATA(range_type)->low.kind == PROP_UNDEFINED)

Definition at line 1248 of file gdbtypes.h.

## ◆ TYPE_MAIN_TYPE

#define TYPE_MAIN_TYPE | ( |  | thistype | ) | (thistype)->main_type

Definition at line 1223 of file gdbtypes.h.

## ◆ TYPE_N_BASECLASSES

#define TYPE_N_BASECLASSES | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->n_baseclasses

Definition at line 1331 of file gdbtypes.h.

## ◆ TYPE_N_TEMPLATE_ARGUMENTS

#define TYPE_N_TEMPLATE_ARGUMENTS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->n_template_arguments

Definition at line 1418 of file gdbtypes.h.

## ◆ TYPE_NAME

#define TYPE_NAME | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->name

Definition at line 1224 of file gdbtypes.h.

## ◆ TYPE_NESTED_TYPES_ARRAY

#define TYPE_NESTED_TYPES_ARRAY | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->nested_types

Definition at line 1457 of file gdbtypes.h.

## ◆ TYPE_NESTED_TYPES_COUNT

#define TYPE_NESTED_TYPES_COUNT | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->nested_types_count

Definition at line 1465 of file gdbtypes.h.

## ◆ TYPE_NESTED_TYPES_FIELD

#define TYPE_NESTED_TYPES_FIELD | ( |  | thistype,
|  |  | n
| ) |  | TYPE_CPLUS_SPECIFIC (thistype)->nested_types[n]

Definition at line 1459 of file gdbtypes.h.

## ◆ TYPE_NESTED_TYPES_FIELD_NAME

#define TYPE_NESTED_TYPES_FIELD_NAME | ( |  | thistype,
|  |  | n
| ) |  | TYPE_NESTED_TYPES_FIELD (thistype, n).name

Definition at line 1461 of file gdbtypes.h.

## ◆ TYPE_NESTED_TYPES_FIELD_PRIVATE

#define TYPE_NESTED_TYPES_FIELD_PRIVATE | ( |  | thistype,
|  |  | n
| ) |  | TYPE_NESTED_TYPES_FIELD (thistype, n).is_private

Definition at line 1469 of file gdbtypes.h.

## ◆ TYPE_NESTED_TYPES_FIELD_PROTECTED

#define TYPE_NESTED_TYPES_FIELD_PROTECTED | ( |  | thistype,
|  |  | n
| ) |  | TYPE_NESTED_TYPES_FIELD (thistype, n).is_protected

Definition at line 1467 of file gdbtypes.h.

## ◆ TYPE_NESTED_TYPES_FIELD_TYPE

#define TYPE_NESTED_TYPES_FIELD_TYPE | ( |  | thistype,
|  |  | n
| ) |  | TYPE_NESTED_TYPES_FIELD (thistype, n).type

Definition at line 1463 of file gdbtypes.h.

## ◆ TYPE_NFIELDS

#define TYPE_NFIELDS | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->nfields

Definition at line 1239 of file gdbtypes.h.

## ◆ TYPE_NFN_FIELDS

#define TYPE_NFN_FIELDS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields

Definition at line 1311 of file gdbtypes.h.

## ◆ TYPE_NO_RETURN

#define TYPE_NO_RETURN | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->is_noreturn

Definition at line 1328 of file gdbtypes.h.

## ◆ TYPE_NOSIGN

#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.

## ◆ TYPE_NOTTEXT

#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.

## ◆ TYPE_OBJFILE

#define TYPE_OBJFILE | ( |  | t | ) | (TYPE_OBJFILE_OWNED(t)? TYPE_OWNER(t).objfile : NULL)

Definition at line 291 of file gdbtypes.h.

## ◆ TYPE_OBJFILE_OWNED

#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.

## ◆ TYPE_OWNER

#define TYPE_OWNER | ( |  | t | ) | TYPE_MAIN_TYPE(t)->owner

Definition at line 290 of file gdbtypes.h.

## ◆ TYPE_POINTER_TYPE

#define TYPE_POINTER_TYPE | ( |  | thistype | ) | (thistype)->pointer_type

Definition at line 1227 of file gdbtypes.h.

## ◆ TYPE_PROTOTYPED

#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.

## ◆ TYPE_RANGE_DATA

#define TYPE_RANGE_DATA | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->flds_bnds.bounds

Definition at line 1243 of file gdbtypes.h.

## ◆ TYPE_RAW_CPLUS_SPECIFIC

#define TYPE_RAW_CPLUS_SPECIFIC | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.cplus_stuff

Definition at line 1323 of file gdbtypes.h.

## ◆ TYPE_REFERENCE_TYPE

#define TYPE_REFERENCE_TYPE | ( |  | thistype | ) | (thistype)->reference_type

Definition at line 1228 of file gdbtypes.h.

## ◆ TYPE_RESTRICT

#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.

## ◆ TYPE_RVALUE_REFERENCE_TYPE

#define TYPE_RVALUE_REFERENCE_TYPE | ( |  | thistype | ) | (thistype)->rvalue_reference_type

Definition at line 1229 of file gdbtypes.h.

## ◆ TYPE_SAFE_NAME

#define TYPE_SAFE_NAME | ( |  | type | ) | (TYPE_NAME (type) ? TYPE_NAME (type) : _("<unnamed 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.

## ◆ TYPE_SELF_TYPE

#define TYPE_SELF_TYPE | ( |  | thistype | ) | internal_type_self_type (thistype)

Definition at line 1299 of file gdbtypes.h.

## ◆ TYPE_SPECIFIC_FIELD

#define TYPE_SPECIFIC_FIELD | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific_field

Definition at line 1312 of file gdbtypes.h.

## ◆ TYPE_STUB

#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.

## ◆ TYPE_STUB_SUPPORTED

#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.

## ◆ TYPE_TAG_NAME

#define TYPE_TAG_NAME | ( |  | type | ) | TYPE_MAIN_TYPE(type)->tag_name

Definition at line 1225 of file gdbtypes.h.

## ◆ TYPE_TAIL_CALL_LIST

#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.

## ◆ TYPE_TARGET_STUB

#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.

## ◆ TYPE_TARGET_TYPE

#define TYPE_TARGET_TYPE | ( |  | thistype | ) | TYPE_MAIN_TYPE(thistype)->target_type

Definition at line 1226 of file gdbtypes.h.

## ◆ TYPE_TEMPLATE_ARGUMENT

#define TYPE_TEMPLATE_ARGUMENT | ( |  | thistype,
|  |  | n
| ) |  | TYPE_CPLUS_SPECIFIC (thistype)->template_arguments[n]

Definition at line 1422 of file gdbtypes.h.

## ◆ TYPE_TEMPLATE_ARGUMENTS

#define TYPE_TEMPLATE_ARGUMENTS | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->template_arguments

Definition at line 1420 of file gdbtypes.h.

## ◆ TYPE_TYPEDEF_FIELD

#define TYPE_TYPEDEF_FIELD | ( |  | thistype,
|  |  | n
| ) |  | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field[n]

Definition at line 1444 of file gdbtypes.h.

## ◆ TYPE_TYPEDEF_FIELD_ARRAY

#define TYPE_TYPEDEF_FIELD_ARRAY | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field

Definition at line 1442 of file gdbtypes.h.

## ◆ TYPE_TYPEDEF_FIELD_COUNT

#define TYPE_TYPEDEF_FIELD_COUNT | ( |  | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field_count

Definition at line 1450 of file gdbtypes.h.

## ◆ TYPE_TYPEDEF_FIELD_NAME

#define TYPE_TYPEDEF_FIELD_NAME | ( |  | thistype,
|  |  | n
| ) |  | TYPE_TYPEDEF_FIELD (thistype, n).name

Definition at line 1446 of file gdbtypes.h.

## ◆ TYPE_TYPEDEF_FIELD_PRIVATE

#define TYPE_TYPEDEF_FIELD_PRIVATE | ( |  | thistype,
|  |  | n
| ) |  | TYPE_TYPEDEF_FIELD (thistype, n).is_private

Definition at line 1454 of file gdbtypes.h.

## ◆ TYPE_TYPEDEF_FIELD_PROTECTED

#define TYPE_TYPEDEF_FIELD_PROTECTED | ( |  | thistype,
|  |  | n
| ) |  | TYPE_TYPEDEF_FIELD (thistype, n).is_protected

Definition at line 1452 of file gdbtypes.h.

## ◆ TYPE_TYPEDEF_FIELD_TYPE

#define TYPE_TYPEDEF_FIELD_TYPE | ( |  | thistype,
|  |  | n
| ) |  | TYPE_TYPEDEF_FIELD (thistype, n).type

Definition at line 1448 of file gdbtypes.h.

## ◆ TYPE_UNSIGNED

#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.

## ◆ TYPE_VARARGS

#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.

## ◆ TYPE_VECTOR

#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.

## ◆ TYPE_VOLATILE

#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.

## ◆ TYPE_VPTR_BASETYPE

#define TYPE_VPTR_BASETYPE | ( |  | thistype | ) | internal_type_vptr_basetype (thistype)

Definition at line 1309 of file gdbtypes.h.

## ◆ TYPE_VPTR_FIELDNO

#define TYPE_VPTR_FIELDNO | ( |  | thistype | ) | internal_type_vptr_fieldno (thistype)

Definition at line 1308 of file gdbtypes.h.

## ◆ TYPE_ZALLOC

#define TYPE_ZALLOC | ( |  | t,
|  |  | size
| ) |  |

Value:
(TYPE_OBJFILE_OWNED (t) \
? memset (obstack_alloc (&TYPE_OBJFILE (t)->objfile_obstack, size), \
0, size) \
: xzalloc (size))
TYPE_OBJFILE_OWNED
#define TYPE_OBJFILE_OWNED(t)
Definition: gdbtypes.h:289
TYPE_OBJFILE
#define TYPE_OBJFILE(t)
Definition: gdbtypes.h:291

Definition at line 1657 of file gdbtypes.h.

## ◆ VOFFSET_STATIC

#define VOFFSET_STATIC 1

Definition at line 885 of file gdbtypes.h.

## Enumeration Type Documentation

## ◆ call_site_parameter_kind

enum call_site_parameter_kind

Enumerator
CALL_SITE_PARAMETER_DWARF_REG | Use field call_site_parameter.u.dwarf_reg.
CALL_SITE_PARAMETER_FB_OFFSET | Use field call_site_parameter.u.fb_offset.
CALL_SITE_PARAMETER_PARAM_OFFSET | Use field call_site_parameter.u.param_offset.

Definition at line 1091 of file gdbtypes.h.

## ◆ dynamic_prop_kind

enum dynamic_prop_kind

Enumerator
PROP_UNDEFINED |
PROP_CONST |
PROP_ADDR_OFFSET |
PROP_LOCEXPR |
PROP_LOCLIST |

Definition at line 376 of file gdbtypes.h.

## ◆ dynamic_prop_node_kind

enum dynamic_prop_node_kind

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.

## ◆ field_loc_kind

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 | dwarf_block

Definition at line 452 of file gdbtypes.h.

## ◆ type_code

enum type_code

Different kinds of data types are distinguished by the ‘code’ field.

Enumerator
TYPE_CODE_BITSTRING | Deprecated
TYPE_CODE_UNDEF | Not used; catches errors
TYPE_CODE_PTR | Pointer type
TYPE_CODE_ARRAY | Array type with lower & upper bounds. Regardless of the language, GDB represents multidimensional array types the way C does: as arrays of arrays. So an instance of a GDB array type T can always be seen as a series of instances of TYPE_TARGET_TYPE (T) laid out sequentially in memory. Row-major languages like C lay out multi-dimensional arrays so that incrementing the rightmost index in a subscripting expression results in the smallest change in the address of the element referred to. Column-major languages like Fortran lay them out so that incrementing the leftmost index results in the smallest change. This means that, in column-major languages, working our way from type to target type corresponds to working through indices from right to left, not left to right.
TYPE_CODE_STRUCT | C struct or Pascal record
TYPE_CODE_UNION | C union or Pascal variant part
TYPE_CODE_ENUM | Enumeration type
TYPE_CODE_FLAGS | Bit flags type
TYPE_CODE_FUNC | Function type
TYPE_CODE_INT | Integer type
TYPE_CODE_FLT | Floating type. This is NOT a complex type. Beware, there are parts of GDB which bogusly assume that TYPE_CODE_FLT can mean complex.
TYPE_CODE_VOID | Void type. The length field specifies the length (probably always one) which is used in pointer arithmetic involving pointers to this type, but actually dereferencing such a pointer is invalid; a void type has no length and no actual representation in memory or registers. A pointer to a void type is a generic pointer.
TYPE_CODE_SET | Pascal sets
TYPE_CODE_RANGE | Range (integers within spec'd bounds).
TYPE_CODE_STRING | A string type which is like an array of character but prints differently. It does not contain a length field as Pascal strings (for many Pascals, anyway) do; if we want to deal with such strings, we should use a new type code.
TYPE_CODE_ERROR | Unknown type. The length field is valid if we were able to deduce that much about the type, or 0 if we don't even know that.
TYPE_CODE_METHOD | Method type
TYPE_CODE_METHODPTR | Pointer-to-member-function type. This describes how to access a particular member function of a class (possibly a virtual member function). The representation may vary between different C++ ABIs.
TYPE_CODE_MEMBERPTR | Pointer-to-member type. This is the offset within a class to some particular data member. The only currently supported representation uses an unbiased offset, with -1 representing NULL; this is used by the Itanium C++ ABI (used by GCC on all platforms).
TYPE_CODE_REF | C++ Reference types
TYPE_CODE_RVALUE_REF | C++ rvalue reference types
TYPE_CODE_CHAR | real character type
TYPE_CODE_BOOL | Boolean type. 0 is false, 1 is true, and other values are non-boolean (e.g. FORTRAN "logical" used as unsigned int).
TYPE_CODE_COMPLEX | Complex float
TYPE_CODE_TYPEDEF |
TYPE_CODE_NAMESPACE | C++ namespace.
TYPE_CODE_DECFLOAT | Decimal floating point.
TYPE_CODE_MODULE | Fortran module.
TYPE_CODE_INTERNAL_FUNCTION | Internal function type.
TYPE_CODE_XMETHOD | Methods implemented in extension languages.

Definition at line 80 of file gdbtypes.h.

## ◆ type_instance_flag_value

enum type_instance_flag_value

Some bits for the type's instance_flags word. See the macros below for documentation on each bit.

Enumerator
TYPE_INSTANCE_FLAG_CONST |
TYPE_INSTANCE_FLAG_VOLATILE |
TYPE_INSTANCE_FLAG_CODE_SPACE |
TYPE_INSTANCE_FLAG_DATA_SPACE |
TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1 |
TYPE_INSTANCE_FLAG_ADDRESS_CLASS_2 |
TYPE_INSTANCE_FLAG_NOTTEXT |
TYPE_INSTANCE_FLAG_RESTRICT |
TYPE_INSTANCE_FLAG_ATOMIC |

Definition at line 187 of file gdbtypes.h.

## ◆ type_specific_kind

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.

## Function Documentation

## ◆ add_dyn_prop()

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.

## ◆ address_space_int_to_name()

const char* address_space_int_to_name | ( | struct gdbarch * | ,
|  | int |
| ) |  |

## ◆ address_space_name_to_int()

int address_space_name_to_int | ( | struct gdbarch * | ,
|  | char * |
| ) |  |

## ◆ alloc_type()

struct type* alloc_type | ( | struct objfile * |  | ) |

## ◆ alloc_type_arch()

struct type* alloc_type_arch | ( | struct gdbarch * |  | ) |

## ◆ alloc_type_copy()

struct type* alloc_type_copy | ( | const struct type * |  | ) |

## ◆ allocate_cplus_struct_type()

void allocate_cplus_struct_type | ( | struct type * |  | ) |

## ◆ allocate_gnat_aux_type()

void allocate_gnat_aux_type | ( | struct type * |  | ) |

## ◆ allocate_stub_method()

struct type* allocate_stub_method | ( | struct type * |  | ) |

## ◆ append_composite_type_field()

void append_composite_type_field | ( | struct type * | t,
|  | const char * | name,
|  | struct type * | field
| ) |  |

## ◆ append_composite_type_field_aligned()

void append_composite_type_field_aligned | ( | struct type * | t,
|  | const char * | name,
|  | struct type * | field,
|  | int | alignment
| ) |  |

## ◆ append_composite_type_field_raw()

struct field* append_composite_type_field_raw | ( | struct type * | t,
|  | const char * | name,
|  | struct type * | field
| ) |  |

## ◆ append_flags_type_field()

void append_flags_type_field | ( | struct type * | type,
|  | int | start_bitpos,
|  | int | nr_bits,
|  | struct type * | field_type,
|  | const char * | name
| ) |  |

## ◆ append_flags_type_flag()

void append_flags_type_flag | ( | struct type * | type,
|  | int | bitpos,
|  | const char * | name
| ) |  |

## ◆ arch_boolean_type()

struct type* arch_boolean_type | ( | struct gdbarch * | ,
|  | int | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ arch_character_type()

struct type* arch_character_type | ( | struct gdbarch * | ,
|  | int | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ arch_complex_type()

struct type* arch_complex_type | ( | struct gdbarch * | ,
|  | const char * | ,
|  | struct type * |
| ) |  |

## ◆ arch_composite_type()

struct type* arch_composite_type | ( | struct gdbarch * | gdbarch,
|  | const char * | name,
|  | enum type_code | code
| ) |  |

## ◆ arch_decfloat_type()

struct type* arch_decfloat_type | ( | struct gdbarch * | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ arch_flags_type()

struct type* arch_flags_type | ( | struct gdbarch * | gdbarch,
|  | const char * | name,
|  | int | bit
| ) |  |

## ◆ arch_float_type()

struct type* arch_float_type | ( | struct gdbarch * | ,
|  | int | ,
|  | const char * | ,
|  | const struct floatformat ** |
| ) |  |

## ◆ arch_integer_type()

struct type* arch_integer_type | ( | struct gdbarch * | ,
|  | int | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ arch_pointer_type()

struct type* arch_pointer_type | ( | struct gdbarch * | ,
|  | int | ,
|  | const char * | ,
|  | struct type * |
| ) |  |

## ◆ arch_type()

struct type* arch_type | ( | struct gdbarch * | ,
|  | enum | type_code,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ builtin_type()

const struct builtin_type* builtin_type | ( | struct gdbarch * | gdbarch | ) |

Return the type table for the specified architecture.

## ◆ can_dereference()

int can_dereference | ( | struct type * |  | ) |

## ◆ check_stub_method_group()

void check_stub_method_group | ( | struct type * | ,
|  | int |
| ) |  |

## ◆ check_typedef()

struct type* check_typedef | ( | struct type * |  | ) |

## ◆ class_or_union_p()

int class_or_union_p | ( | const struct type * |  | ) |

## ◆ class_types_same_p()

int class_types_same_p | ( | const struct type * | ,
|  | const struct type * |
| ) |  |

## ◆ compare_badness()

int compare_badness | ( | struct badness_vector * | ,
|  | struct badness_vector * |
| ) |  |

## ◆ compare_ranks()

int compare_ranks | ( | struct rank | a,
|  | struct rank | b
| ) |  |

## ◆ copy_type()

struct type* copy_type | ( | const struct type * | type | ) |

## ◆ copy_type_recursive()

struct type* copy_type_recursive | ( | struct objfile * | objfile,
|  | struct type * | type,
|  | htab_t | copied_types
| ) |  |

## ◆ create_array_type()

struct type* create_array_type | ( | struct type * | ,
|  | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ create_array_type_with_stride()

struct type* create_array_type_with_stride | ( | struct type * | ,
|  | struct type * | ,
|  | struct type * | ,
|  | struct dynamic_prop * | ,
|  | unsigned | int
| ) |  |

## ◆ create_copied_types_hash()

htab_t create_copied_types_hash | ( | struct objfile * | objfile | ) |

## ◆ create_range_type()

struct type* create_range_type | ( | struct type * | ,
|  | struct type * | ,
|  | const struct dynamic_prop * | ,
|  | const struct dynamic_prop * |
| ) |  |

## ◆ create_set_type()

struct type* create_set_type | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ create_static_range_type()

struct type* create_static_range_type | ( | struct type * | ,
|  | struct type * | ,
|  | LONGEST | ,
|  | LONGEST |
| ) |  |

## ◆ create_string_type()

struct type* create_string_type | ( | struct type * | ,
|  | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ DEF_ENUM_FLAGS_TYPE()

DEF_ENUM_FLAGS_TYPE | ( | enum | type_instance_flag_value,
|  | type_instance_flags |
| ) |  |

## ◆ DEFINE_OFFSET_TYPE() [1/2]

DEFINE_OFFSET_TYPE | ( | cu_offset | ,
|  | unsigned | int
| ) |  |

Offset relative to the start of its containing CU (compilation unit).

## ◆ DEFINE_OFFSET_TYPE() [2/2]

DEFINE_OFFSET_TYPE | ( | sect_offset | ,
|  | unsigned | int
| ) |  |

Offset relative to the start of its .debug_info or .debug_types section.

## ◆ discrete_position()

int discrete_position | ( | struct type * | type,
|  | LONGEST | val,
|  | LONGEST * | pos
| ) |  |

## ◆ field_is_static()

int field_is_static | ( | struct field * |  | ) |

## ◆ floatformat_from_type()

const struct floatformat* floatformat_from_type | ( | const struct type * | type | ) |

## ◆ gdb_mangle_name()

char* gdb_mangle_name | ( | struct type * | ,
|  | int | ,
|  | int |
| ) |  |

## ◆ get_array_bounds()

int get_array_bounds | ( | struct type * | type,
|  | LONGEST * | low_bound,
|  | LONGEST * | high_bound
| ) |  |

## ◆ get_discrete_bounds()

int get_discrete_bounds | ( | struct type * | ,
|  | LONGEST * | ,
|  | LONGEST * |
| ) |  |

## ◆ get_dyn_prop()

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.

## ◆ get_signed_type_minmax()

void get_signed_type_minmax | ( | struct type * | ,
|  | LONGEST * | ,
|  | LONGEST * |
| ) |  |

## ◆ get_target_type()

struct type* get_target_type | ( | struct type * | type | ) |

This returns the target type (or NULL) of TYPE, also skipping past typedefs.

## ◆ get_type_arch()

struct gdbarch* get_type_arch | ( | const struct 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.

## ◆ get_unsigned_type_max()

void get_unsigned_type_max | ( | struct type * | ,
|  | ULONGEST * |
| ) |  |

## ◆ get_vptr_fieldno()

int get_vptr_fieldno | ( | struct type * | ,
|  | struct type ** |
| ) |  |

## ◆ init_boolean_type()

struct type* init_boolean_type | ( | struct objfile * | ,
|  | int | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ init_character_type()

struct type* init_character_type | ( | struct objfile * | ,
|  | int | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ init_complex_type()

struct type* init_complex_type | ( | struct objfile * | ,
|  | const char * | ,
|  | struct type * |
| ) |  |

## ◆ init_decfloat_type()

struct type* init_decfloat_type | ( | struct objfile * | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ init_float_type()

struct type* init_float_type | ( | struct objfile * | ,
|  | int | ,
|  | const char * | ,
|  | const struct floatformat ** |
| ) |  |

## ◆ init_integer_type()

struct type* init_integer_type | ( | struct objfile * | ,
|  | int | ,
|  | int | ,
|  | const char * |
| ) |  |

## ◆ init_pointer_type()

struct type* init_pointer_type | ( | struct objfile * | ,
|  | int | ,
|  | const char * | ,
|  | struct type * |
| ) |  |

## ◆ init_type()

struct type* init_type | ( | struct objfile * | ,
|  | enum | type_code,
|  | int | ,
|  | const char * |
| ) |  |

Helper function to construct objfile-owned types.

## ◆ init_vector_type()

struct type* init_vector_type | ( | struct type * | elt_type,
|  | int | n
| ) |  |

## ◆ internal_type_self_type()

struct type* internal_type_self_type | ( | struct type * |  | ) |

## ◆ internal_type_vptr_basetype()

struct type* internal_type_vptr_basetype | ( | struct type * |  | ) |

## ◆ internal_type_vptr_fieldno()

int internal_type_vptr_fieldno | ( | struct type * |  | ) |

## ◆ is_ancestor()

int is_ancestor | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ is_dynamic_type()

int is_dynamic_type | ( | struct type * | type | ) |

Predicate if the type has dynamic values, which are not resolved yet.

## ◆ is_floating_type()

int is_floating_type | ( | struct type * |  | ) |

## ◆ is_integral_type()

int is_integral_type | ( | struct type * |  | ) |

## ◆ is_public_ancestor()

int is_public_ancestor | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ is_scalar_type()

int is_scalar_type | ( | struct type * | type | ) |

## ◆ is_scalar_type_recursive()

int is_scalar_type_recursive | ( | struct type * |  | ) |

## ◆ is_unique_ancestor()

int is_unique_ancestor | ( | struct type * | ,
|  | struct value * |
| ) |  |

## ◆ lookup_array_range_type()

struct type* lookup_array_range_type | ( | struct type * | ,
|  | LONGEST | ,
|  | LONGEST |
| ) |  |

## ◆ lookup_function_type()

struct type* lookup_function_type | ( | struct type * |  | ) |

## ◆ lookup_function_type_with_arguments()

struct type* lookup_function_type_with_arguments | ( | struct type * | ,
|  | int | ,
|  | struct type ** |
| ) |  |

## ◆ lookup_lvalue_reference_type()

struct type* lookup_lvalue_reference_type | ( | struct type * |  | ) |

## ◆ lookup_memberptr_type()

struct type* lookup_memberptr_type | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ lookup_methodptr_type()

struct type* lookup_methodptr_type | ( | struct type * |  | ) |

## ◆ lookup_pointer_type()

struct type* lookup_pointer_type | ( | struct type * |  | ) |

## ◆ lookup_reference_type()

struct type* lookup_reference_type | ( | struct type * | ,
|  | enum | type_code
| ) |  |

## ◆ lookup_rvalue_reference_type()

struct type* lookup_rvalue_reference_type | ( | struct type * |  | ) |

## ◆ lookup_signed_typename()

struct type* lookup_signed_typename | ( | const struct language_defn * | ,
|  | struct gdbarch * | ,
|  | const char * |
| ) |  |

## ◆ lookup_string_range_type()

struct type* lookup_string_range_type | ( | struct type * | ,
|  | LONGEST | ,
|  | LONGEST |
| ) |  |

## ◆ lookup_struct_elt_type()

struct type* lookup_struct_elt_type | ( | struct type * | ,
|  | const char * | ,
|  | int |
| ) |  |

## ◆ lookup_template_type()

struct type* lookup_template_type | ( | char * | ,
|  | struct type * | ,
|  | const struct block * |
| ) |  |

## ◆ lookup_typename()

struct type* lookup_typename | ( | const struct language_defn * | ,
|  | struct gdbarch * | ,
|  | const char * | ,
|  | const struct block * | ,
|  | int |
| ) |  |

## ◆ lookup_unsigned_typename()

struct type* lookup_unsigned_typename | ( | const struct language_defn * | ,
|  | struct gdbarch * | ,
|  | const char * |
| ) |  |

## ◆ maintenance_print_type()

void maintenance_print_type | ( | const char * | ,
|  | int |
| ) |  |

## ◆ make_atomic_type()

struct type* make_atomic_type | ( | struct type * |  | ) |

## ◆ make_cv_type()

struct type* make_cv_type | ( | int | ,
|  | int | ,
|  | struct type * | ,
|  | struct type ** |
| ) |  |

## ◆ make_function_type()

struct type* make_function_type | ( | struct type * | ,
|  | struct type ** |
| ) |  |

## ◆ make_pointer_type()

struct type* make_pointer_type | ( | struct type * | ,
|  | struct type ** |
| ) |  |

## ◆ make_reference_type()

struct type* make_reference_type | ( | struct type * | ,
|  | struct type ** | ,
|  | enum | type_code
| ) |  |

## ◆ make_restrict_type()

struct type* make_restrict_type | ( | struct type * |  | ) |

## ◆ make_type_with_address_space()

struct type* make_type_with_address_space | ( | struct type * | type,
|  | int | space_identifier
| ) |  |

## ◆ make_unqualified_type()

struct type* make_unqualified_type | ( | struct type * |  | ) |

## ◆ make_vector_type()

void make_vector_type | ( | struct type * | array_type | ) |

## ◆ objfile_type()

const struct objfile_type* objfile_type | ( | struct objfile * | objfile | ) |

Return the type table for the specified objfile.

## ◆ operator==() [1/2]

bool operator== | ( | const dynamic_prop & | l,
|  | const dynamic_prop & | r
| ) |  |

## ◆ operator==() [2/2]

bool operator== | ( | const range_bounds & | l,
|  | const range_bounds & | r
| ) |  |

## ◆ print_scalar_formatted()

void print_scalar_formatted | ( | const gdb_byte * | ,
|  | struct type * | ,
|  | const struct value_print_options * | ,
|  | int | ,
|  | struct ui_file * |
| ) |  |

## ◆ rank_function()

struct badness_vector* rank_function | ( | struct type ** | ,
|  | int | ,
|  | struct value ** | ,
|  | int |
| ) |  |

## ◆ rank_one_type()

struct rank rank_one_type | ( | struct type * | ,
|  | struct type * | ,
|  | struct value * |
| ) |  |

## ◆ recursive_dump_type()

void recursive_dump_type | ( | struct type * | ,
|  | int |
| ) |  |

## ◆ remove_dyn_prop()

void remove_dyn_prop | ( | enum dynamic_prop_node_kind | prop_kind,
|  | struct type * | type
| ) |  |

## ◆ replace_type()

void replace_type | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ resolve_dynamic_type()

struct type* resolve_dynamic_type | ( | struct type * | type,
|  | const gdb_byte * | valaddr,
|  | CORE_ADDR | addr
| ) |  |

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.

## ◆ set_type_self_type()

void set_type_self_type | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ set_type_vptr_basetype()

void set_type_vptr_basetype | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ set_type_vptr_fieldno()

void set_type_vptr_fieldno | ( | struct type * | ,
|  | int |
| ) |  |

## ◆ smash_to_memberptr_type()

void smash_to_memberptr_type | ( | struct type * | ,
|  | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ smash_to_method_type()

void smash_to_method_type | ( | struct type * | type,
|  | struct type * | self_type,
|  | struct type * | to_type,
|  | struct field * | args,
|  | int | nargs,
|  | int | varargs
| ) |  |

## ◆ smash_to_methodptr_type()

void smash_to_methodptr_type | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ sum_ranks()

struct rank sum_ranks | ( | struct rank | a,
|  | struct rank | b
| ) |  |

## ◆ type_length_units()

unsigned int type_length_units | ( | struct type * | type | ) |

## ◆ type_name_no_tag()

const char* type_name_no_tag | ( | const struct type * |  | ) |

## ◆ type_name_no_tag_or_error()

const char* type_name_no_tag_or_error | ( | struct type * | type | ) |

## ◆ type_not_allocated()

int type_not_allocated | ( | const struct type * | type | ) |

## ◆ type_not_associated()

int type_not_associated | ( | const struct type * | type | ) |

## ◆ types_deeply_equal()

int types_deeply_equal | ( | struct type * | ,
|  | struct type * |
| ) |  |

## ◆ types_equal()

int types_equal | ( | struct type * | ,
|  | struct type * |
| ) |  |

## Variable Documentation

## ◆ BASE_CONVERSION_BADNESS

const struct rank BASE_CONVERSION_BADNESS

Badness of converting derived to base class.

## ◆ BASE_PTR_CONVERSION_BADNESS

const struct rank BASE_PTR_CONVERSION_BADNESS

Badness of converting a derived class pointer to a base class pointer.

## ◆ BOOL_CONVERSION_BADNESS

const struct rank BOOL_CONVERSION_BADNESS

Badness of conversion to boolean.

## ◆ cplus_struct_default

const struct cplus_struct_type cplus_struct_default

The default value of TYPE_CPLUS_SPECIFIC(T) points to this shared static structure.

## ◆ CV_CONVERSION_BADNESS

const struct rank CV_CONVERSION_BADNESS

Badness of cv-conversion. Subrank is a flag describing the conversions being done.

## ◆ EXACT_MATCH_BADNESS

const struct rank EXACT_MATCH_BADNESS

Badness of an exact match.

## ◆ FLOAT_CONVERSION_BADNESS

const struct rank FLOAT_CONVERSION_BADNESS

Badness of floating conversion.

## ◆ FLOAT_PROMOTION_BADNESS

const struct rank FLOAT_PROMOTION_BADNESS

Badness of floating promotion.

## ◆ floatformats_arm_ext

const struct floatformat* floatformats_arm_ext[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_i387_ext

const struct floatformat* floatformats_i387_ext[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_ia64_quad

const struct floatformat* floatformats_ia64_quad[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_ia64_spill

const struct floatformat* floatformats_ia64_spill[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_ibm_long_double

const struct floatformat* floatformats_ibm_long_double[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_ieee_double

const struct floatformat* floatformats_ieee_double[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_ieee_double_littlebyte_bigword

const struct floatformat* floatformats_ieee_double_littlebyte_bigword[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_ieee_half

const struct floatformat* floatformats_ieee_half[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_ieee_single

const struct floatformat* floatformats_ieee_single[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_m68881_ext

const struct floatformat* floatformats_m68881_ext[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_vax_d

const struct floatformat* floatformats_vax_d[BFD_ENDIAN_UNKNOWN]

## ◆ floatformats_vax_f

const struct floatformat* floatformats_vax_f[BFD_ENDIAN_UNKNOWN]

## ◆ gnat_aux_default

const struct gnat_aux_type gnat_aux_default

## ◆ INCOMPATIBLE_TYPE_BADNESS

const struct rank INCOMPATIBLE_TYPE_BADNESS

Badness if no conversion among types.

## ◆ INT_FLOAT_CONVERSION_BADNESS

const struct rank INT_FLOAT_CONVERSION_BADNESS

Badness of integer<->floating conversions.

## ◆ INTEGER_CONVERSION_BADNESS

const struct rank INTEGER_CONVERSION_BADNESS

Badness of integral conversion.

## ◆ INTEGER_PROMOTION_BADNESS

const struct rank INTEGER_PROMOTION_BADNESS

Badness of integral promotion.

## ◆ LENGTH_MISMATCH_BADNESS

const struct rank LENGTH_MISMATCH_BADNESS

Badness if parameter list length doesn't match arg list length.

## ◆ NS_INTEGER_POINTER_CONVERSION_BADNESS

const struct rank NS_INTEGER_POINTER_CONVERSION_BADNESS

Badness of converting a (non-zero) integer constant to a pointer.

## ◆ NS_POINTER_CONVERSION_BADNESS

const struct rank NS_POINTER_CONVERSION_BADNESS

Converting a pointer to an int is usually OK.

## ◆ NULL_POINTER_CONVERSION

const struct rank NULL_POINTER_CONVERSION

Badness of converting integer 0 to NULL pointer.

## ◆ REFERENCE_CONVERSION_BADNESS

const struct rank REFERENCE_CONVERSION_BADNESS

Badness of converting from non-reference to reference. Subrank is the type of reference conversion being done.

## ◆ TOO_FEW_PARAMS_BADNESS

const struct rank TOO_FEW_PARAMS_BADNESS

Dummy badness value for nonexistent parameter positions.

## ◆ VOID_PTR_CONVERSION_BADNESS

const struct rank VOID_PTR_CONVERSION_BADNESS

Badness of conversion of pointer to void pointer.