GDB (xrefs)
Classes | Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/gdbtypes.h File Reference
#include "hashtab.h"

Go to the source code of this file.

Classes

struct  cu_offset
struct  sect_offset
struct  main_type
union  main_type::type_owner
union  main_type::type_specific
struct  type
struct  cplus_struct_type
struct  cplus_struct_type::fn_fieldlist
struct  cplus_struct_type::fn_fieldlist::fn_field
struct  cplus_struct_type::typedef_field
struct  rank
struct  badness_vector
struct  gnat_aux_type
struct  func_type
struct  call_site
struct  call_site::call_site_parameter
union  call_site::call_site_parameter::call_site_parameter_u
struct  builtin_type
struct  objfile_type

Defines

#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_CODE_CLASS   TYPE_CODE_STRUCT
#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_STATIC(t)   (TYPE_MAIN_TYPE (t)->flag_static)
#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)
#define TYPE_VOLATILE(t)   (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_VOLATILE)
#define TYPE_RESTRICT(t)   (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_RESTRICT)
#define TYPE_CODE_SPACE(t)   (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_CODE_SPACE)
#define TYPE_DATA_SPACE(t)   (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_DATA_SPACE)
#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_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
#define TYPE_HIGH_BOUND(range_type)   TYPE_RANGE_DATA(range_type)->high
#define TYPE_LOW_BOUND_UNDEFINED(range_type)   TYPE_RANGE_DATA(range_type)->low_undefined
#define TYPE_HIGH_BOUND_UNDEFINED(range_type)   TYPE_RANGE_DATA(range_type)->high_undefined
#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_VPTR_BASETYPE(thistype)   TYPE_MAIN_TYPE(thistype)->vptr_basetype
#define TYPE_DOMAIN_TYPE(thistype)   TYPE_MAIN_TYPE(thistype)->vptr_basetype
#define TYPE_VPTR_FIELDNO(thistype)   TYPE_MAIN_TYPE(thistype)->vptr_fieldno
#define TYPE_FN_FIELDS(thistype)   TYPE_CPLUS_SPECIFIC(thistype)->fn_fields
#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_TYPE_SPECIFIC(thistype)   TYPE_MAIN_TYPE(thistype)->type_specific
#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_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 TYPE_CPLUS_REALLY_JAVA(thistype)   TYPE_CPLUS_SPECIFIC (thistype)->is_java
#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_PUBLIC(thisfn, n)   ((thisfn)[n].is_public)
#define TYPE_FN_FIELD_STATIC(thisfn, n)   ((thisfn)[n].is_static)
#define TYPE_FN_FIELD_FINAL(thisfn, n)   ((thisfn)[n].is_final)
#define TYPE_FN_FIELD_SYNCHRONIZED(thisfn, n)   ((thisfn)[n].is_synchronized)
#define TYPE_FN_FIELD_NATIVE(thisfn, n)   ((thisfn)[n].is_native)
#define TYPE_FN_FIELD_ARTIFICIAL(thisfn, n)   ((thisfn)[n].is_artificial)
#define TYPE_FN_FIELD_ABSTRACT(thisfn, n)   ((thisfn)[n].is_abstract)
#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_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 CHECK_TYPEDEF(TYPE)
#define LENGTH_MATCH(bv)   ((bv)->rank[0])

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_CHAR, TYPE_CODE_BOOL, TYPE_CODE_COMPLEX, TYPE_CODE_TYPEDEF,
  TYPE_CODE_NAMESPACE, TYPE_CODE_DECFLOAT, TYPE_CODE_MODULE, TYPE_CODE_INTERNAL_FUNCTION
}
enum  type_flag_value {
  TYPE_FLAG_UNSIGNED = (1 << 8), TYPE_FLAG_NOSIGN = (1 << 9), TYPE_FLAG_STUB = (1 << 10), TYPE_FLAG_TARGET_STUB = (1 << 11),
  TYPE_FLAG_STATIC = (1 << 12), TYPE_FLAG_PROTOTYPED = (1 << 13), TYPE_FLAG_INCOMPLETE = (1 << 14), TYPE_FLAG_VARARGS = (1 << 15),
  TYPE_FLAG_VECTOR = (1 << 16), TYPE_FLAG_FIXED_INSTANCE = (1 << 17), TYPE_FLAG_STUB_SUPPORTED = (1 << 18), TYPE_FLAG_GNU_IFUNC = (1 << 19),
  TYPE_FLAG_MIN = TYPE_FLAG_UNSIGNED
}
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)
}
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
}
enum  call_site_parameter_kind { CALL_SITE_PARAMETER_DWARF_REG, CALL_SITE_PARAMETER_FB_OFFSET, CALL_SITE_PARAMETER_PARAM_OFFSET }

Functions

void allocate_cplus_struct_type (struct type *)
void allocate_gnat_aux_type (struct type *)
struct builtin_typebuiltin_type (struct gdbarch *gdbarch)
struct objfile_typeobjfile_type (struct objfile *objfile)
struct typealloc_type (struct objfile *)
struct typealloc_type_arch (struct gdbarch *)
struct typealloc_type_copy (const struct type *)
struct gdbarchget_type_arch (const struct type *)
struct typeinit_type (enum type_code, int, int, const char *, struct objfile *)
struct typearch_type (struct gdbarch *, enum type_code, int, char *)
struct typearch_integer_type (struct gdbarch *, int, int, char *)
struct typearch_character_type (struct gdbarch *, int, int, char *)
struct typearch_boolean_type (struct gdbarch *, int, int, char *)
struct typearch_float_type (struct gdbarch *, int, char *, const struct floatformat **)
struct typearch_complex_type (struct gdbarch *, char *, struct type *)
struct typearch_composite_type (struct gdbarch *gdbarch, char *name, enum type_code code)
void append_composite_type_field (struct type *t, char *name, struct type *field)
void append_composite_type_field_aligned (struct type *t, char *name, struct type *field, int alignment)
struct field * append_composite_type_field_raw (struct type *t, char *name, struct type *field)
struct typearch_flags_type (struct gdbarch *gdbarch, char *name, int length)
void append_flags_type_flag (struct type *type, int bitpos, char *name)
void make_vector_type (struct type *array_type)
struct typeinit_vector_type (struct type *elt_type, int n)
struct typelookup_reference_type (struct type *)
struct typemake_reference_type (struct type *, struct type **)
struct typemake_cv_type (int, int, struct type *, struct type **)
struct typemake_restrict_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 typemake_type_with_address_space (struct type *type, int space_identifier)
struct typelookup_memberptr_type (struct type *, struct type *)
struct typelookup_methodptr_type (struct type *)
void smash_to_method_type (struct type *type, struct type *domain, 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 typeallocate_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 typelookup_struct_elt_type (struct type *, const char *, int)
struct typemake_pointer_type (struct type *, struct type **)
struct typelookup_pointer_type (struct type *)
struct typemake_function_type (struct type *, struct type **)
struct typelookup_function_type (struct type *)
struct typelookup_function_type_with_arguments (struct type *, int, struct type **)
struct typecreate_range_type (struct type *, struct type *, LONGEST, LONGEST)
struct typecreate_array_type (struct type *, struct type *, struct type *)
struct typelookup_array_range_type (struct type *, LONGEST, LONGEST)
struct typecreate_string_type (struct type *, struct type *, struct type *)
struct typelookup_string_range_type (struct type *, LONGEST, LONGEST)
struct typecreate_set_type (struct type *, struct type *)
struct typelookup_unsigned_typename (const struct language_defn *, struct gdbarch *, const char *)
struct typelookup_signed_typename (const struct language_defn *, struct gdbarch *, const char *)
struct typecheck_typedef (struct type *)
void check_stub_method_group (struct type *, int)
char * gdb_mangle_name (struct type *, int, int)
struct typelookup_typename (const struct language_defn *, struct gdbarch *, const char *, const struct block *, int)
struct typelookup_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 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_vectorrank_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 void *, struct type *, const struct value_print_options *, int, struct ui_file *)
int can_dereference (struct type *)
int is_integral_type (struct type *)
int is_scalar_type_recursive (struct type *)
void maintenance_print_type (char *, int)
htab_t create_copied_types_hash (struct objfile *objfile)
struct typecopy_type_recursive (struct objfile *objfile, struct type *type, htab_t copied_types)
struct typecopy_type (const struct type *type)
int types_equal (struct type *, struct type *)

Variables

struct cplus_struct_type cplus_struct_default
struct gnat_aux_type gnat_aux_default
struct floatformat * floatformats_ieee_half [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_ieee_single [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_ieee_double [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_ieee_double_littlebyte_bigword [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_i387_ext [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_m68881_ext [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_arm_ext [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_ia64_spill [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_ia64_quad [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_vax_f [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_vax_d [BFD_ENDIAN_UNKNOWN]
struct floatformat * floatformats_ibm_long_double [BFD_ENDIAN_UNKNOWN]
struct rank LENGTH_MISMATCH_BADNESS
struct rank TOO_FEW_PARAMS_BADNESS
struct rank INCOMPATIBLE_TYPE_BADNESS
struct rank EXACT_MATCH_BADNESS
struct rank INTEGER_PROMOTION_BADNESS
struct rank FLOAT_PROMOTION_BADNESS
struct rank BASE_PTR_CONVERSION_BADNESS
struct rank INTEGER_CONVERSION_BADNESS
struct rank FLOAT_CONVERSION_BADNESS
struct rank INT_FLOAT_CONVERSION_BADNESS
struct rank VOID_PTR_CONVERSION_BADNESS
struct rank BOOL_CONVERSION_BADNESS
struct rank BASE_CONVERSION_BADNESS
struct rank REFERENCE_CONVERSION_BADNESS
struct rank NULL_POINTER_CONVERSION
struct rank NS_POINTER_CONVERSION_BADNESS
struct rank NS_INTEGER_POINTER_CONVERSION_BADNESS

Define Documentation

Definition at line 1036 of file gdbtypes.h.

Referenced by set_descriptive_type().

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

Definition at line 51 of file gdbtypes.h.

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

Definition at line 50 of file gdbtypes.h.

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

Definition at line 52 of file gdbtypes.h.

Referenced by print_bit_vector().

#define B_TYPE   unsigned char
#define BASETYPE_VIA_PUBLIC (   thistype,
  index 
)    ((!TYPE_FIELD_PRIVATE(thistype, index)) && (!TYPE_FIELD_PROTECTED(thistype, index)))
#define BASETYPE_VIA_VIRTUAL (   thistype,
  index 
)
#define CHECK_TYPEDEF (   TYPE)
Value:
do {                                            \
    (TYPE) = check_typedef (TYPE);              \
  } while (0)

Definition at line 1546 of file gdbtypes.h.

Referenced by aarch64_return_in_memory(), ada_check_typedef(), add_struct_fields(), arm_return_in_memory(), c_print_type(), c_print_typedef(), c_type_print_base(), c_val_print(), call_function_by_hand(), can_dereference(), check_field(), check_types_equal(), classify_type(), collect_one_symbol(), cp_lookup_nested_symbol(), cp_print_static_field(), cp_print_value_fields(), create_array_type(), d_val_print(), decode_constrained_packed_array_type(), distance_to_ancestor(), do_search_struct_field(), evaluate_subexp_standard(), f_type_print_base(), f_val_print(), find_method_list(), find_methods(), find_symbol_in_baseclass(), gccgo_string_p(), gen_struct_ref_recursive(), gen_trace_static_fields(), generic_val_print(), get_discrete_bounds(), get_return_value(), get_vptr_fieldno(), gnuv2_value_rtti_type(), gnuv3_pass_by_reference(), go_classify_struct_type(), go_print_type(), go_val_print(), is_float_singleton(), is_integral_type(), is_object_type(), is_scalar_type(), is_scalar_type_recursive(), is_unique_ancestor_worker(), java_print_value_fields(), java_type_print_base(), java_val_print(), lookup_struct_elt_type(), lookup_symbol_aux(), m2_get_discrete_bounds(), m2_print_array_contents(), m2_print_long_set(), m2_print_type(), m2_print_typedef(), m2_print_unbounded_array(), m2_val_print(), opencl_print_type(), pascal_object_print_static_field(), pascal_object_print_value_fields(), pascal_print_type(), pascal_print_typedef(), pascal_type_print_base(), pascal_val_print(), print_type_scalar(), return_command(), search_struct_method(), tic6x_return_value(), type_name_no_tag_or_error(), typy_fields_items(), typy_get_composite(), unpack_double(), unpack_value_bits_as_long_1(), val_print_scalar_type_p(), valprint_check_validity(), value_assign(), value_cast(), value_primitive_field(), and value_vector_widen().

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

Definition at line 1152 of file gdbtypes.h.

Referenced by check_types_equal(), and dwarf2_add_field().

#define FIELD_BITPOS (   thisfld)    (FIELD_BITPOS_LVAL (thisfld) + 0)
#define FIELD_BITPOS_LVAL (   thisfld)    ((thisfld).loc.bitpos)

Definition at line 1130 of file gdbtypes.h.

#define FIELD_BITSIZE (   thisfld)    ((thisfld).bitsize)
#define FIELD_DWARF_BLOCK (   thisfld)    ((thisfld).loc.dwarf_block)

Definition at line 1136 of file gdbtypes.h.

Referenced by call_site_to_target_addr(), and check_types_equal().

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

Definition at line 1133 of file gdbtypes.h.

Referenced by check_types_equal().

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

Definition at line 1132 of file gdbtypes.h.

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

Definition at line 1129 of file gdbtypes.h.

Referenced by call_site_to_target_addr(), check_types_equal(), and field_is_static().

#define FIELD_NAME (   thisfld)    ((thisfld).name)
#define FIELD_STATIC_PHYSADDR (   thisfld)    ((thisfld).loc.physaddr)

Definition at line 1135 of file gdbtypes.h.

Referenced by call_site_to_target_addr(), and check_types_equal().

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

Definition at line 1134 of file gdbtypes.h.

Referenced by call_site_to_target_addr(), and check_types_equal().

#define FIELD_TYPE (   thisfld)    ((thisfld).type)
#define HAVE_CPLUS_STRUCT (   type)
#define INIT_CPLUS_SPECIFIC (   type)
#define INIT_FUNC_SPECIFIC (   type)
Value:
(TYPE_SPECIFIC_FIELD (type) = TYPE_SPECIFIC_FUNC,                              \
   TYPE_MAIN_TYPE (type)->type_specific.func_stuff                             \
     = TYPE_ZALLOC (type,                                                      \
                    sizeof (*TYPE_MAIN_TYPE (type)->type_specific.func_stuff)))

Definition at line 1042 of file gdbtypes.h.

Referenced by init_type(), and make_function_type().

#define INIT_GNAT_SPECIFIC (   type)
Value:

Definition at line 1033 of file gdbtypes.h.

Referenced by set_die_type().

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

Definition at line 1579 of file gdbtypes.h.

Referenced by rank_function().

#define NULL_TYPE   ((struct type *) 0)
#define SET_FIELD_BITPOS (   thisfld,
  bitpos 
)
#define SET_FIELD_DWARF_BLOCK (   thisfld,
  addr 
)
Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_DWARF_BLOCK, \
   FIELD_DWARF_BLOCK (thisfld) = (addr))

Definition at line 1149 of file gdbtypes.h.

Referenced by read_call_site_scope().

#define SET_FIELD_ENUMVAL (   thisfld,
  enumval 
)
Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_ENUMVAL,             \
   FIELD_ENUMVAL_LVAL (thisfld) = (enumval))

Definition at line 1140 of file gdbtypes.h.

Referenced by coff_read_enum_type(), copy_type_recursive(), parse_symbol(), process_enumeration_scope(), and read_enum_type().

#define SET_FIELD_PHYSADDR (   thisfld,
  addr 
)
Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_PHYSADDR,            \
   FIELD_STATIC_PHYSADDR (thisfld) = (addr))

Definition at line 1146 of file gdbtypes.h.

Referenced by copy_type_recursive(), java_link_class_type(), and read_call_site_scope().

#define SET_FIELD_PHYSNAME (   thisfld,
  name 
)
Value:
(FIELD_LOC_KIND (thisfld) = FIELD_LOC_KIND_PHYSNAME,            \
   FIELD_STATIC_PHYSNAME (thisfld) = (name))

Definition at line 1143 of file gdbtypes.h.

Referenced by copy_type_recursive(), dwarf2_add_field(), read_call_site_scope(), and read_one_struct_field().

#define SET_TYPE_FIELD_IGNORE (   thistype,
 
)    B_SET (TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits, (n))

Definition at line 1180 of file gdbtypes.h.

Referenced by attach_fields_to_type().

#define SET_TYPE_FIELD_PRIVATE (   thistype,
 
)    B_SET (TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits, (n))
#define SET_TYPE_FIELD_PROTECTED (   thistype,
 
)    B_SET (TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits, (n))
#define SET_TYPE_FIELD_VIRTUAL (   thistype,
 
)    B_SET (TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits, (n))

Definition at line 1182 of file gdbtypes.h.

Referenced by dwarf2_attach_fields_to_type(), and read_baseclasses().

#define TYPE_ADDRESS_CLASS_1 (   t)
#define TYPE_ADDRESS_CLASS_2 (   t)
Value:

Definition at line 361 of file gdbtypes.h.

Referenced by recursive_dump_type().

#define TYPE_ADDRESS_CLASS_ALL (   t)
Value:

Definition at line 365 of file gdbtypes.h.

Referenced by replace_type().

#define TYPE_ALLOC (   t,
  size 
)

Definition at line 1080 of file gdbtypes.h.

Referenced by f77_get_lowerbound(), and get_array_bounds().

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

Definition at line 1086 of file gdbtypes.h.

Referenced by f77_get_lowerbound(), and pascal_type_print_varspec_prefix().

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

Definition at line 1083 of file gdbtypes.h.

Referenced by f77_get_upperbound(), and pascal_type_print_varspec_prefix().

#define TYPE_BASECLASS (   thistype,
  index 
)    TYPE_FIELD_TYPE(thistype, index)
#define TYPE_BASECLASS_BITPOS (   thistype,
  index 
)    TYPE_FIELD_BITPOS(thistype,index)
#define TYPE_BASECLASS_NAME (   thistype,
  index 
)    TYPE_FIELD_NAME(thistype, index)

Definition at line 1116 of file gdbtypes.h.

Referenced by define_symbol(), do_search_struct_field(), and find_symbol_in_baseclass().

#define TYPE_CALLING_CONVENTION (   thistype)    TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->calling_convention
#define TYPE_CHAIN (   thistype)    (thistype)->chain
#define TYPE_CODE (   thistype)    TYPE_MAIN_TYPE(thistype)->code

Definition at line 1063 of file gdbtypes.h.

Referenced by aarch64_extract_return_value(), aarch64_push_dummy_call(), aarch64_return_value(), aarch64_store_return_value(), aarch64_type_align(), ada_args_match(), ada_array_arity(), ada_array_bound_from_type(), ada_array_element_type(), ada_check_typedef(), ada_coerce_ref(), ada_convert_actual(), ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_get_base_type(), ada_get_decoded_value(), ada_index_type(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_array_type(), ada_is_bogus_array_descriptor(), ada_is_character_type(), ada_is_direct_array_type(), ada_is_dispatch_table_ptr_type(), ada_is_modular_type(), ada_is_simple_array_type(), ada_is_string_type(), ada_is_tag_type(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_prefer_type(), ada_print_scalar(), ada_print_subexp(), ada_print_type(), ada_promote_array_of_integrals(), ada_tag_value_at_base_address(), ada_tasks_inferior_data_sniffer(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type(), ada_to_fixed_type_1(), ada_type_match(), ada_typedef_target_type(), ada_val_print_1(), ada_value_assign(), ada_value_binop(), ada_value_equal(), ada_value_is_changeable_p(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_ptr_subscript(), ada_value_struct_elt(), ada_value_subscript(), ada_variant_discrim_name(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_child(), ada_varobj_describe_simple_array_child(), ada_varobj_describe_struct_child(), ada_varobj_get_number_of_children(), ada_varobj_get_ptr_number_of_children(), ada_varobj_get_struct_number_of_children(), ada_varobj_get_value_of_variable(), ada_varobj_ind(), add_struct_fields(), address_of_variable(), adjust_type_signedness(), adjust_value_for_child_access(), alignment_of(), alloc_type(), alloc_type_arch(), allocate_stub_method(), alpha_extract_return_value(), alpha_push_dummy_call(), alpha_return_value(), alpha_store_return_value(), alphafbsd_return_in_memory(), amd64_classify(), amd64_classify_aggregate(), amd64_non_pod_p(), amd64_windows_passed_by_integer_register(), amd64_windows_passed_by_xmm_register(), amd64_windows_return_value(), append_composite_type_field_aligned(), append_flags_type_flag(), arch_type(), arm_extract_return_value(), arm_push_dummy_call(), arm_register_type(), arm_return_in_memory(), arm_return_value(), arm_store_return_value(), arm_type_align(), arm_vfp_cprc_sub_candidate(), assign_component(), avr_address_to_pointer(), avr_pointer_to_address(), avr_return_value(), base_types_equal_p(), binop_promote(), binop_types_user_defined_p(), bpfinishpy_init(), c_describe_child(), c_get_string(), c_number_of_children(), c_print_type(), c_print_typedef(), c_textual_element_type(), c_type_print_base(), c_type_print_modifier(), c_type_print_varspec_prefix(), c_type_print_varspec_suffix(), c_val_print(), c_value_of_variable(), c_value_print(), calc_f77_array_dims(), call_function_by_hand(), can_dereference(), can_use_hardware_watchpoint(), cast_into_complex(), check_parameter_typelist(), check_typedef(), check_types_equal(), classify_inner_name(), classify_type(), cleanup_undefined_types_1(), cleanup_undefined_types_noname(), coerce_array(), coerce_for_assign(), coerce_ref(), coerce_ref_if_computed(), coff_read_enum_type(), coff_read_struct_type(), collect_one_symbol(), collect_symbol(), compare_parameters(), complain_about_struct_wipeout(), completion_list_add_fields(), constrained_packed_array_type(), convert_char_literal(), convert_field(), copy_type_recursive(), cp_is_vtbl_member(), cp_lookup_nested_symbol(), cp_lookup_rtti_type(), cp_print_static_field(), cp_type_print_method_args(), cplus_describe_child(), cplus_number_of_children(), create_array_type(), create_range_type(), create_set_type(), create_string_type(), create_value(), cris_return_value(), d_val_print(), decode_base_type(), decode_constrained_packed_array(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), default_print_one_register_info(), default_register_reggroup_p(), default_value_is_changeable_p(), define_symbol(), desc_base_type(), desc_bounds(), desc_bounds_type(), desc_data_target_type(), desc_index_type(), discrete_type_p(), do_ppc_sysv_return_value(), do_search_struct_field(), dwarf2_add_member_fn(), dwarf2_compute_name(), dwarf_require_integral(), dynamic_array_type(), dynamic_template_type(), empty_record(), entry_data_value_coerce_ref(), equiv_types(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), extract_typed_address(), f77_create_arrayprint_offset_tbl(), f77_get_dynamic_length_of_aggregate(), f_print_type(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), f_val_print(), find_function_addr(), find_overload_match(), find_size_for_pointer_math(), finish_command_continuation(), fixed_type_info(), floatformat_from_type(), fp_register_arg_p(), frv_push_dummy_call(), frv_return_value(), func_addr_to_tail_call_list(), gccgo_string_p(), gen_address_of(), gen_aggregate_elt_ref(), gen_binop(), gen_cast(), gen_complement(), gen_deref(), gen_expr_binop_rest(), gen_fetch(), gen_logical_not(), gen_ptradd(), gen_ptrsub(), gen_repeat(), gen_struct_elt_for_reference(), gen_struct_ref(), gen_traced_pop(), gen_usual_arithmetic(), gen_usual_unary(), generic_val_print(), get_base_type(), get_decimal_float_return_value(), get_discrete_bounds(), get_internalvar_integer(), get_long_set_bounds(), get_number_trailer(), get_register_types(), get_return_value(), get_value_at(), get_value_type(), gnuv2_value_rtti_type(), gnuv2_virtual_fn_field(), gnuv3_get_typeid(), gnuv3_pass_by_reference(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), go_print_type(), go_val_print(), h8300_extract_return_value(), h8300_use_struct_convention(), h8300h_extract_return_value(), h8300h_use_struct_convention(), has_negatives(), hppa32_push_dummy_call(), hppa32_return_value(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_extract_return_value(), i386_m128_p(), i386_reg_struct_return_p(), i386_return_value(), i386_store_return_value(), i387_register_to_value(), i387_value_to_register(), ia64_push_dummy_call(), ia64_register_reggroup_p(), ia64_struct_type_p(), ia64_use_struct_convention(), indirect_pieced_value(), info_mach_region_command(), init_type(), inspect_type(), install_new_value(), integer_type_p(), iq2000_address_to_pointer(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), iq2000_use_struct_convention(), is_dynamic_field(), is_float_like(), is_float_or_hfa_type_recurse(), is_float_singleton(), is_hfa(), is_integer_like(), is_integral_type(), is_nonfunction(), is_object_type(), is_pascal_string_type(), is_path_expr_parent(), is_pointer_like(), is_scalar_type(), is_scalar_type_recursive(), is_struct_like(), is_thick_pntr(), isvoid_internal_fn(), java_class_from_object(), java_link_class_type(), java_print_value_fields(), java_type_from_name(), java_type_print_base(), java_val_print(), java_value_print(), language_bool_type(), lesseq_defined_than(), linespec_parse_variable(), list_args_or_locals(), lm32_extract_return_value(), lm32_push_dummy_call(), lm32_return_value(), lookup_enum(), lookup_function_type_with_arguments(), lookup_opencl_vector_type(), lookup_string_range_type(), lookup_struct(), lookup_struct_elt_type(), lookup_struct_typedef(), lookup_symbol_aux(), lookup_template_type(), lookup_union(), lval_func_read(), lval_func_write(), m2_get_discrete_bounds(), m2_is_long_set(), m2_is_long_set_of_type(), m2_is_unbounded_array(), m2_print_array_contents(), m2_print_type(), m2_procedure(), m2_record_fields(), m2_val_print(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_push_dummy_call(), m32c_reg_arg_type(), m32c_return_by_passed_buf(), m32r_push_dummy_call(), m68hc11_return_value(), m68k_push_dummy_call(), m68k_reg_struct_return_p(), m68k_register_to_value(), m68k_return_value(), m68k_svr4_extract_return_value(), m68k_svr4_return_value(), m68k_svr4_store_return_value(), m68k_value_to_register(), m88k_floating_p(), m88k_integral_or_pointer_p(), m88k_structure_or_union_p(), make_array_descriptor(), make_function_type(), make_params(), make_pointer_type(), make_reference_type(), make_symbol_overload_list_adl_namespace(), make_vector_type(), mi_print_value_p(), mips_convert_register_float_case_p(), mips_eabi_push_dummy_call(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_push_dummy_call(), mips_n32n64_return_value(), mips_o32_push_dummy_call(), mips_o32_return_value(), mips_o64_push_dummy_call(), mips_o64_return_value(), mips_register_reggroup_p(), mips_type_needs_double_align(), mn10300_extract_return_value(), mn10300_push_dummy_call(), mn10300_store_return_value(), mn10300_type_align(), mn10300_use_struct_convention(), msp430_push_dummy_call(), msp430_return_value(), new_symbol_full(), nios2_push_dummy_call(), numeric_type_p(), opencl_logical_not(), opencl_print_type(), opencl_relop(), opencl_value_cast(), pack_long(), pack_unsigned_long(), package_name_p(), parse_old_style_renaming(), parse_procedure(), parse_symbol(), parse_type(), pascal_object_is_vtbl_member(), pascal_object_print_static_field(), pascal_print_type(), pascal_type_print_base(), pascal_type_print_varspec_prefix(), pascal_type_print_varspec_suffix(), pascal_val_print(), pascal_value_print(), pass_in_x(), patch_opaque_types(), pointer_type(), pos_atr(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_return_value(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), ppcnbsd_return_value(), print_array_type(), print_command_1(), print_floating(), print_formatted(), print_func_type(), print_optional_low_bound(), print_range(), print_range_bound(), print_range_type(), print_scalar_formatted(), print_subexp_standard(), print_symbol(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), print_variable_or_computed(), print_variant_clauses(), printf_decfloat(), process_coff_symbol(), ptrmath_type_p(), py_print_value(), quirk_gcc_member_function_pointer(), rank_one_type(), read_args(), read_call_site_scope(), read_enum_type(), read_enumeration_type(), read_fat_string_value(), read_one_struct_field(), read_structure_type(), read_subrange_type(), read_tag_const_type(), read_tag_ptr_to_member_type(), read_type(), recursive_dump_type(), require_rvalue(), resolve_subexp(), return_command(), return_match(), rl78_pointer_to_address(), rs6000_convert_register_p(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_register_to_value(), rs6000_return_value(), rs6000_value_to_register(), rx_push_dummy_call(), rx_return_value(), s390_function_arg_pass_by_reference(), s390_return_value(), s390_return_value_convention(), scalar_binop(), scalar_type_p(), score_push_dummy_call(), score_return_value(), score_type_needs_double_align(), search_symbols(), set_die_type(), set_internalvar(), sh64_extract_return_value(), sh64_media_print_registers_info(), sh64_print_register(), sh64_push_dummy_call(), sh64_store_return_value(), sh_is_renesas_calling_convention(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_treat_as_flt_p(), sh_use_struct_convention(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_struct_return_from_sym(), sparc64_complex_floating_p(), sparc64_extract_return_value(), sparc64_floating_p(), sparc64_integral_or_pointer_p(), sparc64_store_return_value(), sparc64_structure_or_union_p(), sparc_complex_floating_p(), sparc_floating_p(), sparc_integral_or_pointer_p(), sparc_structure_or_union_p(), spu_return_value(), spu_scalar_value_p(), store_typed_address(), struct_return_convention(), symbols_are_identical_enums(), template_to_static_fixed_type(), thin_data_pntr(), tic6x_arg_type_alignment(), tic6x_push_dummy_call(), tilegx_type_is_scalar(), to_fixed_range_type(), to_fixed_variant_branch_type(), to_record_with_fixed_variant_part(), to_static_fixed_type(), type_from_class(), typecmp(), types_equal(), typy_fields(), typy_get_code(), typy_get_composite(), typy_range(), typy_template_argument(), ui_printf(), unop_user_defined_p(), unpack_double(), unpack_long(), update_watchpoint(), upgrade_type(), user_select_syms(), using_struct_return(), v850_type_is_scalar(), v850_use_struct_convention(), val_print_scalar_type_p(), valprint_check_validity(), value_actual_type(), value_addr(), value_aggregate_elt(), value_arg_coerce(), value_args_as_decimal(), value_as_address(), value_assign(), value_binop(), value_cast(), value_cast_pointers(), value_cast_structs(), value_check_printable(), value_complement(), value_concat(), value_dynamic_cast(), value_equal(), value_equal_contents(), value_find_oload_method_list(), value_from_double(), value_in(), value_ind(), value_less(), value_logical_not(), value_must_coerce_to_target(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_pos(), value_ptrdiff(), value_ref(), value_reinterpret_cast(), value_rtti_indirect_type(), value_slice(), value_struct_element_index(), value_struct_elt(), value_subscript(), value_subscript_packed(), value_val_atr(), value_vector_widen(), value_x_binop(), value_x_unop(), variant_field_index(), varobj_editable_p(), vax_return_value(), vb_match(), vector_binop(), vector_relop(), whatis_exp(), x_command(), xstormy16_address_to_pointer(), xstormy16_pointer_to_address(), xstormy16_type_is_scalar(), xtensa_push_dummy_call(), and xtensa_return_value().

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

Definition at line 1120 of file gdbtypes.h.

Referenced by dwarf2_add_member_fn(), and gnuv3_dynamic_class().

#define TYPE_CPLUS_REALLY_JAVA (   thistype)    TYPE_CPLUS_SPECIFIC (thistype)->is_java

Definition at line 1121 of file gdbtypes.h.

Referenced by gnuv3_baseclass_offset(), gnuv3_rtti_type(), and process_structure_scope().

#define TYPE_CPLUS_SPECIFIC (   thistype)
Value:

Definition at line 1104 of file gdbtypes.h.

Referenced by recursive_dump_type().

Definition at line 351 of file gdbtypes.h.

Referenced by recursive_dump_type().

#define TYPE_DECLARED_CLASS (   t)    (TYPE_MAIN_TYPE (t)->flag_declared_class)

Definition at line 304 of file gdbtypes.h.

Referenced by c_type_print_base(), and read_structure_type().

#define TYPE_DESCRIPTIVE_TYPE (   thistype)    TYPE_GNAT_SPECIFIC(thistype)->descriptive_type
#define TYPE_DOMAIN_TYPE (   thistype)    TYPE_MAIN_TYPE(thistype)->vptr_basetype
#define TYPE_ERROR_NAME (   type)    (TYPE_NAME (type) ? TYPE_NAME (type) : _("<error type>"))
#define TYPE_FIELD (   thistype,
 
)    TYPE_MAIN_TYPE(thistype)->flds_bnds.fields[n]
#define TYPE_FIELD_ARTIFICIAL (   thistype,
 
)    FIELD_ARTIFICIAL(TYPE_FIELD(thistype,n))
#define TYPE_FIELD_BITPOS (   thistype,
 
)    FIELD_BITPOS (TYPE_FIELD (thistype, n))
#define TYPE_FIELD_BITSIZE (   thistype,
 
)    FIELD_BITSIZE(TYPE_FIELD(thistype,n))
#define TYPE_FIELD_DWARF_BLOCK (   thistype,
 
)    FIELD_DWARF_BLOCK (TYPE_FIELD (thistype, n))

Definition at line 1163 of file gdbtypes.h.

#define TYPE_FIELD_ENUMVAL (   thistype,
 
)    FIELD_ENUMVAL (TYPE_FIELD (thistype, n))
#define TYPE_FIELD_IGNORE (   thistype,
 
)
Value:
(TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits == NULL ? 0 \
    : B_TST(TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits, (n)))

Definition at line 1190 of file gdbtypes.h.

Referenced by cp_print_value_fields(), java_print_value_fields(), pascal_object_print_value_fields(), and print_field_values().

#define TYPE_FIELD_IGNORE_BITS (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits
#define TYPE_FIELD_LOC_KIND (   thistype,
 
)    FIELD_LOC_KIND (TYPE_FIELD (thistype, n))

Definition at line 1158 of file gdbtypes.h.

Referenced by copy_type_recursive(), gen_static_field(), and value_static_field().

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

Definition at line 1157 of file gdbtypes.h.

Referenced by ada_fixup_array_indexes_type(), ada_get_base_type(), ada_get_field_index(), ada_identical_enum_types_p(), ada_in_variant(), ada_index_struct_field_1(), ada_is_aligner_type(), ada_is_ignored_field(), ada_is_others_clause(), ada_is_parent_field(), ada_is_wrapper_field(), ada_lookup_struct_elt_type(), ada_print_scalar(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_val_print_1(), ada_varobj_describe_struct_child(), add_struct_fields(), append_flags_type_flag(), c_describe_child(), c_type_print_base(), check_field(), coff_read_enum_type(), completion_list_add_fields(), convert_char_literal(), convert_field(), copy_type_recursive(), cp_print_class_member(), cp_print_value_fields(), cplus_describe_child(), do_search_struct_field(), dynamic_array_type(), f_type_print_base(), field_alignment(), field_name(), find_struct_field(), gccgo_string_p(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), generic_val_print(), get_register_types(), is_dynamic_field(), is_object_type(), is_pascal_string_type(), java_link_class_type(), java_print_value_fields(), java_type_print_base(), lookup_struct_elt_type(), m2_enum(), m2_is_long_set(), m2_is_unbounded_array(), m2_record_fields(), parse_old_style_renaming(), pascal_object_print_value_fields(), pascal_type_print_base(), print_choices(), print_enum_type(), print_field_values(), print_selected_record_field_types(), print_type_scalar(), print_unchecked_union_type(), process_structure_scope(), quirk_gcc_member_function_pointer(), read_enum_type(), read_tilde_fields(), recursive_dump_type(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), typy_getitem(), typy_has_key(), val_print_type_code_flags(), and vb_match().

#define TYPE_FIELD_PACKED (   thistype,
 
)    (FIELD_BITSIZE(TYPE_FIELD(thistype,n))!=0)
#define TYPE_FIELD_PRIVATE (   thistype,
 
)
Value:
(TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits == NULL ? 0 \
    : B_TST(TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits, (n)))

Definition at line 1184 of file gdbtypes.h.

Referenced by c_type_print_base(), cplus_class_num_children(), java_type_print_base(), match_accessibility(), and pascal_type_print_base().

#define TYPE_FIELD_PRIVATE_BITS (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits
#define TYPE_FIELD_PROTECTED (   thistype,
 
)
#define TYPE_FIELD_PROTECTED_BITS (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits
#define TYPE_FIELD_STATIC_PHYSADDR (   thistype,
 
)    FIELD_STATIC_PHYSADDR (TYPE_FIELD (thistype, n))

Definition at line 1162 of file gdbtypes.h.

Referenced by copy_type_recursive(), gen_static_field(), and value_static_field().

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

Definition at line 1161 of file gdbtypes.h.

Referenced by copy_type_recursive(), gen_static_field(), and value_static_field().

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

Definition at line 1156 of file gdbtypes.h.

Referenced by aarch64_extract_return_value(), aarch64_store_return_value(), aarch64_type_align(), ada_aligned_type(), ada_aligned_value_addr(), ada_args_match(), ada_array_bound_from_type(), ada_fixup_array_indexes_type(), ada_get_base_type(), ada_index_struct_field_1(), ada_is_ignored_field(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_value_primitive_field(), ada_varobj_describe_simple_array_child(), ada_varobj_struct_elt(), add_struct_fields(), alignment_of(), amd64_classify_aggregate(), arm_return_in_memory(), arm_type_align(), arm_vfp_cprc_sub_candidate(), c_describe_child(), c_get_string(), c_type_print_args(), c_type_print_base(), c_val_print(), call_function_by_hand(), compare_parameters(), constrained_packed_array_type(), convert_field(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), cplus_describe_child(), create_set_type(), define_symbol(), desc_bound_bitsize(), desc_data_target_type(), do_search_struct_field(), dwarf2_add_member_fn(), dwarf2_compute_name(), dynamic_array_type(), evaluate_subexp_modula2(), evaluate_subexp_standard(), f_type_print_base(), f_val_print(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitsize(), find_oload_champ(), find_struct_field(), finish_block_internal(), fp_register_arg_p(), gccgo_string_p(), gen_primitive_field(), gen_static_field(), get_long_set_bounds(), get_register_types(), get_symbol_field_type(), gnuv2_baseclass_offset(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), is_dynamic_field(), is_float_or_hfa_type_recurse(), is_float_singleton(), is_hfa(), is_pascal_string_type(), is_scalar_type_recursive(), java_link_class_type(), java_print_value_fields(), java_type_print_base(), lookup_function_type_with_arguments(), lookup_struct_elt_type(), m2_is_long_set(), m2_is_long_set_of_type(), m2_is_unbounded_array(), m2_long_set(), m2_print_long_set(), m2_print_unbounded_array(), m2_procedure(), m2_record_fields(), m2_unbounded_array(), m68k_svr4_return_value(), m88k_8_byte_align_p(), make_array_descriptor(), make_params(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_return_value(), mips_o32_return_value(), mips_type_needs_double_align(), mn10300_type_align(), mn10300_use_struct_convention(), parse_symbol(), pascal_object_print_value_fields(), pascal_print_func_args(), pascal_type_print_base(), pascal_val_print(), ppc64_sysv_abi_push_dummy_call(), print_array_type(), print_field_values(), print_func_type(), print_go_string(), print_selected_record_field_types(), print_unchecked_union_type(), print_variant_clauses(), print_variant_part(), quirk_gcc_member_function_pointer(), rank_one_type(), read_fat_string_value(), read_subroutine_type(), read_type(), recursive_dump_type(), rx_push_dummy_call(), score_type_needs_double_align(), sh_treat_as_flt_p(), sh_use_struct_convention(), slot_alignment_is_next_even(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), static_unwrap_type(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_variant_branch_type(), to_record_with_fixed_variant_part(), types_equal(), unpack_value_field_as_long_1(), v850_eight_byte_align_p(), v850_use_struct_convention(), value_field_bitfield(), value_primitive_field(), value_static_field(), vb_match(), and vtable_ptrdiff_type().

#define TYPE_FIELD_VIRTUAL (   thistype,
 
)
Value:
(TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits == NULL ? 0 \
    : B_TST(TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits, (n)))

Definition at line 1193 of file gdbtypes.h.

#define TYPE_FIELD_VIRTUAL_BITS (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits
#define TYPE_FIELDS (   thistype)    TYPE_MAIN_TYPE(thistype)->flds_bnds.fields
#define TYPE_FIXED_INSTANCE (   t)    (TYPE_MAIN_TYPE (t)->flag_fixed_instance)
#define TYPE_FLAG_ENUM (   t)    (TYPE_MAIN_TYPE (t)->flag_flag_enum)

Definition at line 310 of file gdbtypes.h.

Referenced by generic_val_print(), and process_enumeration_scope().

#define TYPE_FLOATFORMAT (   thistype)    TYPE_MAIN_TYPE(thistype)->type_specific.floatformat
#define TYPE_FN_FIELD (   thisfn,
 
)    (thisfn)[n]

Definition at line 1210 of file gdbtypes.h.

#define TYPE_FN_FIELD_ABSTRACT (   thisfn,
 
)    ((thisfn)[n].is_abstract)

Definition at line 1224 of file gdbtypes.h.

Referenced by java_type_print_base().

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

Definition at line 1213 of file gdbtypes.h.

Referenced by dump_fn_fieldlists(), find_oload_champ(), and search_struct_method().

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

Definition at line 1223 of file gdbtypes.h.

Referenced by c_type_print_base(), and gnuv3_pass_by_reference().

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

Definition at line 1214 of file gdbtypes.h.

Referenced by dump_fn_fieldlists().

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

Definition at line 1226 of file gdbtypes.h.

Referenced by c_type_print_base(), gnuv3_pass_by_reference(), and java_type_print_base().

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

Definition at line 1227 of file gdbtypes.h.

Referenced by dump_fn_fieldlists(), and gnuv2_virtual_fn_field().

#define TYPE_FN_FIELD_FINAL (   thisfn,
 
)    ((thisfn)[n].is_final)

Definition at line 1220 of file gdbtypes.h.

Referenced by java_type_print_base().

#define TYPE_FN_FIELD_NATIVE (   thisfn,
 
)    ((thisfn)[n].is_native)

Definition at line 1222 of file gdbtypes.h.

Referenced by java_type_print_base().

#define TYPE_FN_FIELD_PHYSNAME (   thisfn,
 
)    (thisfn)[n].physname
#define TYPE_FN_FIELD_PRIVATE (   thisfn,
 
)    ((thisfn)[n].is_private)
#define TYPE_FN_FIELD_PROTECTED (   thisfn,
 
)    ((thisfn)[n].is_protected)
#define TYPE_FN_FIELD_PUBLIC (   thisfn,
 
)    ((thisfn)[n].is_public)

Definition at line 1218 of file gdbtypes.h.

Referenced by java_type_print_base().

#define TYPE_FN_FIELD_STATIC (   thisfn,
 
)    ((thisfn)[n].is_static)

Definition at line 1219 of file gdbtypes.h.

Referenced by java_type_print_base().

#define TYPE_FN_FIELD_STATIC_P (   thisfn,
 
)    ((thisfn)[n].voffset == VOFFSET_STATIC)
#define TYPE_FN_FIELD_STUB (   thisfn,
 
)    ((thisfn)[n].is_stub)
#define TYPE_FN_FIELD_SYNCHRONIZED (   thisfn,
 
)    ((thisfn)[n].is_synchronized)

Definition at line 1221 of file gdbtypes.h.

Referenced by java_type_print_base().

#define TYPE_FN_FIELD_TYPE (   thisfn,
 
)    (thisfn)[n].type
#define TYPE_FN_FIELD_VIRTUAL_P (   thisfn,
 
)    ((thisfn)[n].voffset > 1)
#define TYPE_FN_FIELD_VOFFSET (   thisfn,
 
)    ((thisfn)[n].voffset-2)
#define TYPE_FN_FIELD_VOLATILE (   thisfn,
 
)    ((thisfn)[n].is_volatile)

Definition at line 1215 of file gdbtypes.h.

Referenced by dump_fn_fieldlists().

#define TYPE_FN_FIELDLIST (   thistype,
 
)    TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n]
#define TYPE_FN_FIELDLIST1 (   thistype,
 
)    TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].fn_fields
#define TYPE_FN_FIELDLIST_LENGTH (   thistype,
 
)    TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].length
#define TYPE_FN_FIELDLIST_NAME (   thistype,
 
)    TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].name
#define TYPE_FN_FIELDLISTS (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists
#define TYPE_FN_FIELDS (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->fn_fields

Definition at line 1094 of file gdbtypes.h.

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

Definition at line 1110 of file gdbtypes.h.

Referenced by allocate_gnat_aux_type(), and recursive_dump_type().

#define TYPE_GNU_IFUNC (   t)    (TYPE_MAIN_TYPE (t)->flag_gnu_ifunc)
#define TYPE_HIGH_BOUND (   range_type)    TYPE_RANGE_DATA(range_type)->high
#define TYPE_HIGH_BOUND_UNDEFINED (   range_type)    TYPE_RANGE_DATA(range_type)->high_undefined
#define TYPE_INCOMPLETE (   t)    (TYPE_MAIN_TYPE (t)->flag_incomplete)

Definition at line 251 of file gdbtypes.h.

Referenced by init_type(), and recursive_dump_type().

#define TYPE_INDEX_TYPE (   type)    TYPE_FIELD_TYPE (type, 0)
#define TYPE_INSTANCE_FLAGS (   thistype)    (thistype)->instance_flags
#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)))

Definition at line 1243 of file gdbtypes.h.

Referenced by basic_lookup_transparent_type(), basic_lookup_transparent_type_quick(), check_typedef(), dw2_lookup_symbol(), and lookup_symbol_aux_psymtabs().

#define TYPE_LENGTH (   thistype)    (thistype)->length

Definition at line 1060 of file gdbtypes.h.

Referenced by aarch64_extract_return_value(), aarch64_pseudo_read_value(), aarch64_push_dummy_call(), aarch64_return_in_memory(), aarch64_store_return_value(), aarch64_type_align(), ada_convert_actual(), ada_print_type(), ada_printchar(), ada_printstr(), ada_promote_array_of_integrals(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_type_of_array(), ada_val_print_1(), ada_val_print_array(), ada_value_assign(), ada_value_binop(), ada_value_equal(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_slice_from_ptr(), address_to_signed_pointer(), alignment_of(), allocate_stub_method(), allocate_value_contents(), alpha_convert_register_p(), alpha_extract_return_value(), alpha_push_dummy_call(), alpha_register_to_value(), alpha_return_value(), alpha_store_return_value(), alpha_value_to_register(), alphafbsd_return_in_memory(), amd64_classify(), amd64_classify_aggregate(), amd64_get_longjmp_target(), amd64_pseudo_register_read_value(), amd64_push_arguments(), amd64_return_value(), amd64_windows_adjust_args_passed_by_pointer(), amd64_windows_passed_by_integer_register(), amd64_windows_passed_by_xmm_register(), amd64_windows_push_arguments(), amd64_windows_return_value(), amd64_windows_store_arg_in_reg(), append_composite_type_field_aligned(), arch_complex_type(), arch_type(), arm_extract_return_value(), arm_push_dummy_call(), arm_return_in_memory(), arm_return_value(), arm_store_return_value(), arm_type_align(), arm_vfp_cprc_sub_candidate(), avr_address_to_pointer(), avr_pointer_to_address(), avr_push_dummy_call(), avr_return_value(), base_types_equal_p(), bfin_extract_return_value(), bfin_push_dummy_call(), bfin_return_value(), bfin_store_return_value(), binop_promote(), build_gdb_vtable_type(), build_std_type_info_type(), c_get_string(), c_number_of_children(), c_textual_element_type(), c_val_print(), call_function_by_hand(), can_use_hardware_watchpoint(), cast_into_complex(), check_condition(), check_pieced_value_invalid(), check_size(), check_typedef(), check_types_equal(), coerce_for_assign(), coerce_unspec_val_to_type(), coff_read_enum_type(), coff_read_struct_type(), collect_symbol(), constrained_packed_array_type(), convert_typed_floating(), copy_type(), copy_type_recursive(), cp_find_class_member(), cp_print_class_member(), cp_print_value(), cp_print_value_fields_rtti(), create_array_type(), create_range_type(), create_set_type(), create_value(), cris_extract_return_value(), cris_push_dummy_call(), cris_return_value(), cris_store_return_value(), darwin_current_sos(), darwin_read_exec_load_addr(), decimal_from_integral(), decode_base_type(), decode_constrained_packed_array(), default_print_one_register_info(), default_read_var_value(), default_value_from_register(), define_symbol(), desc_bound_bitsize(), desc_bounds(), do_ppc_sysv_return_value(), do_search_struct_field(), dump_value_to_file(), dwarf2_add_field(), dwarf2_compute_name(), dwarf2_const_value_attr(), dwarf2_evaluate_loc_desc_full(), dwarf_expr_fetch_address(), dwarf_get_base_type(), dynamic_array_type(), dynamic_cast_check_1(), elf_gnu_ifunc_resolve_by_got(), elf_locate_base(), elf_rel_plt_read(), emit_numeric_character(), empty_record(), encode_actions_1(), ensure_lval(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_opencl(), evaluate_subexp_standard(), execute_stack_op(), extend_simple_arg(), f77_create_arrayprint_offset_tbl(), f77_get_dynamic_length_of_aggregate(), f_get_encoding(), f_printstr(), f_val_print(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitsize(), find_function_addr(), find_size_for_pointer_math(), float_type_from_length(), floatformat_from_type(), frame_register_unwind(), frv_extract_return_value(), frv_push_dummy_call(), frv_store_return_value(), gccgo_string_p(), gen_conversion(), gen_extend(), gen_fetch(), gen_ptrdiff(), gen_scale(), gen_sign_extend(), gen_sizeof(), gen_trace_static_fields(), gen_traced_pop(), generic_emit_char(), generic_printstr(), generic_val_print(), get_decimal_float_return_value(), get_discrete_bounds(), get_java_object_header_size(), get_java_utf8_name(), get_running_thread_id(), get_signed_type(), get_unsigned_type(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv3_baseclass_offset(), gnuv3_decode_method_ptr(), gnuv3_find_method_in(), gnuv3_make_method_ptr(), gnuv3_method_ptr_size(), gnuv3_method_ptr_to_value(), gnuv3_print_method_ptr(), gnuv3_rtti_type(), h8300_extract_return_value(), h8300_push_dummy_call(), h8300_store_return_value(), h8300_use_struct_convention(), h8300h_extract_return_value(), h8300h_return_value(), h8300h_store_return_value(), h8300h_use_struct_convention(), hppa32_push_dummy_call(), hppa32_return_value(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), hppa64_return_value(), i386_16_byte_align_p(), i386_convert_register_p(), i386_darwin_arg_type_alignment(), i386_darwin_push_dummy_call(), i386_extract_return_value(), i386_m128_p(), i386_pseudo_register_read_into_value(), i386_push_dummy_call(), i386_reg_struct_return_p(), i386_register_to_value(), i386_return_value(), i386_store_return_value(), i386_value_to_register(), i387_register_to_value(), ia64_extract_return_value(), ia64_push_dummy_call(), ia64_store_return_value(), ia64_use_struct_convention(), indirect_pieced_value(), init_regcache_descr(), init_type(), iq2000_address_to_pointer(), iq2000_extract_return_value(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), iq2000_push_dummy_call(), iq2000_store_return_value(), iq2000_use_struct_convention(), is_float_or_hfa_type_recurse(), is_hfa(), is_pascal_string_type(), java_class_from_object(), java_link_class_type(), java_val_print(), java_value_print(), jit_read_code_entry(), jit_read_descriptor(), ld_so_xfer_auxv(), linux_get_siginfo_data(), linux_get_siginfo_type(), linux_make_mappings_callback(), linux_make_mappings_corefile_notes(), list_arg_or_local(), lm32_extract_return_value(), lm32_push_dummy_call(), lm32_return_value(), lm32_store_return_value(), lookup_opencl_vector_type(), lval_func_check_any_valid(), lval_func_check_synthetic_pointer(), lval_func_check_validity(), lval_func_read(), lval_func_write(), m2_array(), m2_get_discrete_bounds(), m2_print_array_contents(), m2_val_print(), m32c_cat_read(), m32c_cat_write(), m32c_find_part(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_part_read(), m32c_push_dummy_call(), m32c_r3r2r1r0_read(), m32c_r3r2r1r0_write(), m32c_return_value(), m32r_extract_return_value(), m32r_push_dummy_call(), m32r_return_value(), m32r_store_return_value(), m68hc11_extract_return_value(), m68hc11_push_dummy_call(), m68hc11_return_value(), m68hc11_store_return_value(), m68k_extract_return_value(), m68k_push_dummy_call(), m68k_reg_struct_return_p(), m68k_register_to_value(), m68k_return_value(), m68k_store_return_value(), m68k_svr4_extract_return_value(), m68k_svr4_return_value(), m68k_svr4_store_return_value(), m68kbsd_fpreg_offset(), m88k_8_byte_align_p(), m88k_floating_p(), m88k_in_register_p(), m88k_integral_or_pointer_p(), m88k_return_value(), m88k_store_arguments(), make_function_type(), make_params(), make_pointer_type(), make_qualified_type(), make_reference_type(), max_of_type(), mep_extract_return_value(), mep_pseudo_cr32_read(), mep_pseudo_cr32_write(), mep_push_dummy_call(), mep_return_value(), mep_store_return_value(), mep_use_struct_convention(), microblaze_extract_return_value(), microblaze_stabs_argument_has_addr(), microblaze_store_return_value(), min_of_type(), mips_convert_register_float_case_p(), mips_convert_register_gpreg_case_p(), mips_eabi_push_dummy_call(), mips_eabi_return_value(), mips_integer_to_address(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_push_dummy_call(), mips_n32n64_return_value(), mips_o32_push_dummy_call(), mips_o32_return_value(), mips_o64_push_dummy_call(), mips_o64_return_value(), mips_pseudo_register_type(), mips_register_to_value(), mips_type_needs_double_align(), mips_value_to_register(), mn10300_extract_return_value(), mn10300_push_dummy_call(), mn10300_store_return_value(), mn10300_type_align(), mn10300_use_struct_convention(), moxie_extract_return_value(), moxie_return_value(), moxie_store_return_value(), msp430_push_dummy_call(), msp430_return_value(), mt_push_dummy_call(), mt_return_value(), nios2_extract_return_value(), nios2_push_dummy_call(), nios2_return_value(), nios2_store_return_value(), open_symbol_file_object(), opencl_logical_not(), pack_long(), pack_unsigned_long(), parse_find_args(), parse_symbol(), pascal_object_print_value(), pascal_printstr(), pascal_type_print_varspec_prefix(), pascal_val_print(), pass_in_x(), pass_in_x_or_stack(), pass_on_stack(), patch_opaque_types(), patch_type(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_float(), ppc64_sysv_abi_return_value(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppcnbsd_return_value(), print_decimal_floating(), print_floating(), print_formatted(), print_frame_args(), print_scalar_formatted(), print_symbol(), print_unpacked_pointer(), printf_decfloat(), printf_wide_c_string(), process_coff_symbol(), procfs_can_use_hw_breakpoint(), push_large_arguments(), rank_one_type(), read_array_type(), read_enum_type(), read_enumeration_type(), read_frame_arg(), read_frame_register_value(), read_known_tasks_array(), read_known_tasks_list(), read_memory_typed_address(), read_one_struct_field(), read_pieced_value(), read_set_type(), read_structure_type(), read_subrange_type(), read_tag_pointer_type(), read_tag_reference_type(), read_type(), recursive_dump_type(), regcache_cooked_read_value(), replace_type(), restore_infcall_suspend_state(), rl78_address_to_pointer(), rl78_pointer_to_address(), rl78_push_dummy_call(), rl78_return_value(), rs6000_convert_register_p(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_return_value(), rx_push_dummy_call(), rx_return_value(), s390_function_arg_float(), s390_function_arg_integer(), s390_function_arg_pass_by_reference(), s390_push_dummy_call(), s390_return_value(), s390_return_value_convention(), s390_unwind_pseudo_register(), s390_value_from_register(), save_infcall_suspend_state(), scalar_binop(), scope_info(), score_push_dummy_call(), score_return_value(), score_type_needs_double_align(), search_struct_method(), set_internalvar_component(), set_length_in_type_chain(), set_value_enclosing_type(), sh64_extract_return_value(), sh64_push_dummy_call(), sh64_store_return_value(), sh64_use_struct_convention(), sh_extract_return_value_fpu(), sh_extract_return_value_nofpu(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_stack_allocsize(), sh_store_return_value_fpu(), sh_store_return_value_nofpu(), sh_use_struct_convention(), sh_use_struct_convention_nofpu(), siginfo_value_read(), siginfo_value_write(), signed_pointer_to_address(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_extract_return_value(), sparc32_push_dummy_code(), sparc32_return_value(), sparc32_stabs_argument_has_addr(), sparc32_store_arguments(), sparc32_store_return_value(), sparc32_struct_return_from_sym(), sparc64_16_byte_align_p(), sparc64_complex_floating_p(), sparc64_extract_floating_fields(), sparc64_extract_return_value(), sparc64_floating_p(), sparc64_integral_or_pointer_p(), sparc64_return_value(), sparc64_store_arguments(), sparc64_store_floating_fields(), sparc64_store_return_value(), sparc_complex_floating_p(), sparc_floating_p(), sparc_integral_or_pointer_p(), spu_address_to_pointer(), spu_pointer_to_address(), spu_push_dummy_call(), spu_regcache_to_value(), spu_return_value(), spu_scalar_value_p(), spu_value_from_register(), spu_value_to_regcache(), stap_modify_semaphore(), store_typed_floating(), tdesc_gdb_type(), template_to_static_fixed_type(), tic6x_arg_type_alignment(), tic6x_extract_return_value(), tic6x_push_dummy_call(), tic6x_return_value(), tic6x_store_return_value(), tilegx_extract_return_value(), tilegx_push_dummy_call(), tilegx_store_return_value(), tilegx_use_struct_convention(), to_fixed_array_type(), to_record_with_fixed_variant_part(), type_wider_than(), typy_get_sizeof(), ui_printf(), unop_promote(), unpack_double(), unpack_long(), unpack_value_bits_as_long_1(), unsigned_address_to_pointer(), unsigned_pointer_to_address(), update_watchpoint(), upgrade_type(), v850_eight_byte_align_p(), v850_extract_return_value(), v850_push_dummy_call(), v850_store_return_value(), v850_use_struct_convention(), val_print_array_elements(), val_print_packed_array_elements(), val_print_scalar_formatted(), val_print_string(), val_print_type_code_int(), valprint_check_validity(), value_arg_coerce(), value_args_as_decimal(), value_array(), value_assign(), value_assign_to_component(), value_cast(), value_coerce_to_target(), value_complement(), value_concat(), value_contents_equal(), value_copy(), value_cstring(), value_entirely_unavailable(), value_equal(), value_equal_contents(), value_fetch_lazy(), value_field_bitfield(), value_from_contents(), value_from_decfloat(), value_from_register(), value_full_object(), value_literal_complex(), value_logical_not(), value_neg(), value_non_lval(), value_of_dwarf_reg_entry(), value_one(), value_pointer(), value_pos(), value_primitive_field(), value_ptrdiff(), value_repeat(), value_slice(), value_strcmp(), value_string(), value_subscripted_rvalue(), value_vector_widen(), vax_return_value(), vax_store_arguments(), vector_binop(), vector_relop(), windows_get_tlb_type(), write_constant_as_bytes(), write_pieced_value(), xstormy16_address_to_pointer(), xstormy16_extract_return_value(), xstormy16_pointer_to_address(), xstormy16_push_dummy_call(), xstormy16_store_return_value(), xstormy16_use_struct_convention(), xtensa_extract_return_value(), xtensa_push_dummy_call(), xtensa_return_value(), and xtensa_store_return_value().

#define TYPE_LOW_BOUND (   range_type)    TYPE_RANGE_DATA(range_type)->low
#define TYPE_LOW_BOUND_UNDEFINED (   range_type)    TYPE_RANGE_DATA(range_type)->low_undefined

Definition at line 1071 of file gdbtypes.h.

Referenced by ada_tasks_inferior_data_sniffer(), and recursive_dump_type().

#define TYPE_MAIN_TYPE (   thistype)    (thistype)->main_type
#define TYPE_N_BASECLASSES (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->n_baseclasses
#define TYPE_N_TEMPLATE_ARGUMENTS (   thistype)    TYPE_CPLUS_SPECIFIC (thistype)->n_template_arguments
#define TYPE_NAME (   thistype)    TYPE_MAIN_TYPE(thistype)->name

Definition at line 1050 of file gdbtypes.h.

Referenced by ada_fixup_array_indexes_type(), ada_get_field_index(), ada_is_dispatch_table_ptr_type(), ada_is_interface_tag(), ada_is_system_address_type(), ada_language_arch_info(), ada_prefer_type(), ada_template_to_fixed_record_type_1(), ada_type_name(), arch_type(), arm_neon_double_type(), arm_neon_quad_type(), c_print_type(), c_print_typedef(), c_textual_element_type(), c_type_print_base(), c_type_print_varspec_prefix(), c_type_print_varspec_suffix(), c_value_print(), check_types_equal(), class_types_same_p(), classify_type(), complain_about_struct_wipeout(), constrained_packed_array_type(), copy_type_recursive(), cp_print_value(), decode_base_type(), define_symbol(), empty_record(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_standard(), f_print_type(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), find_overload_match(), find_size_for_pointer_math(), fixup_go_packaging(), gccgo_string_p(), gen_expr_binop_rest(), gen_fetch(), get_register_types(), i386_mmx_type(), i386_ymm_type(), init_type(), is_path_expr_parent(), java_print_value_fields(), java_type_print_base(), java_val_print(), language_lookup_primitive_type_by_name(), linux_get_siginfo_type(), lookup_symbol_file(), lookup_template_type(), m2_long_set(), m2_print_typedef(), m2_type_name(), m2_typedef(), make_symbol_overload_list_adl_namespace(), new_symbol_full(), new_type(), opencl_print_type(), parse_symbol(), parse_type(), pascal_type_print_base(), pascal_type_print_varspec_prefix(), pascal_type_print_varspec_suffix(), pascal_value_print(), patch_type(), print_range(), print_range_type(), print_return_value(), process_coff_symbol(), rank_one_type(), read_array_type(), read_base_type(), read_module_type(), read_namespace(), read_namespace_type(), read_structure_type(), read_subrange_type(), read_tilde_fields(), read_type(), read_typedef(), read_unspecified_type(), recursive_dump_type(), regcache_dump(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), spu_builtin_type_vec128(), static_unwrap_type(), tdesc_gdb_type(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_range_type(), to_record_with_fixed_variant_part(), type_name_no_tag(), types_equal(), typy_legacy_template_argument(), unwrap_value(), user_select_syms(), value_args_as_decimal(), value_cast(), value_cast_structs(), value_full_object(), vb_match(), and windows_get_tlb_type().

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

Definition at line 1064 of file gdbtypes.h.

Referenced by aarch64_extract_return_value(), aarch64_push_dummy_call(), aarch64_store_return_value(), aarch64_type_align(), ada_args_match(), ada_discrete_type_high_bound(), ada_fixup_array_indexes_type(), ada_get_base_type(), ada_get_field_index(), ada_identical_enum_types_p(), ada_index_struct_field_1(), ada_is_aligner_type(), ada_is_ignored_field(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_scalar(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_val_print_1(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), ada_which_variant_applies(), add_struct_fields(), alignment_of(), alphafbsd_return_in_memory(), amd64_classify_aggregate(), append_composite_type_field_aligned(), append_composite_type_field_raw(), append_flags_type_flag(), arch_flags_type(), arm_return_in_memory(), arm_type_align(), arm_vfp_cprc_sub_candidate(), attach_fields_to_type(), build_gdb_vtable_type(), build_std_type_info_type(), c_get_string(), c_number_of_children(), c_type_print_args(), c_type_print_base(), call_function_by_hand(), check_field(), check_stub_method(), check_typedef(), check_types_equal(), coff_read_enum_type(), coff_read_struct_type(), compare_parameters(), completion_list_add_fields(), convert_char_literal(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), cp_type_print_method_args(), cplus_class_num_children(), create_array_type(), create_set_type(), decode_base_type(), define_symbol(), desc_arity(), do_search_struct_field(), dump_fn_fieldlists(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), dwarf2_compute_name(), dynamic_array_type(), empty_record(), evaluate_subexp_standard(), f_type_print_base(), f_val_print(), find_oload_champ(), find_struct_field(), finish_block_internal(), fp_register_arg_p(), gccgo_string_p(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), generic_val_print(), get_discrete_bounds(), get_long_set_bounds(), get_register_types(), gnuv2_baseclass_offset(), gnuv3_pass_by_reference(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), iq2000_pass_8bytetype_by_address(), is_float_or_hfa_type_recurse(), is_float_singleton(), is_hfa(), is_object_type(), is_pascal_string_type(), is_scalar_type_recursive(), java_link_class_type(), java_print_value_fields(), java_type_print_base(), lookup_function_type_with_arguments(), lookup_struct_elt_type(), m2_enum(), m2_is_long_set(), m2_is_long_set_of_type(), m2_is_unbounded_array(), m2_long_set(), m2_print_bounds(), m2_print_long_set(), m2_procedure(), m2_record_fields(), m32c_push_dummy_call(), m68k_svr4_return_value(), m88k_8_byte_align_p(), make_params(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_return_value(), mips_o32_return_value(), mips_type_needs_double_align(), mn10300_type_align(), mn10300_use_struct_convention(), parse_old_style_renaming(), parse_symbol(), parse_type(), pascal_object_print_value_fields(), pascal_print_func_args(), pascal_type_print_base(), patch_type(), pos_atr(), ppc64_sysv_abi_push_dummy_call(), print_array_type(), print_cplus_stuff(), print_enum_type(), print_field_values(), print_func_type(), print_record_field_types(), print_type_scalar(), print_unchecked_union_type(), print_variant_clauses(), process_enumeration_scope(), process_structure_scope(), quirk_gcc_member_function_pointer(), read_enum_type(), read_subroutine_type(), read_tag_ptr_to_member_type(), read_tilde_fields(), read_type(), recursive_dump_type(), rx_push_dummy_call(), score_type_needs_double_align(), search_struct_method(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_treat_as_flt_p(), sh_use_struct_convention(), sh_use_struct_convention_nofpu(), sixg_string_p(), slot_alignment_is_next_even(), smash_to_method_type(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), symbols_are_identical_enums(), template_to_static_fixed_type(), tic6x_push_dummy_call(), to_fixed_array_type(), to_record_with_fixed_variant_part(), types_equal(), typy_getitem(), typy_has_key(), typy_iterator_iternext(), typy_length(), v850_eight_byte_align_p(), v850_use_struct_convention(), val_print_type_code_flags(), value_val_atr(), and variant_field_index().

#define TYPE_NFN_FIELDS (   thistype)    TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields
#define TYPE_NOSIGN (   t)    (TYPE_MAIN_TYPE (t)->flag_nosign)

Definition at line 284 of file gdbtypes.h.

Referenced by c_textual_element_type(), check_types_equal(), and recursive_dump_type().

#define TYPE_OBJFILE (   t)    (TYPE_OBJFILE_OWNED(t)? TYPE_OWNER(t).objfile : NULL)
#define TYPE_OBJFILE_OWNED (   t)    (TYPE_MAIN_TYPE (t)->flag_objfile_owned)
#define TYPE_OWNER (   t)    TYPE_MAIN_TYPE(t)->owner
#define TYPE_POINTER_TYPE (   thistype)    (thistype)->pointer_type

Definition at line 1053 of file gdbtypes.h.

Referenced by make_pointer_type(), make_qualified_type(), and recursive_dump_type().

#define TYPE_PROTOTYPED (   t)    (TYPE_MAIN_TYPE (t)->flag_prototyped)
#define TYPE_RANGE_DATA (   thistype)    TYPE_MAIN_TYPE(thistype)->flds_bnds.bounds

Definition at line 1068 of file gdbtypes.h.

Referenced by check_types_equal(), copy_type_recursive(), create_range_type(), and parse_type().

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

Definition at line 1108 of file gdbtypes.h.

Referenced by allocate_cplus_struct_type().

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

Definition at line 1054 of file gdbtypes.h.

Referenced by make_qualified_type(), make_reference_type(), and recursive_dump_type().

#define TYPE_SAFE_NAME (   type)    (TYPE_NAME (type) ? TYPE_NAME (type) : _("<unnamed type>"))
#define TYPE_SPECIFIC_FIELD (   thistype)    TYPE_MAIN_TYPE(thistype)->type_specific_field
#define TYPE_STATIC (   t)    (TYPE_MAIN_TYPE (t)->flag_static)

Definition at line 234 of file gdbtypes.h.

Referenced by init_type(), and recursive_dump_type().

#define TYPE_STUB (   t)    (TYPE_MAIN_TYPE (t)->flag_stub)
#define TYPE_STUB_SUPPORTED (   t)    (TYPE_MAIN_TYPE (t)->flag_stub_supported)

Definition at line 279 of file gdbtypes.h.

Referenced by init_type(), read_structure_type(), and recursive_dump_type().

#define TYPE_TAG_NAME (   type)    TYPE_MAIN_TYPE(type)->tag_name
#define TYPE_TAIL_CALL_LIST (   thistype)    TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->tail_call_list
#define TYPE_TARGET_STUB (   t)    (TYPE_MAIN_TYPE (t)->flag_target_stub)
#define TYPE_TARGET_TYPE (   thistype)    TYPE_MAIN_TYPE(thistype)->target_type

Definition at line 1052 of file gdbtypes.h.

Referenced by aarch64_extract_return_value(), aarch64_push_dummy_call(), aarch64_type_align(), ada_array_arity(), ada_array_bound_from_type(), ada_array_element_type(), ada_coerce_to_simple_array(), ada_convert_actual(), ada_get_base_type(), ada_index_type(), ada_is_array_type(), ada_is_dispatch_table_ptr_type(), ada_is_simple_array_type(), ada_is_tag_type(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_scalar(), ada_print_type(), ada_promote_array_of_integrals(), ada_tasks_inferior_data_sniffer(), ada_template_to_fixed_record_type_1(), ada_type_match(), ada_typedef_target_type(), ada_val_print_1(), ada_val_print_array(), ada_value_print(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_slice_from_ptr(), ada_value_struct_elt(), ada_variant_discrim_name(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_simple_array_child(), ada_varobj_get_ptr_number_of_children(), ada_varobj_ind(), ada_varobj_simple_array_elt(), allocate_stub_method(), amd64_classify_aggregate(), arch_complex_type(), arm_push_dummy_call(), arm_type_align(), arm_vfp_cprc_sub_candidate(), avr_address_to_pointer(), avr_gdbarch_init(), avr_pointer_to_address(), basic_type(), binop_types_user_defined_p(), bpfinishpy_init(), c_describe_child(), c_get_string(), c_textual_element_type(), c_type_print_base(), c_type_print_varspec_prefix(), c_type_print_varspec_suffix(), c_val_print(), c_value_of_variable(), c_value_print(), calc_f77_array_dims(), call_function_by_hand(), can_dereference(), cast_into_complex(), check_typedef(), check_types_equal(), classify_type(), coerce_for_assign(), coerce_ref(), constrained_packed_array_type(), copy_type_recursive(), cp_is_vtbl_member(), cp_print_static_field(), cp_type_print_method_args(), create_array_type(), create_range_type(), create_value(), desc_base_type(), desc_bounds(), desc_bounds_type(), desc_data_target_type(), do_ppc_sysv_return_value(), dwarf2_add_member_fn(), dwarf2_compute_name(), dynamic_array_type(), elf_gnu_ifunc_resolver_return_stop(), empty_array(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), f77_create_arrayprint_offset_tbl(), f77_get_dynamic_length_of_aggregate(), f77_print_array_1(), f_type_print_base(), f_type_print_varspec_prefix(), f_type_print_varspec_suffix(), f_val_print(), find_function_addr(), find_function_return_type(), find_size_for_pointer_math(), finish_command_continuation(), fixed_type_info(), frv_push_dummy_call(), gccgo_string_p(), gen_deref(), gen_fetch(), gen_ptrdiff(), gen_scale(), gen_traced_pop(), gen_usual_unary(), generic_val_print(), get_base_type(), get_target_type(), gnuv2_virtual_fn_field(), gnuv3_get_typeid(), gnuv3_method_ptr_to_value(), gnuv3_pass_by_reference(), go_print_type(), hppa64_push_dummy_call(), i386_16_byte_align_p(), ia64_push_dummy_call(), indirect_pieced_value(), inspect_type(), integer_type_p(), iq2000_address_to_pointer(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), is_float_or_hfa_type_recurse(), is_hfa(), is_object_type(), is_pascal_string_type(), is_scalar_type_recursive(), java_class_from_object(), java_link_class_type(), java_type_print_base(), java_val_print(), java_value_print(), linux_get_siginfo_type(), lookup_opencl_vector_type(), lookup_struct_elt_type(), lookup_symbol_aux(), lookup_symbol_file(), lval_func_check_any_valid(), lval_func_check_synthetic_pointer(), lval_func_check_validity(), lval_func_read(), lval_func_write(), m2_array(), m2_is_long_set_of_type(), m2_pointer(), m2_print_bounds(), m2_print_long_set(), m2_print_unbounded_array(), m2_procedure(), m2_range(), m2_ref(), m2_typedef(), m2_unbounded_array(), m2_val_print(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_push_dummy_call(), make_function_type(), make_pointer_type(), make_reference_type(), make_symbol_overload_list_adl_namespace(), make_types(), make_vector_type(), mips_eabi_push_dummy_call(), mips_o64_push_dummy_call(), msp430_push_dummy_call(), numeric_type_p(), objfile_type(), opencl_logical_not(), opencl_value_cast(), parse_procedure(), parse_type(), pascal_object_is_vtbl_member(), pascal_type_print_base(), pascal_type_print_varspec_prefix(), pascal_type_print_varspec_suffix(), pascal_val_print(), pascal_value_print(), patch_opaque_types(), patch_type(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), print_array_type(), print_func_type(), print_go_string(), print_optional_low_bound(), print_range(), print_range_type(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), print_variant_clauses(), process_coff_symbol(), ptrmath_type_p(), quirk_gcc_member_function_pointer(), rank_one_type(), read_base_type(), read_fat_string_value(), read_range_type(), read_sun_floating_type(), read_tag_const_type(), read_tag_ptr_to_member_type(), read_type(), read_typedef(), readjust_indirect_value_type(), recursive_dump_type(), return_command(), return_match(), rl78_gdbarch_init(), rl78_pointer_to_address(), rs6000_builtin_type(), rx_push_dummy_call(), sh_is_renesas_calling_convention(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_struct_return_from_sym(), spu_return_value(), template_to_static_fixed_type(), tic6x_push_dummy_call(), to_fixed_array_type(), to_fixed_range_type(), to_fixed_variant_branch_type(), type_from_class(), typecmp(), types_equal(), typy_get_composite(), typy_target(), typy_template_argument(), unop_user_defined_p(), v850_use_struct_convention(), val_print_array_elements(), val_print_packed_array_elements(), val_print_scalar_type_p(), value_actual_type(), value_addr(), value_arg_coerce(), value_cast(), value_cast_pointers(), value_coerce_array(), value_complement(), value_concat(), value_dynamic_cast(), value_in(), value_ind(), value_literal_complex(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_ptrdiff(), value_reinterpret_cast(), value_slice(), value_subscript_packed(), value_subscripted_rvalue(), value_vector_widen(), value_x_binop(), value_x_unop(), vb_match(), vector_binop(), vector_relop(), watch_command_1(), whatis_exp(), windows_get_tlb_type(), xstormy16_address_to_pointer(), and xstormy16_pointer_to_address().

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

Definition at line 1205 of file gdbtypes.h.

Referenced by cp_lookup_symbol_imports_or_template(), and process_structure_scope().

#define TYPE_TYPE_SPECIFIC (   thistype)    TYPE_MAIN_TYPE(thistype)->type_specific

Definition at line 1098 of file gdbtypes.h.

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

Definition at line 1234 of file gdbtypes.h.

Referenced by process_structure_scope(), and recursively_update_typedef_hash().

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

Definition at line 1232 of file gdbtypes.h.

Referenced by process_structure_scope().

#define TYPE_TYPEDEF_FIELD_COUNT (   thistype)    TYPE_CPLUS_SPECIFIC (thistype)->typedef_field_count
#define TYPE_TYPEDEF_FIELD_NAME (   thistype,
 
)    TYPE_TYPEDEF_FIELD (thistype, n).name

Definition at line 1236 of file gdbtypes.h.

Referenced by c_type_print_base().

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

Definition at line 1238 of file gdbtypes.h.

Referenced by c_type_print_base().

#define TYPE_UNSIGNED (   t)    (TYPE_MAIN_TYPE (t)->flag_unsigned)
#define TYPE_VARARGS (   t)    (TYPE_MAIN_TYPE (t)->flag_varargs)
#define TYPE_VECTOR (   t)    (TYPE_MAIN_TYPE (t)->flag_vector)
#define TYPE_VPTR_BASETYPE (   thistype)    TYPE_MAIN_TYPE(thistype)->vptr_basetype
#define TYPE_VPTR_FIELDNO (   thistype)    TYPE_MAIN_TYPE(thistype)->vptr_fieldno
#define TYPE_ZALLOC (   t,
  size 
)
#define VOFFSET_STATIC   1

Definition at line 859 of file gdbtypes.h.

Referenced by dwarf2_add_member_fn(), and read_member_functions().


Enumeration Type Documentation

Enumerator:
CALL_SITE_PARAMETER_DWARF_REG 
CALL_SITE_PARAMETER_FB_OFFSET 
CALL_SITE_PARAMETER_PARAM_OFFSET 

Definition at line 934 of file gdbtypes.h.

Enumerator:
FIELD_LOC_KIND_BITPOS 
FIELD_LOC_KIND_ENUMVAL 
FIELD_LOC_KIND_PHYSADDR 
FIELD_LOC_KIND_PHYSNAME 
FIELD_LOC_KIND_DWARF_BLOCK 

Definition at line 370 of file gdbtypes.h.

enum type_code
Enumerator:
TYPE_CODE_BITSTRING 
TYPE_CODE_UNDEF 
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_CHAR 
TYPE_CODE_BOOL 
TYPE_CODE_COMPLEX 
TYPE_CODE_TYPEDEF 
TYPE_CODE_NAMESPACE 
TYPE_CODE_DECFLOAT 
TYPE_CODE_MODULE 
TYPE_CODE_INTERNAL_FUNCTION 

Definition at line 59 of file gdbtypes.h.

Enumerator:
TYPE_FLAG_UNSIGNED 
TYPE_FLAG_NOSIGN 
TYPE_FLAG_STUB 
TYPE_FLAG_TARGET_STUB 
TYPE_FLAG_STATIC 
TYPE_FLAG_PROTOTYPED 
TYPE_FLAG_INCOMPLETE 
TYPE_FLAG_VARARGS 
TYPE_FLAG_VECTOR 
TYPE_FLAG_FIXED_INSTANCE 
TYPE_FLAG_STUB_SUPPORTED 
TYPE_FLAG_GNU_IFUNC 
TYPE_FLAG_MIN 

Definition at line 170 of file gdbtypes.h.

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 

Definition at line 192 of file gdbtypes.h.

Enumerator:
TYPE_SPECIFIC_NONE 
TYPE_SPECIFIC_CPLUS_STUFF 
TYPE_SPECIFIC_GNAT_STUFF 
TYPE_SPECIFIC_FLOATFORMAT 
TYPE_SPECIFIC_FUNC 

Definition at line 390 of file gdbtypes.h.


Function Documentation

const char* address_space_int_to_name ( struct gdbarch ,
int   
)
int address_space_name_to_int ( struct gdbarch ,
char *   
)
struct type* alloc_type ( struct objfile ) [read]
struct type* alloc_type_arch ( struct gdbarch ) [read]
struct type* alloc_type_copy ( const struct type ) [read]
void allocate_cplus_struct_type ( struct type )
void allocate_gnat_aux_type ( struct type )
struct type* allocate_stub_method ( struct type ) [read]

Definition at line 771 of file gdbtypes.c.

References alloc_type_copy(), type, TYPE_CODE, TYPE_CODE_METHOD, TYPE_LENGTH, TYPE_STUB, and TYPE_TARGET_TYPE.

Referenced by read_type().

void append_composite_type_field ( struct type t,
char *  name,
struct type field 
)
void append_composite_type_field_aligned ( struct type t,
char *  name,
struct type field,
int  alignment 
)
struct field* append_composite_type_field_raw ( struct type t,
char *  name,
struct type field 
) [read]
void append_flags_type_flag ( struct type type,
int  bitpos,
char *  name 
)
struct type* arch_boolean_type ( struct gdbarch ,
int  ,
int  ,
char *   
) [read]
struct type* arch_character_type ( struct gdbarch ,
int  ,
int  ,
char *   
) [read]
struct type* arch_complex_type ( struct gdbarch ,
char *  ,
struct type  
) [read]
struct type* arch_composite_type ( struct gdbarch gdbarch,
char *  name,
enum type_code  code 
) [read]
struct type* arch_flags_type ( struct gdbarch gdbarch,
char *  name,
int  length 
) [read]
struct type* arch_float_type ( struct gdbarch ,
int  ,
char *  ,
const struct floatformat **   
) [read]
struct type* arch_integer_type ( struct gdbarch ,
int  ,
int  ,
char *   
) [read]
struct type* arch_type ( struct gdbarch ,
enum  type_code,
int  ,
char *   
) [read]
struct builtin_type* builtin_type ( struct gdbarch gdbarch) [read]

Definition at line 3812 of file gdbtypes.c.

References gdbarch_data().

Referenced by aarch64_push_dummy_call(), aarch64_vnb_type(), aarch64_vnd_type(), aarch64_vnh_type(), aarch64_vnq_type(), aarch64_vns_type(), ada_language_arch_info(), ada_tag_value_at_base_address(), ada_tasks_inferior_data_sniffer(), ada_val_print_1(), alpha_push_dummy_call(), alpha_register_type(), alpha_store_return_value(), amd64_x32_pseudo_register_type(), arm_neon_double_type(), arm_neon_quad_type(), arm_register_type(), assign_component(), avr_register_type(), bfin_register_type(), binop_promote(), bsd_uthread_read_memory_address(), build_gdb_vtable_type(), build_std_type_info_type(), c_language_arch_info(), call_function_by_hand(), call_site_to_target_addr(), compile_probe_arg(), cplus_language_arch_info(), cris_register_type(), crisv32_register_type(), darwin_current_sos(), darwin_load_image_infos(), darwin_read_exec_load_addr(), do_examine(), dwarf_get_base_type(), elf_gnu_ifunc_resolve_addr(), elf_gnu_ifunc_resolve_by_got(), elf_gnu_ifunc_resolver_return_stop(), elf_locate_base(), elf_rel_plt_read(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), find_command(), float_type_from_length(), frv_register_type(), gdb_update_mem(), gdbtypes_post_init(), gen_expr(), gen_expr_binop_rest(), gen_integral_promotions(), get_running_thread_id(), get_signed_type(), get_unsigned_type(), gnuv3_baseclass_offset(), gnuv3_decode_method_ptr(), h8300_register_type(), handle_stap_probe(), hppa32_convert_from_func_ptr_addr(), hppa32_register_type(), hppa64_register_type(), hppa_skip_trampoline_code(), i386_mmx_type(), i386_pseudo_register_type(), i386_ymm_type(), ia64_hpux_get_load_info_addr(), ia64_register_type(), iq2000_register_type(), jit_read_code_entry(), jit_read_descriptor(), ld_so_xfer_auxv(), lm32_push_dummy_call(), lm32_register_type(), lm_addr(), lm_info_read(), lookup_array_range_type(), lookup_child_selector(), lookup_objc_class(), m32r_register_type(), m68hc11_register_type(), m68k_register_type(), m88k_register_type(), mep_register_type(), mi_cmd_data_read_memory(), microblaze_register_type(), mips_pseudo_register_type(), mips_register_type(), mn10300_register_type(), moxie_register_type(), msp430_register_type(), msp430x_register_type(), mt_copro_register_type(), mt_register_type(), nios2_register_type(), open_symbol_file_object(), parse_c_float(), parse_go_float(), pascal_language_arch_info(), print_scalar_formatted(), printf_decfloat(), proc_watchpoint_address(), processInt(), procfs_can_use_hw_breakpoint(), resolve(), resolve_msgsend(), resolve_msgsend_stret(), resolve_msgsend_super(), resolve_msgsend_super_stret(), rs6000_aix_extract_ld_info(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), rs6000_pseudo_register_type(), rx_register_type(), s390_pseudo_register_type(), safe_parse_type(), scan_dyntag(), score_register_type(), set_next_address(), sh64_register_type(), sh_default_register_type(), sh_sh2a_register_type(), sh_sh3e_register_type(), sh_sh4_register_type(), solib_svr4_r_brk(), solib_svr4_r_ldsomap(), solib_svr4_r_map(), sparc32_register_type(), sparc64_register_type(), spu_builtin_type_vec128(), spu_register_type(), stap_get_expected_argument_type(), stap_modify_semaphore(), tdesc_gdb_type(), tdesc_register_type(), tic6x_register_type(), tilegx_register_type(), unknown_language_arch_info(), unop_promote(), v850_register_type(), value_arg_coerce(), value_get_print_value(), value_nsstring(), value_of_builtin_frame_fp_reg(), value_of_builtin_frame_pc_reg(), vax_register_type(), xstormy16_register_type(), xtensa_push_dummy_call(), and xtensa_register_type().

int can_dereference ( struct type )

Definition at line 2022 of file gdbtypes.c.

References CHECK_TYPEDEF, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_VOID, and TYPE_TARGET_TYPE.

Referenced by print_value_flags().

void check_stub_method_group ( struct type ,
int   
)
struct type* check_typedef ( struct type ) [read]

Definition at line 1523 of file gdbtypes.c.

References alloc_type_arch(), check_typedef(), currently_reading_symtab, gdb_assert, get_type_arch(), type::instance_flags, len, LONGEST, lookup_symbol(), lookup_transparent_type(), make_qualified_type(), name, opaque_type_resolution, STRUCT_DOMAIN, stub_noname_complaint(), SYMBOL_TYPE, type, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_RANGE, TYPE_CODE_TYPEDEF, TYPE_HIGH_BOUND, TYPE_INDEX_TYPE, TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, TYPE_INSTANCE_FLAG_CODE_SPACE, TYPE_INSTANCE_FLAG_DATA_SPACE, TYPE_INSTANCE_FLAGS, TYPE_IS_OPAQUE, TYPE_LENGTH, TYPE_LOW_BOUND, type_name_no_tag(), TYPE_NFIELDS, TYPE_OBJFILE, TYPE_STUB, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, and ULONGEST.

Referenced by aarch64_extract_return_value(), aarch64_push_dummy_call(), aarch64_store_return_value(), aarch64_type_align(), ada_get_field_index(), ada_tasks_inferior_data_sniffer(), ada_val_print_1(), adjust_value_for_child_access(), alignment_of(), allocate_value_lazy(), alpha_push_dummy_call(), amd64_classify_aggregate(), arm_push_dummy_call(), arm_return_in_memory(), arm_type_align(), arm_vfp_abi_for_function(), arm_vfp_cprc_sub_candidate(), avr_push_dummy_call(), bfin_push_dummy_call(), binop_promote(), binop_types_user_defined_p(), c_get_string(), c_textual_element_type(), c_val_print(), c_value_of_variable(), c_value_print(), call_function_by_hand(), can_use_hardware_watchpoint(), check_condition(), check_parameter_typelist(), check_typedef(), classify_inner_name(), classify_type(), coerce_array(), coerce_ref(), coerce_ref_if_computed(), collect_symbol(), compute_vtable_size(), convert_char_literal(), cp_find_class_member(), cp_print_value(), create_range_type(), create_value(), decimal_from_integral(), default_read_var_value(), do_ppc_sysv_return_value(), do_search_struct_field(), dynamic_array_type(), encode_actions_1(), entry_data_value_coerce_ref(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), extend_simple_arg(), f77_get_dynamic_length_of_aggregate(), f_val_print(), find_function_addr(), find_method(), find_overload_match(), find_size_for_pointer_math(), fp_register_arg_p(), frv_push_dummy_call(), gen_bitfield_ref(), gen_cast(), gen_deref(), gen_expr(), gen_expr_binop_rest(), gen_int_literal(), gen_struct_ref(), gen_struct_ref_recursive(), gen_trace_static_fields(), gen_traced_pop(), gen_usual_arithmetic(), gen_var_ref(), generic_val_print(), get_internalvar_integer(), get_symbol_field_type(), get_target_type(), get_type(), get_value_at(), get_value_type(), get_vptr_fieldno(), gnuv2_baseclass_offset(), gnuv2_virtual_fn_field(), gnuv3_get_typeid(), gnuv3_get_vtable(), gnuv3_method_ptr_to_value(), gnuv3_pass_by_reference(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), hash_typedef_field(), hppa32_push_dummy_call(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), ia64_push_dummy_call(), indirect_pieced_value(), inspect_type(), is_float_or_hfa_type_recurse(), is_hfa(), is_object_type(), is_scalar_type_recursive(), is_unique_ancestor_worker(), java_print_value_fields(), java_val_print(), list_arg_or_local(), list_args_or_locals(), lm32_push_dummy_call(), lookup_function_type_with_arguments(), lookup_symbol_file(), lval_func_check_any_valid(), lval_func_check_synthetic_pointer(), lval_func_check_validity(), lval_func_read(), lval_func_write(), m2_val_print(), m68k_svr4_return_value(), m88k_8_byte_align_p(), make_params(), make_symbol_overload_list_adl_namespace(), mi_print_value_p(), mips_eabi_push_dummy_call(), mips_eabi_return_value(), mips_n32n64_fp_arg_chunk_p(), mips_n32n64_push_dummy_call(), mips_n32n64_return_value(), mips_o32_push_dummy_call(), mips_o64_push_dummy_call(), mn10300_type_align(), mn10300_use_struct_convention(), msp430_push_dummy_call(), nios2_push_dummy_call(), opencl_component_ref(), opencl_logical_not(), opencl_relop(), opencl_value_cast(), pack_long(), pack_unsigned_long(), pascal_object_print_value(), pascal_printstr(), pascal_val_print(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), print_formatted(), print_one_vtable(), print_symbol(), print_unpacked_pointer(), print_variable_at_address(), print_variable_or_computed(), ptrmath_type_p(), py_print_type(), py_print_value(), rank_one_type(), read_frame_register_value(), read_one_struct_field(), read_subrange_type(), read_tag_ptr_to_member_type(), require_rvalue(), resolve_subexp(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), rx_push_dummy_call(), s390_push_dummy_call(), s390_return_value(), s390_value_from_register(), scalar_binop(), scope_info(), score_push_dummy_call(), search_struct_method(), set_internalvar(), sh_is_renesas_calling_convention(), slot_alignment_is_next_even(), sparc32_struct_return_from_sym(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), spu_push_dummy_call(), spu_return_value(), tic6x_arg_type_alignment(), tic6x_push_dummy_call(), tlb_value_read(), type_from_class(), typecmp(), types_equal(), typy_get_sizeof(), typy_strip_typedefs(), typy_template_argument(), unop_promote(), unop_user_defined_p(), unpack_long(), update_watchpoint(), v850_eight_byte_align_p(), val_print(), val_print_array_elements(), val_print_packed_array_elements(), value_actual_type(), value_addr(), value_arg_coerce(), value_args_as_decimal(), value_binop(), value_cast(), value_cast_pointers(), value_cast_structs(), value_coerce_array(), value_coerce_to_target(), value_complement(), value_concat(), value_contents_equal(), value_dynamic_cast(), value_equal(), value_equal_contents(), value_f90_subarray(), value_fetch_lazy(), value_find_oload_method_list(), value_from_double(), value_from_pointer(), value_from_register(), value_in(), value_ind(), value_less(), value_logical_not(), value_must_coerce_to_target(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_pos(), value_primitive_field(), value_ptradd(), value_ptrdiff(), value_ref(), value_reinterpret_cast(), value_rtti_indirect_type(), value_slice(), value_struct_element_index(), value_struct_elt(), value_subscript(), value_subscripted_rvalue(), value_vector_widen(), value_x_binop(), value_x_unop(), vector_binop(), vector_relop(), watch_command_1(), and xtensa_push_dummy_call().

int class_types_same_p ( const struct type ,
const struct type  
)
int compare_badness ( struct badness_vector ,
struct badness_vector  
)

Definition at line 2300 of file gdbtypes.c.

References compare_ranks(), badness_vector::length, and badness_vector::rank.

Referenced by find_oload_champ(), and find_overload_match().

int compare_ranks ( struct rank  a,
struct rank  b 
)

Definition at line 2272 of file gdbtypes.c.

References rank::rank, and rank::subrank.

Referenced by classify_oload_match(), compare_badness(), and compare_parameters().

struct type* copy_type ( const struct type type) [read]
struct type* copy_type_recursive ( struct objfile objfile,
struct type type,
htab_t  copied_types 
) [read]
struct type* create_array_type ( struct type ,
struct type ,
struct type  
) [read]
htab_t create_copied_types_hash ( struct objfile objfile)
struct type* create_range_type ( struct type ,
struct type ,
LONGEST  ,
LONGEST   
) [read]
struct type* create_set_type ( struct type ,
struct type  
) [read]
struct type* create_string_type ( struct type ,
struct type ,
struct type  
) [read]

Definition at line 1002 of file gdbtypes.c.

References create_array_type(), TYPE_CODE, and TYPE_CODE_STRING.

Referenced by read_tag_string_type().

int field_is_static ( struct field *  )
char* gdb_mangle_name ( struct type ,
int  ,
int   
)
int get_array_bounds ( struct type type,
LONGEST low_bound,
LONGEST high_bound 
)
int get_discrete_bounds ( struct type ,
LONGEST ,
LONGEST  
)
struct gdbarch* get_type_arch ( const struct type ) [read]

Definition at line 234 of file gdbtypes.c.

References get_objfile_arch(), TYPE_OBJFILE_OWNED, and TYPE_OWNER.

Referenced by ada_val_print_1(), ada_val_print_array(), ada_value_assign(), ada_value_binop(), ada_value_primitive_packed_val(), add_class_symbol(), c_emit_char(), c_get_string(), c_printchar(), c_printstr(), c_type_print_modifier(), c_val_print(), check_stub_method(), check_typedef(), copy_type_recursive(), cp_print_class_member(), cp_print_value_fields(), decode_constrained_packed_array(), default_print_one_register_info(), default_read_var_value(), extract_typed_address(), f_get_encoding(), f_val_print(), find_function_addr(), float_type_from_length(), floatformat_from_type(), generic_emit_char(), generic_printstr(), generic_val_print(), gnuv3_baseclass_offset(), gnuv3_get_typeid(), gnuv3_get_typename_from_type_info(), gnuv3_make_method_ptr(), gnuv3_method_ptr_size(), gnuv3_method_ptr_to_value(), gnuv3_print_method_ptr(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), java_get_encoding(), java_val_print(), java_value_print(), lookup_array_range_type(), m2_val_print(), make_pointer_type(), make_reference_type(), modify_field(), pack_long(), pack_unsigned_long(), pascal_printstr(), pascal_val_print(), print_decimal_floating(), print_formatted(), print_go_string(), print_scalar_formatted(), print_unpacked_pointer(), print_variable_at_address(), printf_decfloat(), printf_wide_c_string(), printstr(), read_pieced_value(), scalar_binop(), smash_to_memberptr_type(), store_typed_address(), ui_printf(), unpack_double(), unpack_long(), unpack_value_bits_as_long_1(), update_watchpoint(), val_print_string(), val_print_type_code_int(), value_args_as_decimal(), value_as_address(), value_assign(), value_assign_to_component(), value_bit_index(), value_cast(), value_fetch_lazy(), value_get_print_value(), value_logical_not(), value_neg(), value_one(), value_pointer(), value_x_unop(), and write_pieced_value().

int get_vptr_fieldno ( struct type ,
struct type **   
)
struct type* init_type ( enum  type_code,
int  ,
int  ,
const char *  ,
struct objfile  
) [read]
struct type* init_vector_type ( struct type elt_type,
int  n 
) [read]
int is_ancestor ( struct type ,
struct type  
)

Definition at line 2173 of file gdbtypes.c.

References distance_to_ancestor().

Referenced by value_dynamic_cast().

int is_integral_type ( struct type )
int is_public_ancestor ( struct type ,
struct type  
)

Definition at line 2182 of file gdbtypes.c.

References distance_to_ancestor().

Referenced by value_dynamic_cast().

int is_unique_ancestor ( struct type ,
struct value  
)
struct type* lookup_array_range_type ( struct type ,
LONGEST  ,
LONGEST   
) [read]
struct type* lookup_function_type ( struct type ) [read]
struct type* lookup_function_type_with_arguments ( struct type ,
int  ,
struct type **   
) [read]
struct type* lookup_memberptr_type ( struct type ,
struct type  
) [read]

Definition at line 743 of file gdbtypes.c.

References alloc_type_copy(), and smash_to_memberptr_type().

Referenced by read_tag_ptr_to_member_type().

struct type* lookup_methodptr_type ( struct type ) [read]

Definition at line 755 of file gdbtypes.c.

References alloc_type_copy(), and smash_to_methodptr_type().

Referenced by read_tag_ptr_to_member_type().

struct type* lookup_pointer_type ( struct type ) [read]
struct type* lookup_reference_type ( struct type ) [read]
struct type* lookup_signed_typename ( const struct language_defn ,
struct gdbarch ,
const char *   
) [read]

Definition at line 1231 of file gdbtypes.c.

References lookup_typename().

Referenced by binop_promote().

struct type* lookup_string_range_type ( struct type ,
LONGEST  ,
LONGEST   
) [read]

Definition at line 1014 of file gdbtypes.c.

References lookup_array_range_type(), TYPE_CODE, and TYPE_CODE_STRING.

Referenced by value_string().

struct type* lookup_struct_elt_type ( struct type ,
const char *  ,
int   
) [read]
struct type* lookup_template_type ( char *  ,
struct type ,
const struct block  
) [read]

Definition at line 1317 of file gdbtypes.c.

References _, error(), lookup_symbol(), SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_NAME, and VAR_DOMAIN.

struct type* lookup_typename ( const struct language_defn ,
struct gdbarch ,
const char *  ,
const struct block ,
int   
) [read]
struct type* lookup_unsigned_typename ( const struct language_defn ,
struct gdbarch ,
const char *   
) [read]

Definition at line 1220 of file gdbtypes.c.

References lookup_typename().

Referenced by binop_promote().

void maintenance_print_type ( char *  ,
int   
)
struct type* make_cv_type ( int  ,
int  ,
struct type ,
struct type **   
) [read]
struct type* make_function_type ( struct type ,
struct type **   
) [read]
struct type* make_pointer_type ( struct type ,
struct type **   
) [read]
struct type* make_reference_type ( struct type ,
struct type **   
) [read]
struct type* make_restrict_type ( struct type ) [read]
struct type* make_type_with_address_space ( struct type type,
int  space_identifier 
) [read]
void make_vector_type ( struct type array_type)
struct objfile_type* objfile_type ( struct objfile objfile) [read]

Definition at line 3951 of file gdbtypes.c.

References objfile_type::builtin_char, objfile_type::builtin_core_addr, objfile_type::builtin_double, objfile_type::builtin_error, objfile_type::builtin_float, objfile_type::builtin_int, objfile_type::builtin_long, objfile_type::builtin_long_double, objfile_type::builtin_long_long, objfile_type::builtin_short, objfile_type::builtin_signed_char, objfile_type::builtin_unsigned_char, objfile_type::builtin_unsigned_int, objfile_type::builtin_unsigned_long, objfile_type::builtin_unsigned_long_long, objfile_type::builtin_unsigned_short, objfile_type::builtin_void, gdbarch_addr_bit(), gdbarch_char_signed(), gdbarch_double_bit(), gdbarch_double_format(), gdbarch_float_bit(), gdbarch_float_format(), gdbarch_int_bit(), gdbarch_long_bit(), gdbarch_long_double_bit(), gdbarch_long_double_format(), gdbarch_long_long_bit(), gdbarch_short_bit(), get_objfile_arch(), HOST_CHAR_BIT, init_type(), objfile_type::nodebug_data_symbol, objfile_type::nodebug_got_plt_symbol, objfile_type::nodebug_text_gnu_ifunc_symbol, objfile_type::nodebug_text_symbol, objfile_type::nodebug_tls_symbol, objfile_type::nodebug_unknown_symbol, objfile::objfile_obstack, objfile_type(), objfile_type_data, OBSTACK_CALLOC, TYPE_CODE_ERROR, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_CODE_VOID, TYPE_FLAG_GNU_IFUNC, TYPE_FLAG_NOSIGN, TYPE_FLAG_UNSIGNED, TYPE_FLOATFORMAT, and TYPE_TARGET_TYPE.

Referenced by basic_type(), dbx_lookup_type(), decode_base_type(), decode_type(), define_symbol(), die_type(), error_type(), flush_ea_cache(), new_symbol_full(), objfile_type(), parse_procedure(), parse_symbol(), process_xcoff_symbol(), psymtab_to_symtab_1(), read_array_type(), read_range_type(), read_subrange_type(), read_subroutine_type(), read_tag_string_type(), rs6000_builtin_type(), and upgrade_type().

void print_scalar_formatted ( const void *  ,
struct type ,
const struct value_print_options ,
int  ,
struct ui_file  
)
struct badness_vector* rank_function ( struct type **  ,
int  ,
struct value **  ,
int   
) [read]
struct rank rank_one_type ( struct type ,
struct type ,
struct value  
) [read]
void recursive_dump_type ( struct type ,
int   
)

Definition at line 3051 of file gdbtypes.c.

References _, dont_print_type_obstack, gdb_print_host_address(), gdb_stdout, HAVE_CPLUS_STRUCT, name, plongest(), print_cplus_stuff(), print_gnat_stuff(), printf_filtered(), printfi_filtered(), puts_filtered(), recursive_dump_type(), TYPE_ADDRESS_CLASS_1, TYPE_ADDRESS_CLASS_2, TYPE_CALLING_CONVENTION, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_COMPLEX, TYPE_CODE_ENUM, TYPE_CODE_ERROR, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_CODE_NAMESPACE, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_SPACE, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_CONST, TYPE_CPLUS_SPECIFIC, TYPE_DATA_SPACE, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_ENUMVAL, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FIXED_INSTANCE, TYPE_FLOATFORMAT, TYPE_GNAT_SPECIFIC, TYPE_HIGH_BOUND, TYPE_HIGH_BOUND_UNDEFINED, TYPE_INCOMPLETE, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_LOW_BOUND, TYPE_LOW_BOUND_UNDEFINED, TYPE_NAME, TYPE_NFIELDS, TYPE_NFN_FIELDS, TYPE_NOSIGN, TYPE_NOTTEXT, TYPE_OBJFILE_OWNED, TYPE_OWNER, TYPE_POINTER_TYPE, TYPE_PROTOTYPED, TYPE_REFERENCE_TYPE, TYPE_RESTRICT, TYPE_SPECIFIC_CPLUS_STUFF, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FLOATFORMAT, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_GNAT_STUFF, TYPE_STATIC, TYPE_STUB, TYPE_STUB_SUPPORTED, TYPE_TAG_NAME, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, TYPE_UNSIGNED, TYPE_VARARGS, TYPE_VECTOR, TYPE_VOLATILE, TYPE_VPTR_BASETYPE, and TYPE_VPTR_FIELDNO.

Referenced by dump_fn_fieldlists(), maintenance_print_type(), print_arg_types(), print_gnat_stuff(), and recursive_dump_type().

void replace_type ( struct type ,
struct type  
)
void smash_to_memberptr_type ( struct type ,
struct type ,
struct type  
)
void smash_to_method_type ( struct type type,
struct type domain,
struct type to_type,
struct field *  args,
int  nargs,
int  varargs 
)
void smash_to_methodptr_type ( struct type ,
struct type  
)
struct rank sum_ranks ( struct rank  a,
struct rank  b 
) [read]

Definition at line 2258 of file gdbtypes.c.

References rank::rank, and rank::subrank.

Referenced by rank_one_type().

const char* type_name_no_tag ( const struct type )
const char* type_name_no_tag_or_error ( struct type type)
int types_equal ( struct type ,
struct type  
)

Variable Documentation

Definition at line 59 of file gdbtypes.c.

Definition at line 53 of file gdbtypes.c.

Definition at line 58 of file gdbtypes.c.

Referenced by rank_one_type().

Definition at line 1922 of file gdbtypes.c.

Definition at line 49 of file gdbtypes.c.

Referenced by compare_parameters(), and rank_one_type().

Definition at line 55 of file gdbtypes.c.

Referenced by rank_one_type().

Definition at line 52 of file gdbtypes.c.

Referenced by rank_one_type().

struct floatformat* floatformats_arm_ext[BFD_ENDIAN_UNKNOWN]

Definition at line 90 of file gdbtypes.c.

Referenced by arm_ext_type(), and tdesc_gdb_type().

struct floatformat* floatformats_i387_ext[BFD_ENDIAN_UNKNOWN]

Definition at line 82 of file gdbtypes.c.

Referenced by i386_gdbarch_init(), ia64_gdbarch_init(), and tdesc_gdb_type().

struct floatformat* floatformats_ia64_quad[BFD_ENDIAN_UNKNOWN]
struct floatformat* floatformats_ia64_spill[BFD_ENDIAN_UNKNOWN]

Definition at line 94 of file gdbtypes.c.

struct floatformat* floatformats_ibm_long_double[BFD_ENDIAN_UNKNOWN]
struct floatformat* floatformats_ieee_double[BFD_ENDIAN_UNKNOWN]
struct floatformat* floatformats_ieee_double_littlebyte_bigword[BFD_ENDIAN_UNKNOWN]

Definition at line 78 of file gdbtypes.c.

Referenced by arm_gdbarch_init().

struct floatformat* floatformats_ieee_half[BFD_ENDIAN_UNKNOWN]

Definition at line 66 of file gdbtypes.c.

Referenced by build_opencl_types(), and verify_gdbarch().

struct floatformat* floatformats_ieee_single[BFD_ENDIAN_UNKNOWN]
struct floatformat* floatformats_m68881_ext[BFD_ENDIAN_UNKNOWN]

Definition at line 86 of file gdbtypes.c.

Referenced by m68881_ext_type(), and m68k_gdbarch_init().

struct floatformat* floatformats_vax_d[BFD_ENDIAN_UNKNOWN]

Definition at line 106 of file gdbtypes.c.

Referenced by vax_gdbarch_init().

struct floatformat* floatformats_vax_f[BFD_ENDIAN_UNKNOWN]

Definition at line 102 of file gdbtypes.c.

Referenced by vax_gdbarch_init().

Definition at line 1937 of file gdbtypes.c.

Definition at line 47 of file gdbtypes.c.

Referenced by classify_oload_match(), and rank_one_type().

Definition at line 56 of file gdbtypes.c.

Referenced by rank_one_type().

Definition at line 54 of file gdbtypes.c.

Referenced by rank_one_type().

Definition at line 51 of file gdbtypes.c.

Referenced by rank_one_type().

Definition at line 44 of file gdbtypes.c.

Definition at line 63 of file gdbtypes.c.

Referenced by rank_one_type().

Definition at line 62 of file gdbtypes.c.

Referenced by classify_oload_match(), and rank_one_type().

Definition at line 60 of file gdbtypes.c.

Referenced by rank_one_type().

Definition at line 46 of file gdbtypes.c.

Definition at line 57 of file gdbtypes.c.

Referenced by rank_one_type().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines