GDB (xrefs)
|
#include "hashtab.h"
Go to the source code of this file.
Classes | |
struct | cu_offset |
struct | sect_offset |
union | dynamic_prop_data |
struct | dynamic_prop |
struct | dynamic_prop_list |
union | type_owner |
union | field_location |
struct | field |
struct | range_bounds |
union | type_specific |
struct | main_type |
struct | type |
struct | fn_fieldlist |
struct | fn_field |
struct | typedef_field |
struct | cplus_struct_type |
struct | rank |
struct | badness_vector |
struct | gnat_aux_type |
struct | func_type |
struct | call_site_target |
union | call_site_parameter_u |
struct | call_site_parameter |
struct | call_site |
struct | builtin_type |
struct | objfile_type |
Macros | |
#define | B_SET(a, x) ((a)[(x)>>3] |= (1 << ((x)&7))) |
#define | B_CLR(a, x) ((a)[(x)>>3] &= ~(1 << ((x)&7))) |
#define | B_TST(a, x) ((a)[(x)>>3] & (1 << ((x)&7))) |
#define | B_TYPE unsigned char |
#define | B_BYTES(x) ( 1 + ((x)>>3) ) |
#define | B_CLRALL(a, x) memset ((a), 0, B_BYTES(x)) |
#define | TYPE_UNSIGNED(t) (TYPE_MAIN_TYPE (t)->flag_unsigned) |
#define | TYPE_NOSIGN(t) (TYPE_MAIN_TYPE (t)->flag_nosign) |
#define | TYPE_STUB(t) (TYPE_MAIN_TYPE (t)->flag_stub) |
#define | TYPE_TARGET_STUB(t) (TYPE_MAIN_TYPE (t)->flag_target_stub) |
#define | TYPE_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_ATOMIC(t) (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_ATOMIC) |
#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.data.const_val |
#define | TYPE_HIGH_BOUND(range_type) TYPE_RANGE_DATA(range_type)->high.data.const_val |
#define | TYPE_LOW_BOUND_UNDEFINED(range_type) (TYPE_RANGE_DATA(range_type)->low.kind == PROP_UNDEFINED) |
#define | TYPE_HIGH_BOUND_UNDEFINED(range_type) (TYPE_RANGE_DATA(range_type)->high.kind == PROP_UNDEFINED) |
#define | TYPE_HIGH_BOUND_KIND(range_type) TYPE_RANGE_DATA(range_type)->high.kind |
#define | TYPE_LOW_BOUND_KIND(range_type) TYPE_RANGE_DATA(range_type)->low.kind |
#define | TYPE_DATA_LOCATION(thistype) get_dyn_prop (DYN_PROP_DATA_LOCATION, thistype) |
#define | TYPE_DATA_LOCATION_BATON(thistype) TYPE_DATA_LOCATION (thistype)->data.baton |
#define | TYPE_DATA_LOCATION_ADDR(thistype) TYPE_DATA_LOCATION (thistype)->data.const_val |
#define | TYPE_DATA_LOCATION_KIND(thistype) TYPE_DATA_LOCATION (thistype)->kind |
#define | TYPE_DYN_PROP_LIST(thistype) TYPE_MAIN_TYPE(thistype)->dyn_prop_list |
#define | TYPE_DYN_PROP_BATON(dynprop) dynprop->data.baton |
#define | TYPE_DYN_PROP_ADDR(dynprop) dynprop->data.const_val |
#define | TYPE_DYN_PROP_KIND(dynprop) dynprop->kind |
#define | TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED(arraytype) TYPE_HIGH_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
#define | TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED(arraytype) TYPE_LOW_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
#define | TYPE_ARRAY_UPPER_BOUND_VALUE(arraytype) (TYPE_HIGH_BOUND(TYPE_INDEX_TYPE((arraytype)))) |
#define | TYPE_ARRAY_LOWER_BOUND_VALUE(arraytype) (TYPE_LOW_BOUND(TYPE_INDEX_TYPE((arraytype)))) |
#define | TYPE_SELF_TYPE(thistype) internal_type_self_type (thistype) |
#define | TYPE_VPTR_FIELDNO(thistype) internal_type_vptr_fieldno (thistype) |
#define | TYPE_VPTR_BASETYPE(thistype) internal_type_vptr_basetype (thistype) |
#define | TYPE_NFN_FIELDS(thistype) TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields |
#define | TYPE_SPECIFIC_FIELD(thistype) TYPE_MAIN_TYPE(thistype)->type_specific_field |
#define | TYPE_CPLUS_SPECIFIC(thistype) |
#define | TYPE_RAW_CPLUS_SPECIFIC(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.cplus_stuff |
#define | TYPE_FLOATFORMAT(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.floatformat |
#define | TYPE_GNAT_SPECIFIC(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.gnat_stuff |
#define | TYPE_DESCRIPTIVE_TYPE(thistype) TYPE_GNAT_SPECIFIC(thistype)->descriptive_type |
#define | TYPE_CALLING_CONVENTION(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->calling_convention |
#define | TYPE_NO_RETURN(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->is_noreturn |
#define | TYPE_TAIL_CALL_LIST(thistype) TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->tail_call_list |
#define | TYPE_BASECLASS(thistype, index) TYPE_FIELD_TYPE(thistype, index) |
#define | TYPE_N_BASECLASSES(thistype) TYPE_CPLUS_SPECIFIC(thistype)->n_baseclasses |
#define | TYPE_BASECLASS_NAME(thistype, index) TYPE_FIELD_NAME(thistype, index) |
#define | TYPE_BASECLASS_BITPOS(thistype, index) TYPE_FIELD_BITPOS(thistype,index) |
#define | BASETYPE_VIA_PUBLIC(thistype, index) ((!TYPE_FIELD_PRIVATE(thistype, index)) && (!TYPE_FIELD_PROTECTED(thistype, index))) |
#define | TYPE_CPLUS_DYNAMIC(thistype) TYPE_CPLUS_SPECIFIC (thistype)->is_dynamic |
#define | 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]) |
#define ALLOCATE_CPLUS_STRUCT_TYPE | ( | type | ) | allocate_cplus_struct_type (type) |
Definition at line 1200 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), dwarf2_attach_fn_fields_to_type(), gnuv3_dynamic_class(), process_structure_scope(), read_baseclasses(), read_member_functions(), set_type_vptr_basetype(), set_type_vptr_fieldno(), and type_from_class().
#define ALLOCATE_GNAT_AUX_TYPE | ( | type | ) | allocate_gnat_aux_type (type) |
Definition at line 1213 of file gdbtypes.h.
Referenced by set_descriptive_type().
#define B_BYTES | ( | x | ) | ( 1 + ((x)>>3) ) |
Definition at line 79 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), java_link_class_type(), and read_baseclasses().
#define B_CLR | ( | a, | |
x | |||
) | ((a)[(x)>>3] &= ~(1 << ((x)&7))) |
Definition at line 76 of file gdbtypes.h.
#define B_CLRALL | ( | a, | |
x | |||
) | memset ((a), 0, B_BYTES(x)) |
Definition at line 80 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), java_link_class_type(), and read_baseclasses().
#define B_SET | ( | a, | |
x | |||
) | ((a)[(x)>>3] |= (1 << ((x)&7))) |
Definition at line 75 of file gdbtypes.h.
#define B_TST | ( | a, | |
x | |||
) | ((a)[(x)>>3] & (1 << ((x)&7))) |
Definition at line 77 of file gdbtypes.h.
Referenced by print_bit_vector().
#define B_TYPE unsigned char |
Definition at line 78 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), java_link_class_type(), and read_baseclasses().
#define BASETYPE_VIA_PUBLIC | ( | thistype, | |
index | |||
) | ((!TYPE_FIELD_PRIVATE(thistype, index)) && (!TYPE_FIELD_PROTECTED(thistype, index))) |
Definition at line 1330 of file gdbtypes.h.
Referenced by cp_type_print_derivation_info(), distance_to_ancestor(), dynamic_cast_check_2(), make_symbol_overload_list_adl_namespace(), and pascal_type_print_derivation_info().
#define BASETYPE_VIA_VIRTUAL | ( | thistype, | |
index | |||
) |
Definition at line 1335 of file gdbtypes.h.
Referenced by cp_print_value(), cp_type_print_derivation_info(), do_search_struct_field(), find_method_list(), gnuv2_baseclass_offset(), gnuv3_baseclass_offset(), gnuv3_dynamic_class(), gnuv3_find_method_in(), java_print_value_fields(), java_type_print_derivation_info(), pascal_object_print_value(), pascal_type_print_derivation_info(), search_struct_method(), value_primitive_field(), and value_struct_elt_for_reference().
#define CHECK_TYPEDEF | ( | TYPE | ) |
Definition at line 1817 of file gdbtypes.h.
Referenced by aarch64_return_in_memory(), ada_array_length(), 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_dummy(), can_dereference(), check_field(), check_types_equal(), classify_type(), collect_one_symbol(), convert_type(), cp_find_type_baseclass_by_name(), cp_lookup_nested_symbol(), cp_lookup_nested_symbol_1(), cp_print_static_field(), cp_print_value_fields(), create_array_type_with_stride(), d_val_print(), decode_constrained_packed_array_type(), distance_to_ancestor(), do_search_struct_field(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), f_type_print_base(), f_val_print(), find_method_list(), find_methods(), find_parallel_type_by_descriptive_type(), gccgo_string_p(), gdbscm_value_dynamic_type(), gdbscm_value_to_bool(), gdbscm_value_to_bytevector(), gdbscm_value_to_integer(), gdbscm_value_to_real(), gen_struct_ref_recursive(), gen_trace_static_fields(), generic_val_print(), get_discrete_bounds(), get_out_value_type(), get_return_value(), get_signed_type_minmax(), get_unsigned_type_max(), get_vptr_fieldno(), gnuv2_value_rtti_type(), gnuv3_dynamic_class(), gnuv3_get_vtable(), gnuv3_pass_by_reference(), go_classify_struct_type(), go_print_type(), go_val_print(), internal_type_vptr_basetype(), internal_type_vptr_fieldno(), 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(), set_type_vptr_basetype(), set_type_vptr_fieldno(), tic6x_return_value(), type_name_no_tag_or_error(), typy_fields_items(), typy_get_composite(), unpack_bits_as_long(), unpack_double(), val_print_scalar_type_p(), valprint_check_validity(), valpy_binop(), valpy_float(), valpy_get_dynamic_type(), valpy_long(), value_assign(), value_cast(), value_primitive_field(), value_vector_widen(), vlscm_binop(), and yyparse().
#define FIELD_ARTIFICIAL | ( | thisfld | ) | ((thisfld).artificial) |
Definition at line 1364 of file gdbtypes.h.
Referenced by check_types_equal(), dwarf2_add_field(), and gdbscm_field_artificial_p().
#define FIELD_BITPOS | ( | thisfld | ) | (FIELD_BITPOS_LVAL (thisfld) + 0) |
Definition at line 1343 of file gdbtypes.h.
Referenced by append_composite_type_field_aligned(), check_types_equal(), dwarf2_add_field(), gdbscm_field_bitpos(), gdbscm_field_bitsize(), mips_n32n64_return_value(), mips_o32_return_value(), and read_one_struct_field().
#define FIELD_BITPOS_LVAL | ( | thisfld | ) | ((thisfld).loc.bitpos) |
Definition at line 1342 of file gdbtypes.h.
#define FIELD_BITSIZE | ( | thisfld | ) | ((thisfld).bitsize) |
Definition at line 1365 of file gdbtypes.h.
Referenced by check_types_equal(), coff_read_struct_type(), dwarf2_add_field(), parse_symbol(), process_enumeration_scope(), read_baseclasses(), read_cpp_abbrev(), read_one_struct_field(), and tdesc_gdb_type().
#define FIELD_DWARF_BLOCK | ( | thisfld | ) | ((thisfld).loc.dwarf_block) |
Definition at line 1348 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 1345 of file gdbtypes.h.
Referenced by check_types_equal(), and gdbscm_field_enumval().
#define FIELD_ENUMVAL_LVAL | ( | thisfld | ) | ((thisfld).loc.enumval) |
Definition at line 1344 of file gdbtypes.h.
#define FIELD_LOC_KIND | ( | thisfld | ) | ((thisfld).loc_kind) |
Definition at line 1341 of file gdbtypes.h.
Referenced by call_site_to_target_addr(), check_types_equal(), and field_is_static().
#define FIELD_NAME | ( | thisfld | ) | ((thisfld).name) |
Definition at line 1340 of file gdbtypes.h.
Referenced by append_composite_type_field_raw(), build_gdb_vtable_type(), build_std_type_info_type(), check_types_equal(), dwarf2_add_field(), gdbscm_field_name(), parse_symbol(), and process_enumeration_scope().
#define FIELD_STATIC_PHYSADDR | ( | thisfld | ) | ((thisfld).loc.physaddr) |
Definition at line 1347 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 1346 of file gdbtypes.h.
Referenced by call_site_to_target_addr(), and check_types_equal().
#define FIELD_TYPE | ( | thisfld | ) | ((thisfld).type) |
Definition at line 1339 of file gdbtypes.h.
Referenced by append_composite_type_field_aligned(), append_composite_type_field_raw(), build_gdb_vtable_type(), build_std_type_info_type(), check_types_equal(), coff_read_struct_type(), dwarf2_add_field(), gdbscm_field_type(), parse_symbol(), process_enumeration_scope(), and read_one_struct_field().
#define HAVE_CPLUS_STRUCT | ( | type | ) |
Definition at line 1202 of file gdbtypes.h.
Referenced by allocate_cplus_struct_type(), internal_type_vptr_fieldno(), java_type_print_base(), pascal_type_print_base(), print_field_values(), process_structure_scope(), recursive_dump_type(), set_type_vptr_basetype(), and set_type_vptr_fieldno().
#define HAVE_GNAT_AUX_INFO | ( | type | ) | (TYPE_SPECIFIC_FIELD (type) == TYPE_SPECIFIC_GNAT_STUFF) |
A macro that returns non-zero if the type-specific data should be read as "gnat-stuff".
Definition at line 1216 of file gdbtypes.h.
Referenced by ada_find_parallel_type_with_name(), find_parallel_type_by_descriptive_type(), and set_die_type().
#define INIT_CPLUS_SPECIFIC | ( | type | ) |
Definition at line 1195 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), arch_composite_type(), build_gdb_vtable_type(), build_std_type_info_type(), coff_read_struct_type(), copy_type_recursive(), decode_base_type(), empty_record(), init_type(), new_type(), read_struct_type(), read_structure_type(), read_type(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), and type_from_class().
#define INIT_FUNC_SPECIFIC | ( | type | ) |
Definition at line 1219 of file gdbtypes.h.
Referenced by copy_type_recursive(), init_type(), make_function_type(), and set_type_self_type().
#define INIT_GNAT_SPECIFIC | ( | type | ) |
Definition at line 1210 of file gdbtypes.h.
Referenced by copy_type_recursive(), and set_die_type().
#define LENGTH_MATCH | ( | bv | ) | ((bv)->rank[0]) |
Definition at line 1852 of file gdbtypes.h.
Referenced by rank_function().
#define NULL_TYPE ((struct type *) 0) |
Definition at line 814 of file gdbtypes.h.
Referenced by ada_evaluate_subexp(), evaluate_expression(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_type(), evaluate_subexp_with_coercion(), evaluate_subexpression_type(), evaluate_type(), fetch_subexp_value(), init_array_element(), and value_f90_subarray().
#define SET_FIELD_BITPOS | ( | thisfld, | |
bitpos | |||
) |
Definition at line 1349 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), append_composite_type_field_aligned(), append_flags_type_flag(), build_gdb_vtable_type(), build_std_type_info_type(), coff_read_struct_type(), copy_type_recursive(), dwarf2_add_field(), java_link_class_type(), parse_symbol(), read_baseclasses(), read_cpp_abbrev(), read_one_struct_field(), and tdesc_gdb_type().
#define SET_FIELD_DWARF_BLOCK | ( | thisfld, | |
addr | |||
) |
Definition at line 1361 of file gdbtypes.h.
Referenced by read_call_site_scope().
#define SET_FIELD_ENUMVAL | ( | thisfld, | |
enumval | |||
) |
Definition at line 1352 of file gdbtypes.h.
Referenced by coff_read_enum_type(), copy_type_recursive(), parse_symbol(), process_enumeration_scope(), and read_enum_type().
#define SET_FIELD_PHYSADDR | ( | thisfld, | |
addr | |||
) |
Definition at line 1358 of file gdbtypes.h.
Referenced by copy_type_recursive(), java_link_class_type(), and read_call_site_scope().
#define SET_FIELD_PHYSNAME | ( | thisfld, | |
name | |||
) |
Definition at line 1355 of file gdbtypes.h.
Referenced by copy_type_recursive(), dwarf2_add_field(), read_call_site_scope(), and read_one_struct_field().
#define SET_TYPE_FIELD_IGNORE | ( | thistype, | |
n | |||
) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->ignore_field_bits, (n)) |
Definition at line 1392 of file gdbtypes.h.
Referenced by attach_fields_to_type().
#define SET_TYPE_FIELD_PRIVATE | ( | thistype, | |
n | |||
) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->private_field_bits, (n)) |
Definition at line 1388 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and java_link_class_type().
#define SET_TYPE_FIELD_PROTECTED | ( | thistype, | |
n | |||
) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits, (n)) |
Definition at line 1390 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and java_link_class_type().
#define SET_TYPE_FIELD_VIRTUAL | ( | thistype, | |
n | |||
) | B_SET (TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits, (n)) |
Definition at line 1394 of file gdbtypes.h.
Referenced by dwarf2_attach_fields_to_type(), and read_baseclasses().
#define TYPE_ADDRESS_CLASS_1 | ( | t | ) |
Address class flags. Some environments provide for pointers whose size is different from that of a normal pointer or address types where the bits are interpreted differently than normal addresses. The TYPE_FLAG_ADDRESS_CLASS_n flags may be used in target specific ways to represent these different types of address classes.
Definition at line 397 of file gdbtypes.h.
Referenced by recursive_dump_type(), and spu_pointer_to_address().
#define TYPE_ADDRESS_CLASS_2 | ( | t | ) |
Definition at line 399 of file gdbtypes.h.
Referenced by recursive_dump_type().
#define TYPE_ADDRESS_CLASS_ALL | ( | t | ) |
Definition at line 403 of file gdbtypes.h.
Referenced by replace_type().
#define TYPE_ALLOC | ( | t, | |
size | |||
) |
Allocate space for storing data associated with a particular type. We ensure that the space is allocated using the same mechanism that was used to allocate the space for the type structure itself. I.e. if the type is on an objfile's objfile_obstack, then the space for data associated with that type will also be allocated on the objfile_obstack. If the type is not associated with any particular objfile (such as builtin types), then the data space will be allocated with xmalloc, the same as for the type structure.
Definition at line 1631 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), allocate_cplus_struct_type(), allocate_gnat_aux_type(), attach_fields_to_type(), check_stub_method(), coff_read_enum_type(), coff_read_struct_type(), define_symbol(), dwarf2_attach_fields_to_type(), dwarf2_attach_fn_fields_to_type(), finish_block_internal(), java_link_class_type(), parse_symbol(), patch_type(), process_enumeration_scope(), process_structure_scope(), read_baseclasses(), read_enum_type(), read_member_functions(), read_type(), resolve_dynamic_struct(), resolve_dynamic_union(), template_to_static_fixed_type(), and to_record_with_fixed_variant_part().
#define TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED | ( | arraytype | ) | TYPE_LOW_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
Definition at line 1284 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 1290 of file gdbtypes.h.
Referenced by assign_aggregate(), f77_get_lowerbound(), and pascal_type_print_varspec_prefix().
#define TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED | ( | arraytype | ) | TYPE_HIGH_BOUND_UNDEFINED(TYPE_INDEX_TYPE(arraytype)) |
Definition at line 1282 of file gdbtypes.h.
Referenced by c_number_of_children(), f77_get_upperbound(), f_type_print_base(), f_type_print_varspec_suffix(), get_array_bounds(), m2_array(), pascal_type_print_varspec_prefix(), value_cast(), and value_subscripted_rvalue().
#define TYPE_ARRAY_UPPER_BOUND_VALUE | ( | arraytype | ) | (TYPE_HIGH_BOUND(TYPE_INDEX_TYPE((arraytype)))) |
Definition at line 1287 of file gdbtypes.h.
Referenced by assign_aggregate(), f77_get_upperbound(), and pascal_type_print_varspec_prefix().
#define TYPE_ATOMIC | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_ATOMIC) |
Atomic type. If this is set, the corresponding type has an _Atomic modifier.
Definition at line 362 of file gdbtypes.h.
Referenced by c_type_print_modifier(), cp_type_print_method_args(), and recursive_dump_type().
#define TYPE_BASECLASS | ( | thistype, | |
index | |||
) | TYPE_FIELD_TYPE(thistype, index) |
Definition at line 1326 of file gdbtypes.h.
Referenced by add_struct_fields(), check_field(), cp_find_type_baseclass_by_name(), cp_print_value(), cp_type_print_derivation_info(), define_symbol(), distance_to_ancestor(), do_search_struct_field(), dynamic_cast_check_1(), dynamic_cast_check_2(), find_method_list(), find_methods(), find_symbol_in_baseclass(), gen_struct_ref_recursive(), gen_trace_static_fields(), get_vptr_fieldno(), gnuv2_baseclass_offset(), is_object_type(), is_unique_ancestor_worker(), java_link_class_type(), java_print_value_fields(), java_type_print_derivation_info(), lookup_struct_elt_type(), make_symbol_overload_list_adl_namespace(), pascal_object_print_value(), pascal_type_print_derivation_info(), recursively_update_typedef_hash(), search_struct_method(), and value_struct_elt_for_reference().
#define TYPE_BASECLASS_BITPOS | ( | thistype, | |
index | |||
) | TYPE_FIELD_BITPOS(thistype,index) |
Definition at line 1329 of file gdbtypes.h.
Referenced by do_search_struct_field(), find_method_list(), gen_struct_ref_recursive(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv3_baseclass_offset(), gnuv3_find_method_in(), search_struct_method(), and value_struct_elt_for_reference().
#define TYPE_BASECLASS_NAME | ( | thistype, | |
index | |||
) | TYPE_FIELD_NAME(thistype, index) |
Definition at line 1328 of file gdbtypes.h.
Referenced by cp_find_type_baseclass_by_name(), define_symbol(), do_search_struct_field(), and find_symbol_in_baseclass().
#define TYPE_CALLING_CONVENTION | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->calling_convention |
Definition at line 1323 of file gdbtypes.h.
Referenced by copy_type_recursive(), ppc_sysv_use_opencl_abi(), read_subroutine_type(), recursive_dump_type(), sh_is_renesas_calling_convention(), and spu_return_value().
#define TYPE_CHAIN | ( | thistype | ) | (thistype)->chain |
Definition at line 1232 of file gdbtypes.h.
Referenced by alloc_type(), alloc_type_arch(), alloc_type_instance(), make_params(), make_pointer_type(), make_qualified_type(), make_reference_type(), recursive_dump_type(), replace_type(), set_length_in_type_chain(), and smash_type().
#define TYPE_CODE | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->code |
Note that TYPE_CODE can be TYPE_CODE_TYPEDEF, so if you want the real type, you need to do TYPE_CODE (check_type (this_type)).
Definition at line 1240 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(), ada_array_bound_from_type(), ada_array_element_type(), ada_array_length(), ada_check_typedef(), ada_coerce_ref(), ada_convert_actual(), ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_evaluate_subexp(), ada_get_base_type(), ada_get_decoded_value(), ada_index_type(), ada_is_aligner_type(), ada_is_array_descriptor_type(), ada_is_array_type(), ada_is_bogus_array_descriptor(), ada_is_character_type(), ada_is_direct_array_type(), ada_is_dispatch_table_ptr_type(), ada_is_modular_type(), ada_is_redundant_range_encoding(), ada_is_simple_array_type(), ada_is_string_type(), ada_is_tag_type(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_prefer_type(), ada_print_scalar(), ada_print_subexp(), ada_print_type(), ada_promote_array_of_integrals(), ada_tag_value_at_base_address(), ada_tasks_inferior_data_sniffer(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type(), ada_to_fixed_type_1(), ada_type_match(), ada_typedef_target_type(), ada_val_print_1(), ada_val_print_gnat_array(), ada_val_print_num(), ada_val_print_ref(), ada_value_assign(), ada_value_binop(), ada_value_equal(), ada_value_is_changeable_p(), ada_value_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_array_cv_type(), add_struct_fields(), add_symtab_completions(), address_of_variable(), adjust_type_signedness(), adjust_value_for_child_access(), alloc_type(), alloc_type_arch(), allocate_stub_method(), alpha_extract_return_value(), alpha_push_dummy_call(), alpha_return_value(), alpha_store_return_value(), 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_aggregate(), 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_is_path_expr_parent(), 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_dummy(), call_xmethod(), can_dereference(), can_use_hardware_watchpoint(), cast_into_complex(), check_parameter_typelist(), check_typedef(), check_types_equal(), class_or_union_p(), classify_type(), cleanup_undefined_types_1(), cleanup_undefined_types_noname(), coerce_array(), coerce_for_assign(), coerce_ref(), coerce_ref_if_computed(), coff_read_enum_type(), coff_read_struct_type(), collect_one_symbol(), collect_symbol(), compare_parameters(), compile_object_load(), compile_object_run(), complain_about_struct_wipeout(), completion_list_add_fields(), compute_vtable_size(), constrained_packed_array_type(), convert_char_literal(), convert_field(), convert_one_symbol(), convert_struct_or_union(), convert_type_basic(), copy_type_recursive(), cp_is_vtbl_member(), cp_lookup_nested_symbol(), cp_lookup_rtti_type(), cp_print_static_field(), cp_type_print_method_args(), cplus_describe_child(), cplus_number_of_children(), create_array_type_with_stride(), create_range_type(), create_set_type(), create_string_type(), create_value(), cris_return_value(), d_val_print(), decode_base_type(), decode_constrained_packed_array(), decode_constrained_packed_array_type(), decode_packed_array_bitsize(), default_make_symbol_completion_list_break_on_1(), default_print_one_register_info(), default_register_reggroup_p(), define_symbol(), desc_base_type(), desc_bounds(), desc_bounds_type(), desc_data_target_type(), desc_index_type(), discrete_position(), discrete_type_p(), do_ppc_sysv_return_value(), do_search_struct_field(), dwarf2_add_member_fn(), dwarf2_compute_name(), dwarf_require_integral(), dynamic_array_type(), dynamic_template_type(), empty_record(), entry_data_value_coerce_ref(), enum_constant_from_type(), equiv_types(), evaluate_struct_tuple(), evaluate_subexp_c(), evaluate_subexp_for_address(), 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(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_field_baseclass_p(), gdbscm_field_bitpos(), gdbscm_field_enumval(), gdbscm_type_code(), gdbscm_type_range(), gdbscm_value_call(), gdbscm_value_dynamic_type(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gdbscm_value_to_bool(), gdbscm_value_to_integer(), gdbscm_value_to_lazy_string(), gdbscm_value_to_real(), gen_address_of(), gen_aggregate_elt_ref(), gen_binop(), gen_cast(), gen_complement(), gen_deref(), gen_expr_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(), generate_register_struct(), generate_vla_size(), 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_out_value_type(), get_regs_type(), get_return_value(), get_signed_type_minmax(), get_unsigned_type_max(), get_value_at(), gnuv2_value_rtti_type(), gnuv2_virtual_fn_field(), gnuv3_dynamic_class(), gnuv3_get_typeid(), gnuv3_get_vtable(), gnuv3_pass_by_reference(), gnuv3_print_vtable(), gnuv3_rtti_type(), gnuv3_virtual_fn_field(), go_print_type(), go_val_print(), h8300_extract_return_value(), h8300_use_struct_convention(), h8300h_extract_return_value(), h8300h_use_struct_convention(), has_negatives(), hppa32_push_dummy_call(), hppa32_return_value(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_extract_return_value(), i386_m128_p(), i386_reg_struct_return_p(), i386_return_value(), i386_store_return_value(), i387_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(), internal_type_self_type(), internal_type_vptr_basetype(), internal_type_vptr_fieldno(), iq2000_address_to_pointer(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), iq2000_use_struct_convention(), is_dynamic_field(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_hfa(), is_integral_type(), is_intlike(), is_nonfunction(), is_object_type(), is_pascal_string_type(), is_scalar_type(), is_scalar_type_recursive(), 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(), ppc64_aggregate_candidate(), ppc64_elfv2_abi_homogeneous_aggregate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_freg(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc64_sysv_abi_return_value_base(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), ppcnbsd_return_value(), print_array_type(), print_command_1(), print_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_member_functions(), read_namespace_alias(), read_one_struct_field(), read_struct_type(), read_structure_type(), read_subrange_type(), read_tag_const_type(), read_tag_ptr_to_member_type(), read_tag_volatile_type(), read_type(), recursive_dump_type(), require_rvalue(), resolve_dynamic_array(), resolve_dynamic_range(), resolve_dynamic_struct(), resolve_dynamic_type_internal(), resolve_dynamic_union(), resolve_subexp(), result_type_of_xmethod(), return_command(), return_match(), rl78_pointer_to_address(), rs6000_convert_register_p(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_register_to_value(), rs6000_return_value(), rs6000_value_to_register(), rx_push_dummy_call(), rx_return_value(), s390_effective_inner_type(), s390_function_arg_float(), s390_function_arg_integer(), s390_function_arg_vector(), s390_push_dummy_call(), s390_register_return_value(), s390_return_value(), scalar_binop(), scalar_type_p(), score_push_dummy_call(), score_return_value(), score_type_needs_double_align(), search_symbols(), set_die_type(), set_internalvar(), set_type_self_type(), set_type_vptr_basetype(), set_type_vptr_fieldno(), sh64_extract_return_value(), sh64_media_print_registers_info(), sh64_print_register(), sh64_push_dummy_call(), sh64_store_return_value(), sh_is_renesas_calling_convention(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_treat_as_flt_p(), sh_use_struct_convention(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_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_regs(), 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_aggregate_p(), type_from_class(), type_is_full_subrange_of_target_type(), typecmp(), types_equal(), typy_fields(), typy_get_code(), typy_get_composite(), typy_range(), typy_template_argument(), tyscm_get_composite(), 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_array_elements(), val_print_scalar_type_p(), valprint_check_validity(), valpy_binop(), valpy_call(), valpy_float(), valpy_get_dynamic_type(), valpy_getitem(), valpy_lazy_string(), valpy_long(), valpy_nonzero(), valpy_referenced_value(), value_actual_type(), value_addr(), value_aggregate_elt(), value_arg_coerce(), value_args_as_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_has_field(), value_in(), value_ind(), value_less(), value_logical_not(), value_must_coerce_to_target(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_pos(), value_ptrdiff(), value_ref(), value_reinterpret_cast(), value_rtti_indirect_type(), value_slice(), value_struct_element_index(), value_struct_elt(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), value_subscript(), value_subscript_packed(), value_val_atr(), value_vector_widen(), value_x_binop(), value_x_unop(), variant_field_index(), varobj_default_value_is_changeable_p(), varobj_editable_p(), varobj_get_value_type(), vax_return_value(), vb_match(), vector_binop(), vector_relop(), vlscm_binop(), vlscm_convert_typed_number(), whatis_exp(), x_command(), xstormy16_address_to_pointer(), xstormy16_pointer_to_address(), xstormy16_type_is_scalar(), xtensa_push_dummy_call(), xtensa_return_value(), and yyparse().
#define TYPE_CODE_SPACE | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_CODE_SPACE) |
Instruction-space delimited type. This is for Harvard architectures which have separate instruction and data address spaces (and perhaps others).
GDB usually defines a flat address space that is a superset of the architecture's two (or more) address spaces, but this is an extension of the architecture's model.
If TYPE_FLAG_INST is set, an object of the corresponding type resides in instruction memory, even if its address (in the extended flat address space) does not reflect this.
Similarly, if TYPE_FLAG_DATA is set, then an object of the corresponding type resides in the data memory space, even if this is not indicated by its (flat address space) address.
If neither flag is set, the default space for functions / methods is instruction space, and for data objects is data memory.
Definition at line 384 of file gdbtypes.h.
Referenced by avr_pointer_to_address(), iq2000_pointer_to_address(), recursive_dump_type(), and rl78_pointer_to_address().
#define TYPE_CONST | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_CONST) |
Constant type. If this is set, the corresponding type has a const modifier.
Definition at line 345 of file gdbtypes.h.
Referenced by add_array_cv_type(), c_type_print_modifier(), convert_qualified(), cp_type_print_method_args(), create_value(), dwarf2_compute_name(), follow_types(), m2_pointer(), m2_val_print(), read_subroutine_type(), read_tag_volatile_type(), read_type(), recursive_dump_type(), and value_rtti_indirect_type().
#define TYPE_CPLUS_DYNAMIC | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->is_dynamic |
Definition at line 1332 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 1333 of file gdbtypes.h.
Referenced by gnuv3_baseclass_offset(), gnuv3_rtti_type(), and process_structure_scope().
#define TYPE_CPLUS_SPECIFIC | ( | thistype | ) |
Definition at line 1315 of file gdbtypes.h.
Referenced by recursive_dump_type().
#define TYPE_DATA_LOCATION | ( | thistype | ) | get_dyn_prop (DYN_PROP_DATA_LOCATION, thistype) |
Definition at line 1260 of file gdbtypes.h.
Referenced by is_dynamic_type_internal(), resolve_dynamic_type_internal(), and value_from_contents_and_address().
#define TYPE_DATA_LOCATION_ADDR | ( | thistype | ) | TYPE_DATA_LOCATION (thistype)->data.const_val |
Definition at line 1264 of file gdbtypes.h.
Referenced by value_from_contents_and_address().
#define TYPE_DATA_LOCATION_BATON | ( | thistype | ) | TYPE_DATA_LOCATION (thistype)->data.baton |
Definition at line 1262 of file gdbtypes.h.
#define TYPE_DATA_LOCATION_KIND | ( | thistype | ) | TYPE_DATA_LOCATION (thistype)->kind |
Definition at line 1266 of file gdbtypes.h.
Referenced by is_dynamic_type_internal(), and value_from_contents_and_address().
#define TYPE_DATA_SPACE | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_DATA_SPACE) |
Definition at line 387 of file gdbtypes.h.
Referenced by recursive_dump_type().
#define TYPE_DECLARED_CLASS | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_declared_class) |
True if this type was declared using the "class" keyword. This is only valid for C++ structure and enum types. If false, a structure was declared as a "struct"; if true it was declared "class". For enum types, this is true when "enum class" or "enum struct" was used to declare the type..
Definition at line 334 of file gdbtypes.h.
Referenced by c_type_print_base(), determine_prefix(), enum_constant_from_type(), rank_one_type(), read_enumeration_type(), read_structure_type(), and type_aggregate_p().
#define TYPE_DESCRIPTIVE_TYPE | ( | thistype | ) | TYPE_GNAT_SPECIFIC(thistype)->descriptive_type |
Definition at line 1322 of file gdbtypes.h.
Referenced by find_parallel_type_by_descriptive_type(), print_gnat_stuff(), and set_descriptive_type().
#define TYPE_DYN_PROP_ADDR | ( | dynprop | ) | dynprop->data.const_val |
Definition at line 1274 of file gdbtypes.h.
Referenced by resolve_dynamic_type_internal().
#define TYPE_DYN_PROP_BATON | ( | dynprop | ) | dynprop->data.baton |
Definition at line 1272 of file gdbtypes.h.
#define TYPE_DYN_PROP_KIND | ( | dynprop | ) | dynprop->kind |
Definition at line 1276 of file gdbtypes.h.
Referenced by resolve_dynamic_type_internal().
#define TYPE_DYN_PROP_LIST | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->dyn_prop_list |
Definition at line 1270 of file gdbtypes.h.
Referenced by add_dyn_prop(), copy_type(), copy_type_recursive(), and get_dyn_prop().
A helper macro that returns the name of an error type. If the type has a name, it is used; otherwise, a default is used.
Definition at line 1472 of file gdbtypes.h.
Referenced by c_type_print_base(), f_type_print_base(), generic_val_print(), and pascal_type_print_base().
#define TYPE_FIELD | ( | thistype, | |
n | |||
) | TYPE_MAIN_TYPE(thistype)->flds_bnds.fields[n] |
Definition at line 1367 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), amd64_classify_aggregate(), append_flags_type_flag(), attach_fields_to_type(), c_type_print_base(), check_field(), check_types_equal(), coff_read_enum_type(), coff_read_struct_type(), convert_field(), copy_type_recursive(), cp_print_value_fields(), do_search_struct_field(), dwarf2_attach_fields_to_type(), evaluate_struct_tuple(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), generate_vla_size(), gnuv3_pass_by_reference(), is_dynamic_type_internal(), java_link_class_type(), java_print_value_fields(), java_type_print_base(), mips_n32n64_fp_arg_chunk_p(), pascal_object_print_value_fields(), pascal_type_print_base(), ppc64_aggregate_candidate(), read_enum_type(), resolve_dynamic_struct(), resolve_dynamic_union(), tyscm_field_smob_to_field(), value_struct_element_index(), value_struct_elt_bitpos(), and value_struct_elt_for_reference().
#define TYPE_FIELD_ARTIFICIAL | ( | thistype, | |
n | |||
) | FIELD_ARTIFICIAL(TYPE_FIELD(thistype,n)) |
Definition at line 1376 of file gdbtypes.h.
Referenced by c_type_print_args(), c_type_print_base(), compare_parameters(), convert_field(), copy_type_recursive(), cplus_class_num_children(), cplus_describe_child(), define_symbol(), dwarf2_add_member_fn(), dwarf2_compute_name(), finish_block_internal(), parse_symbol(), and read_subroutine_type().
#define TYPE_FIELD_BITPOS | ( | thistype, | |
n | |||
) | FIELD_BITPOS (TYPE_FIELD (thistype, n)) |
Definition at line 1371 of file gdbtypes.h.
Referenced by ada_aligned_value_addr(), ada_index_struct_field_1(), ada_lookup_struct_elt_type(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_value_primitive_field(), alphafbsd_return_in_memory(), amd64_classify_aggregate(), arm_return_in_memory(), c_val_print(), convert_field(), convert_struct_or_union(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), desc_bound_bitpos(), do_search_struct_field(), dynamic_array_type(), evaluate_struct_tuple(), f_val_print(), fat_pntr_bounds_bitpos(), fat_pntr_data_bitpos(), find_struct_field(), gen_primitive_field(), gnuv2_baseclass_offset(), is_pascal_string_type(), java_print_value_fields(), m2_print_long_set(), m2_print_unbounded_array(), mips_n32n64_fp_arg_chunk_p(), pascal_object_print_value_fields(), pascal_val_print(), print_field_values(), print_variant_part(), recursive_dump_type(), resolve_dynamic_struct(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), store_regs(), to_record_with_fixed_variant_part(), unpack_field_as_long(), unpack_value_field_as_long(), val_print_type_code_flags(), value_field_bitfield(), value_primitive_field(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), and vtable_address_point_offset().
#define TYPE_FIELD_BITSIZE | ( | thistype, | |
n | |||
) | FIELD_BITSIZE(TYPE_FIELD(thistype,n)) |
Definition at line 1377 of file gdbtypes.h.
Referenced by ada_evaluate_subexp(), ada_template_to_fixed_record_type_1(), ada_type_of_array(), ada_val_print_array(), ada_value_primitive_field(), ada_value_subscript(), alphafbsd_return_in_memory(), amd64_classify_aggregate(), arm_return_in_memory(), c_type_print_base(), coff_read_enum_type(), constrained_packed_array_type(), convert_field(), convert_struct_or_union(), copy_type_recursive(), cp_print_value_fields(), create_array_type_with_stride(), desc_bound_bitsize(), evaluate_struct_tuple(), fat_pntr_bounds_bitsize(), fat_pntr_data_bitsize(), find_struct_field(), gen_primitive_field(), java_print_value_fields(), m2_record_fields(), pascal_object_print_value_fields(), pascal_type_print_base(), print_array_type(), print_field_values(), read_enum_type(), recursive_dump_type(), resolve_dynamic_array(), resolve_dynamic_struct(), store_regs(), to_fixed_array_type(), to_record_with_fixed_variant_part(), unpack_field_as_long(), unpack_value_field_as_long(), val_print_packed_array_elements(), value_field_bitfield(), value_primitive_field(), and value_subscript_packed().
#define TYPE_FIELD_DWARF_BLOCK | ( | thistype, | |
n | |||
) | FIELD_DWARF_BLOCK (TYPE_FIELD (thistype, n)) |
Definition at line 1375 of file gdbtypes.h.
#define TYPE_FIELD_ENUMVAL | ( | thistype, | |
n | |||
) | FIELD_ENUMVAL (TYPE_FIELD (thistype, n)) |
Definition at line 1372 of file gdbtypes.h.
Referenced by ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_identical_enum_types_p(), ada_print_scalar(), ada_val_print_enum(), c_type_print_base(), convert_char_literal(), convert_enum(), convert_field(), copy_type_recursive(), discrete_position(), enum_constant_from_type(), generic_val_print(), get_discrete_bounds(), m2_enum(), pascal_type_print_base(), print_enum_type(), print_optional_low_bound(), print_type_scalar(), recursive_dump_type(), and value_val_atr().
#define TYPE_FIELD_IGNORE | ( | thistype, | |
n | |||
) |
Definition at line 1402 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 |
Definition at line 1384 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), and java_link_class_type().
#define TYPE_FIELD_LOC_KIND | ( | thistype, | |
n | |||
) | FIELD_LOC_KIND (TYPE_FIELD (thistype, n)) |
Definition at line 1370 of file gdbtypes.h.
Referenced by copy_type_recursive(), enum_constant_from_type(), gen_static_field(), resolve_dynamic_struct(), and value_static_field().
#define TYPE_FIELD_NAME | ( | thistype, | |
n | |||
) | FIELD_NAME(TYPE_FIELD(thistype, n)) |
Definition at line 1369 of file gdbtypes.h.
Referenced by ada_fixup_array_indexes_type(), ada_get_base_type(), ada_get_field_index(), ada_identical_enum_types_p(), ada_in_variant(), ada_index_struct_field_1(), ada_is_aligner_type(), ada_is_ignored_field(), ada_is_others_clause(), ada_is_parent_field(), ada_is_wrapper_field(), ada_lookup_struct_elt_type(), ada_print_scalar(), ada_search_struct_field(), ada_template_to_fixed_record_type_1(), ada_val_print_enum(), ada_varobj_describe_struct_child(), add_struct_fields(), append_flags_type_flag(), c_describe_child(), c_is_path_expr_parent(), c_type_print_base(), check_field(), coff_read_enum_type(), completion_list_add_fields(), convert_char_literal(), convert_enum(), convert_field(), convert_struct_or_union(), copy_type_recursive(), cp_print_class_member(), cp_print_value_fields(), cplus_describe_child(), do_search_struct_field(), dynamic_array_type(), enum_constant_from_type(), evaluate_struct_tuple(), f_type_print_base(), field_alignment(), field_name(), find_struct_field(), gccgo_string_p(), gdbscm_type_field(), gdbscm_type_has_field_p(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), generic_val_print(), 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(), store_regs(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), typy_getitem(), typy_has_key(), val_print_type_code_flags(), value_struct_elt_for_reference(), and vb_match().
#define TYPE_FIELD_PACKED | ( | thistype, | |
n | |||
) | (FIELD_BITSIZE(TYPE_FIELD(thistype,n))!=0) |
Definition at line 1378 of file gdbtypes.h.
Referenced by c_type_print_base(), cp_print_value_fields(), gen_primitive_field(), gen_struct_elt_for_reference(), java_print_value_fields(), m2_record_fields(), pascal_object_print_value_fields(), pascal_type_print_base(), print_field_values(), and value_struct_elt_for_reference().
#define TYPE_FIELD_PRIVATE | ( | thistype, | |
n | |||
) |
Definition at line 1396 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 |
Definition at line 1380 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), java_link_class_type(), and print_cplus_stuff().
#define TYPE_FIELD_PROTECTED | ( | thistype, | |
n | |||
) |
Definition at line 1399 of file gdbtypes.h.
Referenced by c_type_print_base(), cp_type_print_derivation_info(), cplus_class_num_children(), java_type_print_base(), match_accessibility(), and pascal_type_print_base().
#define TYPE_FIELD_PROTECTED_BITS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->protected_field_bits |
Definition at line 1382 of file gdbtypes.h.
Referenced by attach_fields_to_type(), dwarf2_attach_fields_to_type(), java_link_class_type(), and print_cplus_stuff().
#define TYPE_FIELD_STATIC_PHYSADDR | ( | thistype, | |
n | |||
) | FIELD_STATIC_PHYSADDR (TYPE_FIELD (thistype, n)) |
Definition at line 1374 of file gdbtypes.h.
Referenced by copy_type_recursive(), gen_static_field(), and value_static_field().
#define TYPE_FIELD_STATIC_PHYSNAME | ( | thistype, | |
n | |||
) | FIELD_STATIC_PHYSNAME (TYPE_FIELD (thistype, n)) |
Definition at line 1373 of file gdbtypes.h.
Referenced by copy_type_recursive(), gen_static_field(), and value_static_field().
#define TYPE_FIELD_TYPE | ( | thistype, | |
n | |||
) | FIELD_TYPE(TYPE_FIELD(thistype, n)) |
Definition at line 1368 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_redundant_index_type_desc(), 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_struct_elt(), add_struct_fields(), 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_dummy(), compare_parameters(), compile_object_run(), constrained_packed_array_type(), convert_field(), convert_func(), convert_struct_or_union(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), cplus_describe_child(), create_set_type(), define_symbol(), desc_bound_bitsize(), desc_data_target_type(), do_search_struct_field(), dwarf2_add_member_fn(), dwarf2_compute_name(), dynamic_array_type(), evaluate_struct_tuple(), 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(), generate_vla_size(), get_long_set_bounds(), get_regs_type(), get_symbol_field_type(), gnuv2_baseclass_offset(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), is_dynamic_field(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_hfa(), 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_aggregate_candidate(), ppc64_sysv_abi_push_param(), print_array_type(), print_field_values(), print_func_type(), print_go_string(), print_selected_record_field_types(), print_unchecked_union_type(), print_variant_clauses(), print_variant_part(), quirk_gcc_member_function_pointer(), rank_one_type(), read_fat_string_value(), read_subroutine_type(), read_type(), recursive_dump_type(), resolve_dynamic_struct(), resolve_dynamic_union(), rx_push_dummy_call(), s390_effective_inner_type(), score_type_needs_double_align(), sh_treat_as_flt_p(), sh_use_struct_convention(), slot_alignment_is_next_even(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), static_unwrap_type(), store_regs(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_variant_branch_type(), to_record_with_fixed_variant_part(), types_equal(), unpack_field_as_long(), unpack_value_field_as_long(), v850_eight_byte_align_p(), v850_use_struct_convention(), value_field_bitfield(), value_primitive_field(), value_static_field(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), vb_match(), vtable_ptrdiff_type(), and yyparse().
#define TYPE_FIELD_VIRTUAL | ( | thistype, | |
n | |||
) |
Definition at line 1405 of file gdbtypes.h.
#define TYPE_FIELD_VIRTUAL_BITS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->virtual_field_bits |
Definition at line 1386 of file gdbtypes.h.
Referenced by dwarf2_attach_fields_to_type(), java_link_class_type(), print_cplus_stuff(), and read_baseclasses().
#define TYPE_FIELDS | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->flds_bnds.fields |
Definition at line 1242 of file gdbtypes.h.
Referenced by ada_template_to_fixed_record_type_1(), append_composite_type_field_raw(), arch_flags_type(), attach_fields_to_type(), build_gdb_vtable_type(), build_std_type_info_type(), coff_read_enum_type(), coff_read_struct_type(), copy_type_recursive(), cp_type_print_method_args(), create_array_type_with_stride(), create_set_type(), decode_base_type(), define_symbol(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), empty_record(), evaluate_subexp_standard(), finish_block_internal(), iq2000_pass_8bytetype_by_address(), java_link_class_type(), lookup_function_type_with_arguments(), make_params(), mips_n32n64_return_value(), mips_o32_return_value(), parse_symbol(), patch_type(), process_enumeration_scope(), quirk_gcc_member_function_pointer(), read_enum_type(), read_subroutine_type(), read_tag_ptr_to_member_type(), read_type(), recursive_dump_type(), resolve_dynamic_struct(), resolve_dynamic_union(), smash_to_method_type(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), and tyscm_field_smob_to_field().
#define TYPE_FIXED_INSTANCE | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_fixed_instance) |
The debugging formats (especially STABS) do not contain enough information to represent all Ada types—especially those whose size depends on dynamic quantities. Therefore, the GNAT Ada compiler includes extra information in the form of additional type definitions connected by naming conventions. This flag indicates that the type is an ordinary (unencoded) GDB type that has been created from the necessary run-time information, and does not need further interpretation. Optionally marks ordinary, fixed-size GDB type.
Definition at line 299 of file gdbtypes.h.
Referenced by ada_array_bound_from_type(), ada_template_to_fixed_record_type_1(), constrained_packed_array_type(), init_type(), recursive_dump_type(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_record_type(), to_record_with_fixed_variant_part(), and to_static_fixed_type().
#define TYPE_FLAG_ENUM | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_flag_enum) |
True if this type is a "flag" enum. A flag enum is one where all the values are pairwise disjoint when "and"ed together. This affects how enum values are printed.
Definition at line 340 of file gdbtypes.h.
Referenced by generic_val_print(), and update_enumeration_type_from_children().
#define TYPE_FLOATFORMAT | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.floatformat |
Definition at line 1320 of file gdbtypes.h.
Referenced by arch_float_type(), copy_type_recursive(), floatformat_from_type(), objfile_type(), and recursive_dump_type().
#define TYPE_FN_FIELD | ( | thisfn, | |
n | |||
) | (thisfn)[n] |
Definition at line 1422 of file gdbtypes.h.
#define TYPE_FN_FIELD_ABSTRACT | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_abstract) |
Definition at line 1436 of file gdbtypes.h.
Referenced by java_type_print_base().
#define TYPE_FN_FIELD_ARGS | ( | thisfn, | |
n | |||
) | TYPE_FIELDS ((thisfn)[n].type) |
Definition at line 1425 of file gdbtypes.h.
Referenced by dump_fn_fieldlists(), find_oload_champ(), and search_struct_method().
#define TYPE_FN_FIELD_ARTIFICIAL | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_artificial) |
Definition at line 1435 of file gdbtypes.h.
Referenced by c_type_print_base(), gnuv3_pass_by_reference(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELD_CONST | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_const) |
Definition at line 1426 of file gdbtypes.h.
Referenced by dump_fn_fieldlists().
#define TYPE_FN_FIELD_CONSTRUCTOR | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_constructor) |
Definition at line 1438 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, | |
n | |||
) | ((thisfn)[n].fcontext) |
Definition at line 1439 of file gdbtypes.h.
Referenced by dump_fn_fieldlists(), and gnuv2_virtual_fn_field().
#define TYPE_FN_FIELD_FINAL | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_final) |
Definition at line 1432 of file gdbtypes.h.
Referenced by java_type_print_base().
#define TYPE_FN_FIELD_NATIVE | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_native) |
Definition at line 1434 of file gdbtypes.h.
Referenced by java_type_print_base().
#define TYPE_FN_FIELD_PHYSNAME | ( | thisfn, | |
n | |||
) | (thisfn)[n].physname |
Definition at line 1423 of file gdbtypes.h.
Referenced by c_type_print_base(), check_stub_method(), check_stub_method_group(), compute_delayed_physnames(), dump_fn_fieldlists(), find_methods(), gdb_mangle_name(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), java_type_print_base(), pascal_type_print_base(), value_fn_field(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELD_PRIVATE | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_private) |
Definition at line 1428 of file gdbtypes.h.
Referenced by c_type_print_base(), dump_fn_fieldlists(), java_type_print_base(), and pascal_type_print_base().
#define TYPE_FN_FIELD_PROTECTED | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_protected) |
Definition at line 1429 of file gdbtypes.h.
Referenced by c_type_print_base(), dump_fn_fieldlists(), java_type_print_base(), and pascal_type_print_base().
#define TYPE_FN_FIELD_PUBLIC | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_public) |
Definition at line 1430 of file gdbtypes.h.
Referenced by java_type_print_base().
#define TYPE_FN_FIELD_STATIC | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_static) |
Definition at line 1431 of file gdbtypes.h.
Referenced by java_type_print_base().
#define TYPE_FN_FIELD_STATIC_P | ( | thisfn, | |
n | |||
) | ((thisfn)[n].voffset == VOFFSET_STATIC) |
Definition at line 1442 of file gdbtypes.h.
Referenced by c_type_print_base(), check_stub_method(), oload_method_static_p(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELD_STUB | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_stub) |
Definition at line 1437 of file gdbtypes.h.
Referenced by c_type_print_base(), check_stub_method(), check_stub_method_group(), dump_fn_fieldlists(), find_methods(), and java_type_print_base().
#define TYPE_FN_FIELD_SYNCHRONIZED | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_synchronized) |
Definition at line 1433 of file gdbtypes.h.
Referenced by java_type_print_base().
#define TYPE_FN_FIELD_TYPE | ( | thisfn, | |
n | |||
) | (thisfn)[n].type |
Definition at line 1424 of file gdbtypes.h.
Referenced by c_type_print_base(), check_stub_method(), dump_fn_fieldlists(), find_oload_champ(), gnuv2_virtual_fn_field(), gnuv3_pass_by_reference(), gnuv3_virtual_fn_field(), java_type_print_base(), pascal_type_print_base(), search_struct_method(), value_fn_field(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELD_VIRTUAL_P | ( | thisfn, | |
n | |||
) | ((thisfn)[n].voffset > 1) |
Definition at line 1441 of file gdbtypes.h.
Referenced by c_type_print_base(), compute_vtable_size(), find_overload_match(), gnuv3_dynamic_class(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELD_VOFFSET | ( | thisfn, | |
n | |||
) | ((thisfn)[n].voffset-2) |
Definition at line 1440 of file gdbtypes.h.
Referenced by compute_vtable_size(), dump_fn_fieldlists(), gnuv2_virtual_fn_field(), gnuv3_find_method_in(), gnuv3_virtual_fn_field(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELD_VOLATILE | ( | thisfn, | |
n | |||
) | ((thisfn)[n].is_volatile) |
Definition at line 1427 of file gdbtypes.h.
Referenced by dump_fn_fieldlists().
#define TYPE_FN_FIELDLIST | ( | thistype, | |
n | |||
) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n] |
Definition at line 1410 of file gdbtypes.h.
Referenced by check_field(), compute_delayed_physnames(), and dwarf2_attach_fn_fields_to_type().
#define TYPE_FN_FIELDLIST1 | ( | thistype, | |
n | |||
) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].fn_fields |
Definition at line 1411 of file gdbtypes.h.
Referenced by c_type_print_base(), check_stub_method(), check_stub_method_group(), compute_vtable_size(), dump_fn_fieldlists(), find_method_list(), find_methods(), gdb_mangle_name(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), java_type_print_base(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELDLIST_LENGTH | ( | thistype, | |
n | |||
) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].length |
Definition at line 1413 of file gdbtypes.h.
Referenced by c_type_print_base(), check_stub_method_group(), compute_vtable_size(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), find_method_list(), find_methods(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), java_type_print_base(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELDLIST_NAME | ( | thistype, | |
n | |||
) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists[n].name |
Definition at line 1412 of file gdbtypes.h.
Referenced by add_struct_fields(), c_type_print_base(), check_field(), check_stub_method_group(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), find_method_list(), find_methods(), gdb_mangle_name(), gnuv3_pass_by_reference(), is_type_conversion_operator(), java_type_print_base(), pascal_type_print_base(), search_struct_method(), and value_struct_elt_for_reference().
#define TYPE_FN_FIELDLISTS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->fn_fieldlists |
Definition at line 1409 of file gdbtypes.h.
Referenced by attach_fn_fields_to_type(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), java_link_class_type(), and read_member_functions().
#define TYPE_GNAT_SPECIFIC | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.gnat_stuff |
Definition at line 1321 of file gdbtypes.h.
Referenced by allocate_gnat_aux_type(), and recursive_dump_type().
#define TYPE_GNU_IFUNC | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_gnu_ifunc) |
Used only for TYPE_CODE_FUNC where it specifies the real function address is returned by this function call. TYPE_TARGET_TYPE determines the final returned function type to be presented to user.
Definition at line 318 of file gdbtypes.h.
Referenced by ada_evaluate_subexp(), convert_one_symbol(), evaluate_subexp_standard(), find_function_addr(), find_pc_partial_function_gnu_ifunc(), gcc_symbol_address(), and init_type().
#define TYPE_HIGH_BOUND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->high.data.const_val |
Definition at line 1248 of file gdbtypes.h.
Referenced by ada_discrete_type_high_bound(), ada_evaluate_subexp(), ada_is_redundant_range_encoding(), ada_modulus(), ada_tasks_inferior_data_sniffer(), gdbscm_type_range(), get_discrete_bounds(), get_long_set_bounds(), m2_is_long_set(), m2_is_long_set_of_type(), m2_print_bounds(), m2_range(), parse_type(), pascal_type_print_base(), pascal_val_print(), recursive_dump_type(), typy_range(), and value_f90_subarray().
#define TYPE_HIGH_BOUND_KIND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->high.kind |
Definition at line 1254 of file gdbtypes.h.
Referenced by c_type_print_varspec_suffix(), convert_array(), follow_types(), generate_vla_size(), and read_subrange_type().
#define TYPE_HIGH_BOUND_UNDEFINED | ( | range_type | ) | (TYPE_RANGE_DATA(range_type)->high.kind == PROP_UNDEFINED) |
Definition at line 1252 of file gdbtypes.h.
Referenced by ada_tasks_inferior_data_sniffer(), and recursive_dump_type().
#define TYPE_INCOMPLETE | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_incomplete) |
This flag is used to indicate that processing for this type is incomplete.
(Mostly intended for HP platforms, where class methods, for instance, can be encountered before their classes in the debug info; the incomplete type has to be marked so that the class and the method can be assigned correct types.)
Definition at line 277 of file gdbtypes.h.
Referenced by init_type(), and recursive_dump_type().
#define TYPE_INDEX_TYPE | ( | type | ) | TYPE_FIELD_TYPE (type, 0) |
Definition at line 1244 of file gdbtypes.h.
Referenced by ada_array_bound_from_type(), ada_array_length(), ada_index_type(), ada_is_redundant_index_type_desc(), ada_tasks_inferior_data_sniffer(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_slice_from_ptr(), ada_varobj_describe_simple_array_child(), ada_varobj_get_array_number_of_children(), ada_varobj_simple_array_elt(), c_describe_child(), c_type_print_varspec_suffix(), constrained_packed_array_type(), convert_array(), create_array_type_with_stride(), empty_array(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_standard(), follow_types(), gdbscm_type_range(), generate_vla_size(), get_array_bounds(), get_long_set_bounds(), is_dynamic_type_internal(), is_scalar_type_recursive(), m2_array(), m2_is_long_set(), m2_is_long_set_of_type(), m2_long_set(), m2_print_long_set(), m2_short_set(), m2_val_print(), pascal_type_print_base(), pascal_val_print(), print_array_type(), print_optional_low_bound(), resolve_dynamic_array(), to_fixed_array_type(), typy_range(), val_print_array_elements(), val_print_packed_array_elements(), value_bit_index(), value_cast(), value_f90_subarray(), value_slice(), value_subscript(), and value_subscript_packed().
#define TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL (TYPE_INSTANCE_FLAG_ADDRESS_CLASS_1 | TYPE_INSTANCE_FLAG_ADDRESS_CLASS_2) |
Definition at line 401 of file gdbtypes.h.
Referenced by address_space_int_to_name(), check_typedef(), make_type_with_address_space(), and read_tag_pointer_type().
#define TYPE_INSTANCE_FLAGS | ( | thistype | ) | (thistype)->instance_flags |
Definition at line 1225 of file gdbtypes.h.
Referenced by build_d_types(), c_type_print_modifier(), check_typedef(), check_types_equal(), cleanup_undefined_types_1(), cleanup_undefined_types_noname(), convert_type_basic(), copy_type(), copy_type_recursive(), gdbtypes_post_init(), make_atomic_type(), make_cv_type(), make_qualified_type(), make_restrict_type(), make_type_with_address_space(), make_unqualified_type(), make_vector_type(), recursive_dump_type(), and replace_type().
#define TYPE_IS_OPAQUE | ( | thistype | ) |
Definition at line 1455 of file gdbtypes.h.
Referenced by basic_lookup_transparent_type_1(), basic_lookup_transparent_type_quick(), block_find_non_opaque_type(), block_find_non_opaque_type_preferred(), and check_typedef().
#define TYPE_LENGTH | ( | thistype | ) | (thistype)->length |
Note that if thistype is a TYPEDEF type, you have to call check_typedef. But check_typedef does set the TYPE_LENGTH of the TYPEDEF type, so you only have to call check_typedef once. Since allocate_value calls check_typedef, TYPE_LENGTH (VALUE_TYPE (X)) is safe.
Definition at line 1237 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_ensure_varsize_limit(), ada_evaluate_subexp(), ada_print_type(), ada_printchar(), ada_printstr(), ada_promote_array_of_integrals(), ada_template_to_fixed_record_type_1(), ada_to_fixed_type_1(), ada_type_of_array(), ada_val_print_num(), ada_val_print_string(), ada_value_assign(), ada_value_binop(), ada_value_equal(), ada_value_primitive_packed_val(), ada_value_print(), ada_value_slice_from_ptr(), address_from_register(), address_to_signed_pointer(), allocate_optimized_out_value(), allocate_stub_method(), allocate_value_contents(), alpha_convert_register_p(), alpha_extract_return_value(), alpha_push_dummy_call(), alpha_register_to_value(), alpha_return_value(), alpha_store_return_value(), alpha_value_to_register(), 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_dummy(), can_use_hardware_watchpoint(), cast_into_complex(), check_condition(), check_typedef(), check_types_equal(), coerce_for_assign(), coerce_unspec_val_to_type(), coff_read_enum_type(), coff_read_struct_type(), collect_symbol(), compile_object_load(), constrained_packed_array_type(), convert_enum(), convert_float(), convert_int(), convert_struct_or_union(), 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_with_stride(), create_range_type(), create_set_type(), create_value(), cris_extract_return_value(), cris_push_dummy_call(), cris_return_value(), cris_store_return_value(), darwin_current_sos(), darwin_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_struct_tuple(), evaluate_subexp_c(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_opencl(), evaluate_subexp_standard(), execute_stack_op(), 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(), frame_unwind_got_optimized(), frv_extract_return_value(), frv_push_dummy_call(), frv_store_return_value(), ft32_extract_return_value(), ft32_return_value(), ft32_store_return_value(), gccgo_string_p(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), gdbscm_type_sizeof(), gdbscm_value_to_bytevector(), gdbscm_value_to_string(), gen_conversion(), gen_extend(), gen_fetch(), gen_ptrdiff(), gen_scale(), gen_sign_extend(), gen_sizeof(), gen_trace_static_fields(), gen_traced_pop(), generate_register_struct(), generic_emit_char(), generic_printstr(), generic_val_print(), 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_signed_type_minmax(), get_unsigned_type(), get_unsigned_type_max(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv3_baseclass_offset(), gnuv3_decode_method_ptr(), gnuv3_find_method_in(), gnuv3_make_method_ptr(), gnuv3_method_ptr_size(), gnuv3_method_ptr_to_value(), gnuv3_print_method_ptr(), gnuv3_rtti_type(), h8300_extract_return_value(), h8300_push_dummy_call(), h8300_store_return_value(), h8300_use_struct_convention(), h8300h_extract_return_value(), h8300h_return_value(), h8300h_store_return_value(), h8300h_use_struct_convention(), hppa32_push_dummy_call(), hppa32_return_value(), hppa64_floating_p(), hppa64_integral_or_pointer_p(), hppa64_push_dummy_call(), hppa64_return_value(), i386_16_byte_align_p(), i386_convert_register_p(), i386_darwin_arg_type_alignment(), i386_darwin_push_dummy_call(), i386_extract_return_value(), i386_m128_p(), i386_pseudo_register_read_into_value(), i386_pseudo_register_write(), i386_push_dummy_call(), i386_reg_struct_return_p(), i386_register_to_value(), i386_return_value(), i386_store_return_value(), i386_value_to_register(), i387_register_to_value(), ia64_extract_return_value(), ia64_push_dummy_call(), ia64_store_return_value(), ia64_use_struct_convention(), indirect_pieced_value(), init_array_element(), 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_synthetic_pointer(), lval_func_read(), lval_func_write(), m2_array(), m2_get_discrete_bounds(), m2_print_array_contents(), m2_val_print(), m32c_cat_read(), m32c_cat_write(), m32c_find_part(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_part_read(), m32c_push_dummy_call(), m32c_r3r2r1r0_read(), m32c_r3r2r1r0_write(), m32c_return_value(), m32r_extract_return_value(), m32r_push_dummy_call(), m32r_return_value(), m32r_store_return_value(), m68hc11_extract_return_value(), m68hc11_push_dummy_call(), m68hc11_return_value(), m68hc11_store_return_value(), m68k_extract_return_value(), m68k_push_dummy_call(), m68k_reg_struct_return_p(), m68k_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(), obsd_auxv_parse(), 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_aggregate_candidate(), ppc64_elfv2_abi_homogeneous_aggregate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_freg(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc64_sysv_abi_return_value_base(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppcnbsd_return_value(), print_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(), pyuw_sniffer(), 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_struct_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(), resolve_dynamic_struct(), resolve_dynamic_union(), restore_infcall_suspend_state(), rl78_address_to_pointer(), rl78_pointer_to_address(), rl78_push_dummy_call(), rl78_return_value(), rs6000_convert_register_p(), rs6000_lynx178_push_dummy_call(), rs6000_lynx178_return_value(), rs6000_push_dummy_call(), rs6000_return_value(), rx_push_dummy_call(), rx_return_value(), s390_effective_inner_type(), s390_function_arg_float(), s390_function_arg_integer(), s390_function_arg_vector(), s390_handle_arg(), s390_register_return_value(), s390_return_value(), s390_unwind_pseudo_register(), s390_value_from_register(), save_infcall_suspend_state(), scalar_binop(), 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_regs(), 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_bits_as_long(), unpack_double(), unpack_long(), unpack_value_bitfield(), unsigned_address_to_pointer(), unsigned_pointer_to_address(), unwind_infopy_add_saved_register(), update_watchpoint(), upgrade_type(), v850_eight_byte_align_p(), v850_extract_return_value(), v850_push_dummy_call(), v850_store_return_value(), v850_use_struct_convention(), val_print_array_elements(), val_print_packed_array_elements(), val_print_scalar_formatted(), val_print_string(), val_print_type_code_int(), valprint_check_validity(), valpy_nonzero(), valpy_string(), 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_bits_eq(), value_copy(), value_cstring(), value_entirely_covered_by_range_vector(), value_equal(), value_equal_contents(), value_fetch_lazy(), value_force_lval(), value_from_contents(), value_from_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(), vlscm_convert_bytevector(), vlscm_integer_fits_p(), 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(), xtensa_store_return_value(), and yyparse().
#define TYPE_LOW_BOUND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->low.data.const_val |
Definition at line 1246 of file gdbtypes.h.
Referenced by ada_discrete_type_low_bound(), ada_evaluate_subexp(), ada_is_redundant_range_encoding(), ada_tasks_inferior_data_sniffer(), adjust_type_signedness(), c_describe_child(), convert_array(), gdbscm_type_range(), get_discrete_bounds(), get_long_set_bounds(), has_negatives(), m2_is_long_set(), m2_is_long_set_of_type(), m2_print_bounds(), m2_range(), parse_type(), pascal_type_print_base(), recursive_dump_type(), typy_range(), and value_f90_subarray().
#define TYPE_LOW_BOUND_KIND | ( | range_type | ) | TYPE_RANGE_DATA(range_type)->low.kind |
Definition at line 1256 of file gdbtypes.h.
Referenced by convert_array().
#define TYPE_LOW_BOUND_UNDEFINED | ( | range_type | ) | (TYPE_RANGE_DATA(range_type)->low.kind == PROP_UNDEFINED) |
Definition at line 1250 of file gdbtypes.h.
Referenced by ada_tasks_inferior_data_sniffer(), and recursive_dump_type().
#define TYPE_MAIN_TYPE | ( | thistype | ) | (thistype)->main_type |
Definition at line 1226 of file gdbtypes.h.
Referenced by ada_to_fixed_type(), alloc_type(), alloc_type_arch(), alloc_type_instance(), class_types_same_p(), copy_type(), copy_type_recursive(), evaluate_subexp_standard(), internal_type_self_type(), make_params(), make_qualified_type(), replace_type(), set_type_self_type(), and smash_type().
#define TYPE_N_BASECLASSES | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->n_baseclasses |
Definition at line 1327 of file gdbtypes.h.
Referenced by add_struct_fields(), amd64_non_pod_p(), c_type_print_base(), check_field(), completion_list_add_fields(), compute_vtable_size(), convert_field(), cp_find_class_member(), cp_find_type_baseclass_by_name(), cp_lookup_nested_symbol_1(), cp_print_value(), cp_print_value_fields(), cp_type_print_derivation_info(), cplus_class_num_children(), cplus_describe_child(), cplus_number_of_children(), define_symbol(), distance_to_ancestor(), do_search_struct_field(), dwarf2_attach_fields_to_type(), dynamic_cast_check_1(), dynamic_cast_check_2(), enum_constant_from_type(), find_method_list(), find_methods(), find_symbol_in_baseclass(), gdbscm_field_baseclass_p(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), get_long_set_bounds(), get_vptr_fieldno(), gnuv2_baseclass_offset(), gnuv2_value_rtti_type(), gnuv3_dynamic_class(), gnuv3_find_method_in(), is_object_type(), is_unique_ancestor_worker(), java_link_class_type(), java_print_value_fields(), java_type_print_base(), java_type_print_derivation_info(), lookup_struct_elt_type(), m2_is_long_set(), m2_is_long_set_of_type(), m2_long_set(), m2_print_long_set(), m2_record_fields(), make_symbol_overload_list_adl_namespace(), pascal_object_print_value(), pascal_object_print_value_fields(), pascal_type_print_base(), pascal_type_print_derivation_info(), print_cplus_stuff(), process_structure_scope(), read_baseclasses(), read_tilde_fields(), recursively_update_typedef_hash(), search_struct_method(), value_primitive_field(), value_struct_elt_bitpos(), and value_struct_elt_for_reference().
#define TYPE_N_TEMPLATE_ARGUMENTS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->n_template_arguments |
Definition at line 1415 of file gdbtypes.h.
Referenced by add_template_parameters(), c_type_print_template_args(), cp_lookup_symbol_imports_or_template(), process_structure_scope(), and typy_template_argument().
#define TYPE_NAME | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->name |
Definition at line 1227 of file gdbtypes.h.
Referenced by ada_fixup_array_indexes_type(), ada_get_field_index(), ada_is_dispatch_table_ptr_type(), ada_is_interface_tag(), ada_is_redundant_range_encoding(), ada_is_system_address_type(), ada_language_arch_info(), ada_prefer_type(), ada_template_to_fixed_record_type_1(), ada_type_name(), arch_type(), arm_neon_double_type(), arm_neon_quad_type(), c_is_path_expr_parent(), c_print_type(), 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_lookup_bare_symbol(), 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(), gdbscm_type_name(), gen_expr_binop_rest(), gen_fetch(), i386_bnd_type(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), init_type(), inspect_type(), java_print_value_fields(), java_type_print_base(), java_val_print(), language_alloc_type_symbol(), language_lookup_primitive_type_1(), linux_get_siginfo_type(), 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(), 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_get_name(), typy_legacy_template_argument(), unwrap_value(), user_select_syms(), value_args_as_decimal(), value_cast(), value_cast_structs(), value_full_object(), vb_match(), windows_get_tlb_type(), and yyparse().
#define TYPE_NFIELDS | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->nfields |
Definition at line 1241 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_is_redundant_index_type_desc(), 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_enum(), ada_varobj_describe_struct_child(), ada_varobj_get_struct_number_of_children(), ada_which_variant_applies(), add_struct_fields(), 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_is_path_expr_parent(), c_number_of_children(), c_type_print_args(), c_type_print_base(), call_function_by_hand_dummy(), check_field(), check_types_equal(), coff_read_enum_type(), coff_read_struct_type(), compare_parameters(), compile_object_load(), compile_object_run(), completion_list_add_fields(), convert_char_literal(), convert_enum(), convert_func(), convert_struct_or_union(), copy_type_recursive(), cp_find_class_member(), cp_print_value_fields(), cp_type_print_method_args(), cplus_class_num_children(), create_array_type_with_stride(), create_set_type(), decode_base_type(), define_symbol(), desc_arity(), discrete_position(), do_search_struct_field(), dump_fn_fieldlists(), dwarf2_add_member_fn(), dwarf2_attach_fields_to_type(), dwarf2_compute_name(), dynamic_array_type(), empty_record(), enum_constant_from_type(), evaluate_struct_tuple(), 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(), gdbscm_type_field(), gdbscm_type_fields(), gdbscm_type_has_field_p(), gdbscm_type_next_field_x(), gdbscm_type_num_fields(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), generate_vla_size(), generic_val_print(), get_discrete_bounds(), get_long_set_bounds(), get_regs_type(), gnuv2_baseclass_offset(), gnuv3_pass_by_reference(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_reg_struct_return_p(), i386_return_value(), iq2000_pass_8bytetype_by_address(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_hfa(), 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(), ppc64_aggregate_candidate(), ppc64_sysv_abi_push_param(), print_array_type(), print_cplus_stuff(), print_enum_type(), print_field_values(), print_func_type(), print_record_field_types(), print_type_scalar(), print_unchecked_union_type(), print_variant_clauses(), process_enumeration_scope(), process_structure_scope(), quirk_gcc_member_function_pointer(), read_enum_type(), read_subroutine_type(), read_tag_ptr_to_member_type(), read_tilde_fields(), read_type(), recursive_dump_type(), resolve_dynamic_struct(), resolve_dynamic_union(), rx_push_dummy_call(), s390_effective_inner_type(), s390_push_dummy_call(), score_type_needs_double_align(), search_struct_method(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), sh_treat_as_flt_p(), sh_use_struct_convention(), sh_use_struct_convention_nofpu(), sixg_string_p(), slot_alignment_is_next_even(), smash_to_method_type(), sparc64_16_byte_align_p(), sparc64_extract_floating_fields(), sparc64_store_floating_fields(), store_regs(), symbols_are_identical_enums(), template_to_static_fixed_type(), tic6x_push_dummy_call(), to_fixed_array_type(), to_record_with_fixed_variant_part(), types_equal(), typy_getitem(), typy_has_key(), typy_iterator_iternext(), typy_length(), v850_eight_byte_align_p(), v850_use_struct_convention(), val_print_type_code_flags(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), value_val_atr(), and variant_field_index().
#define TYPE_NFN_FIELDS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC(thistype)->nfn_fields |
Definition at line 1307 of file gdbtypes.h.
Referenced by add_struct_fields(), attach_fn_fields_to_type(), c_type_print_base(), check_field(), compute_vtable_size(), dump_fn_fieldlists(), dwarf2_attach_fn_fields_to_type(), find_method_list(), find_methods(), gnuv3_dynamic_class(), gnuv3_find_method_in(), gnuv3_pass_by_reference(), java_link_class_type(), java_type_print_base(), pascal_type_print_base(), print_cplus_stuff(), read_member_functions(), recursive_dump_type(), search_struct_method(), value_struct_elt(), and value_struct_elt_for_reference().
#define TYPE_NO_RETURN | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->is_noreturn |
Definition at line 1324 of file gdbtypes.h.
Referenced by copy_type_recursive(), finish_command(), read_subroutine_type(), and return_command().
#define TYPE_NOSIGN | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_nosign) |
No sign for this type. In C++, "char", "signed char", and "unsigned char" are distinct types; so we need an extra flag to indicate the absence of a sign!
Definition at line 239 of file gdbtypes.h.
Referenced by arch_integer_type(), check_types_equal(), dwarf2_compute_name(), init_type(), rank_one_type(), read_base_type(), and recursive_dump_type().
#define TYPE_NOTTEXT | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_NOTTEXT) |
Not textual. By default, GDB treats all single byte integers as characters (or elements of strings) unless this flag is set.
Definition at line 311 of file gdbtypes.h.
Referenced by c_textual_element_type(), check_types_equal(), and recursive_dump_type().
#define TYPE_OBJFILE | ( | t | ) | (TYPE_OBJFILE_OWNED(t)? TYPE_OWNER(t).objfile : NULL) |
Definition at line 326 of file gdbtypes.h.
Referenced by ada_operator_check(), alloc_type_instance(), check_typedef(), copy_type(), copy_type_recursive(), get_vptr_fieldno(), make_cv_type(), make_qualified_type(), operator_check_standard(), preserve_one_internalvar(), preserve_one_value(), replace_type(), set_type(), type_name_no_tag_or_error(), typy_dealloc(), tyscm_copy_type_recursive(), and tyscm_type_map().
#define TYPE_OBJFILE_OWNED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_objfile_owned) |
Type owner. If TYPE_OBJFILE_OWNED is true, the type is owned by the objfile retrieved as TYPE_OBJFILE. Otherweise, the type is owned by an architecture; TYPE_OBJFILE is NULL in this case.
Definition at line 324 of file gdbtypes.h.
Referenced by add_dyn_prop(), alloc_type(), alloc_type_arch(), alloc_type_copy(), alloc_type_instance(), copy_type(), copy_type_recursive(), get_type_arch(), language_alloc_type_symbol(), recursive_dump_type(), and smash_type().
#define TYPE_OWNER | ( | t | ) | TYPE_MAIN_TYPE(t)->owner |
Definition at line 325 of file gdbtypes.h.
Referenced by alloc_type(), alloc_type_arch(), alloc_type_copy(), copy_type_recursive(), get_type_arch(), language_alloc_type_symbol(), recursive_dump_type(), and smash_type().
#define TYPE_POINTER_TYPE | ( | thistype | ) | (thistype)->pointer_type |
Definition at line 1230 of file gdbtypes.h.
Referenced by make_pointer_type(), make_qualified_type(), recursive_dump_type(), and yyparse().
#define TYPE_PROTOTYPED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_prototyped) |
This is a function type which appears to have a prototype. We need this for function calls in order to tell us if it's necessary to coerce the args, or to just do the standard conversions. This is used with a short field.
Definition at line 267 of file gdbtypes.h.
Referenced by c_type_print_args(), call_function_by_hand_dummy(), convert_func(), define_symbol(), init_type(), lookup_function_type_with_arguments(), m32c_push_dummy_call(), make_params(), parse_symbol(), read_subroutine_type(), read_type(), recursive_dump_type(), and rx_push_dummy_call().
#define TYPE_RANGE_DATA | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->flds_bnds.bounds |
Definition at line 1245 of file gdbtypes.h.
Referenced by check_types_equal(), convert_array(), copy_type_recursive(), create_array_type_with_stride(), create_range_type(), evaluate_subexp_for_sizeof(), generate_vla_size(), is_dynamic_type_internal(), parse_type(), read_subrange_type(), and resolve_dynamic_range().
#define TYPE_RAW_CPLUS_SPECIFIC | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.cplus_stuff |
Definition at line 1319 of file gdbtypes.h.
Referenced by allocate_cplus_struct_type(), internal_type_vptr_basetype(), internal_type_vptr_fieldno(), set_type_vptr_basetype(), and set_type_vptr_fieldno().
#define TYPE_REFERENCE_TYPE | ( | thistype | ) | (thistype)->reference_type |
Definition at line 1231 of file gdbtypes.h.
Referenced by make_qualified_type(), make_reference_type(), and recursive_dump_type().
#define TYPE_RESTRICT | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_RESTRICT) |
Restrict type. If this is set, the corresponding type has a restrict modifier.
Definition at line 356 of file gdbtypes.h.
Referenced by c_type_print_modifier(), convert_qualified(), cp_type_print_method_args(), and recursive_dump_type().
A helper macro that returns the name of a type or "unnamed type" if the type has no name.
Definition at line 1466 of file gdbtypes.h.
Referenced by c_print_token(), gnuv3_rtti_type(), hash_typedef_field(), print_one_vtable(), update_search_result(), and yyparse().
#define TYPE_SELF_TYPE | ( | thistype | ) | internal_type_self_type (thistype) |
Definition at line 1295 of file gdbtypes.h.
Referenced by c_type_print_varspec_prefix(), copy_type_recursive(), cp_print_class_member(), evaluate_subexp_standard(), find_overload_match(), gnuv3_method_ptr_to_value(), gnuv3_print_method_ptr(), pascal_type_print_varspec_prefix(), read_member_functions(), recursive_dump_type(), smash_to_methodptr_type(), and value_struct_elt_for_reference().
#define TYPE_SPECIFIC_FIELD | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific_field |
Definition at line 1308 of file gdbtypes.h.
Referenced by allocate_cplus_struct_type(), allocate_gnat_aux_type(), copy_type_recursive(), func_addr_to_tail_call_list(), init_type(), internal_type_self_type(), internal_type_vptr_basetype(), recursive_dump_type(), and set_type_self_type().
#define TYPE_STATIC | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_static) |
Static type. If this is set, the corresponding type had a static modifier. Note: This may be unnecessary, since static data members are indicated by other means (bitpos == -1).
Definition at line 260 of file gdbtypes.h.
Referenced by init_type(), and recursive_dump_type().
#define TYPE_STUB | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_stub) |
This appears in a type's flags word if it is a stub type (e.g., if someone referenced a type that wasn't defined in a source file via (struct sir_not_appearing_in_this_film *)).
Definition at line 245 of file gdbtypes.h.
Referenced by ada_check_typedef(), ada_to_fixed_type_1(), allocate_stub_method(), c_type_print_base(), check_stub_method(), check_typedef(), cleanup_undefined_types_1(), create_range_type(), create_set_type(), desc_bounds(), init_type(), java_type_print_base(), m2_val_print(), parse_symbol(), pascal_type_print_base(), pascal_val_print(), print_selected_record_field_types(), read_enum_type(), read_enumeration_type(), read_member_functions(), read_struct_type(), read_structure_type(), read_type(), recursive_dump_type(), remove_extra_symbols(), and val_print().
#define TYPE_STUB_SUPPORTED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_stub_supported) |
This debug target supports TYPE_STUB(t). In the unsupported case we have to rely on NFIELDS to be zero etc., see TYPE_IS_OPAQUE(). TYPE_STUB(t) with !TYPE_STUB_SUPPORTED(t) may exist if we only guessed the TYPE_STUB(t) value (see dwarfread.c).
Definition at line 306 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 |
Definition at line 1228 of file gdbtypes.h.
Referenced by ada_check_typedef(), ada_template_to_fixed_record_type_1(), ada_type_name(), add_class_symbol(), add_undefined_type(), arch_composite_type(), build_gdb_vtable_type(), build_std_type_info_type(), c_is_path_expr_parent(), c_type_print_base(), check_types_equal(), cleanup_undefined_types_1(), complain_about_struct_wipeout(), copy_type_recursive(), decode_base_type(), define_symbol(), determine_prefix(), empty_record(), enum_constant_from_type(), evaluate_subexp_java(), evaluate_subexp_standard(), f_type_print_base(), find_size_for_pointer_math(), fixup_go_packaging(), gdbscm_type_tag(), gen_maybe_namespace_elt(), gen_namespace_elt(), gen_struct_ref(), inspect_type(), is_object_type(), java_link_class_type(), java_type_print_base(), java_value_print(), m2_enum(), m2_long_set(), m2_record_fields(), parse_symbol(), parse_type(), pascal_type_print_base(), print_symbol(), process_coff_symbol(), process_structure_scope(), read_enumeration_type(), read_module_type(), read_namespace_type(), read_structure_type(), read_type(), recursive_dump_type(), sixg_string_p(), tdesc_gdb_type(), template_to_static_fixed_type(), to_record_with_fixed_variant_part(), type_from_class(), type_name_no_tag(), typy_get_tag(), value_maybe_namespace_elt(), and value_namespace_elt().
#define TYPE_TAIL_CALL_LIST | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->type_specific.func_stuff->tail_call_list |
Definition at line 1325 of file gdbtypes.h.
Referenced by call_site_find_chain_1(), copy_type_recursive(), func_verify_no_selftailcall(), and read_call_site_scope().
#define TYPE_TARGET_STUB | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_target_stub) |
The target type of this type is a stub type, and this type needs to be updated if it gets un-stubbed in check_typedef. Used for arrays and ranges, in which TYPE_LENGTH of the array/range gets set based on the TYPE_LENGTH of the target type. Also, set for TYPE_CODE_TYPEDEF.
Definition at line 253 of file gdbtypes.h.
Referenced by check_typedef(), create_array_type_with_stride(), create_range_type(), init_type(), linux_get_siginfo_type(), read_type(), recursive_dump_type(), and upgrade_type().
#define TYPE_TARGET_TYPE | ( | thistype | ) | TYPE_MAIN_TYPE(thistype)->target_type |
Definition at line 1229 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_array_length(), ada_coerce_to_simple_array(), ada_convert_actual(), ada_evaluate_subexp(), ada_get_base_type(), ada_index_type(), ada_is_array_type(), ada_is_dispatch_table_ptr_type(), ada_is_redundant_index_type_desc(), ada_is_simple_array_type(), ada_is_tag_type(), ada_is_variant_part(), ada_lookup_struct_elt_type(), ada_parent_type(), ada_print_scalar(), ada_print_type(), ada_promote_array_of_integrals(), ada_tasks_inferior_data_sniffer(), ada_template_to_fixed_record_type_1(), ada_type_match(), ada_typedef_target_type(), ada_val_print_num(), ada_val_print_ref(), ada_val_print_string(), ada_value_print(), ada_value_ptr_subscript(), ada_value_slice(), ada_value_slice_from_ptr(), ada_value_struct_elt(), ada_variant_discrim_name(), ada_varobj_adjust_for_child_access(), ada_varobj_describe_simple_array_child(), ada_varobj_get_ptr_number_of_children(), ada_varobj_ind(), ada_varobj_simple_array_elt(), add_array_cv_type(), allocate_stub_method(), amd64_classify_aggregate(), arch_complex_type(), 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_dummy(), can_dereference(), cast_into_complex(), check_stub_method(), check_typedef(), check_types_equal(), classify_type(), coerce_for_assign(), coerce_ref(), compile_object_load(), constrained_packed_array_type(), convert_array(), convert_complex(), convert_func(), convert_pointer(), copy_type_recursive(), cp_is_vtbl_member(), cp_lookup_bare_symbol(), cp_print_static_field(), cp_type_print_method_args(), create_array_type_with_stride(), create_range_type(), create_value(), 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_address(), 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(), gdbscm_type_target(), gdbscm_value_dynamic_type(), gen_deref(), gen_fetch(), gen_ptrdiff(), gen_scale(), gen_traced_pop(), gen_usual_unary(), generate_vla_size(), generic_val_print(), get_base_type(), get_out_value_type(), get_regs_type(), get_target_type(), gnuv2_virtual_fn_field(), gnuv3_get_typeid(), gnuv3_method_ptr_to_value(), gnuv3_pass_by_reference(), go_print_type(), hppa64_push_dummy_call(), i386_16_byte_align_p(), ia64_push_dummy_call(), indirect_pieced_value(), inspect_type(), integer_type_p(), iq2000_address_to_pointer(), iq2000_pass_8bytetype_by_address(), iq2000_pointer_to_address(), is_dynamic_type_internal(), is_float_or_hfa_type_recurse(), is_hfa(), 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(), lval_func_check_synthetic_pointer(), lval_func_read(), lval_func_write(), m2_array(), m2_is_long_set_of_type(), m2_pointer(), m2_print_bounds(), m2_print_long_set(), m2_print_unbounded_array(), m2_procedure(), m2_range(), m2_ref(), m2_typedef(), m2_unbounded_array(), m2_val_print(), m32c_m16c_address_to_pointer(), m32c_m16c_pointer_to_address(), m32c_push_dummy_call(), make_function_type(), make_pointer_type(), make_reference_type(), make_symbol_overload_list_adl_namespace(), make_types(), make_vector_type(), 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_aggregate_candidate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), print_array_type(), print_func_type(), print_go_string(), print_optional_low_bound(), print_range(), print_range_type(), print_type_scalar(), print_unpacked_pointer(), print_variable_at_address(), print_variant_clauses(), process_coff_symbol(), ptrmath_type_p(), quirk_gcc_member_function_pointer(), rank_one_type(), read_base_type(), read_enumeration_type(), read_fat_string_value(), read_range_type(), read_sun_floating_type(), read_tag_ptr_to_member_type(), read_type(), read_typedef(), readjust_indirect_value_type(), recursive_dump_type(), resolve_dynamic_array(), resolve_dynamic_range(), resolve_dynamic_struct(), resolve_dynamic_type_internal(), return_command(), return_match(), rl78_gdbarch_init(), rl78_pointer_to_address(), rs6000_builtin_type(), rx_push_dummy_call(), s390_push_dummy_call(), sh_is_renesas_calling_convention(), slot_alignment_is_next_even(), smash_to_memberptr_type(), smash_to_method_type(), smash_to_methodptr_type(), sparc32_struct_return_from_sym(), 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(), type_is_full_subrange_of_target_type(), typecmp(), types_equal(), typy_get_composite(), typy_target(), typy_template_argument(), tyscm_get_composite(), unop_user_defined_p(), v850_use_struct_convention(), val_print_array_elements(), val_print_packed_array_elements(), val_print_scalar_type_p(), valpy_get_dynamic_type(), value_actual_type(), value_addr(), value_arg_coerce(), value_cast(), value_cast_pointers(), value_coerce_array(), value_complement(), value_concat(), value_dynamic_cast(), value_has_field(), value_in(), value_ind(), value_literal_complex(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_ptrdiff(), value_reinterpret_cast(), value_slice(), value_struct_elt_for_reference(), value_subscript_packed(), value_subscripted_rvalue(), value_vector_widen(), value_x_binop(), value_x_unop(), vb_match(), vector_binop(), vector_relop(), watch_command_1(), whatis_exp(), windows_get_tlb_type(), xstormy16_address_to_pointer(), xstormy16_pointer_to_address(), and yyparse().
#define TYPE_TEMPLATE_ARGUMENT | ( | thistype, | |
n | |||
) | TYPE_CPLUS_SPECIFIC (thistype)->template_arguments[n] |
Definition at line 1419 of file gdbtypes.h.
Referenced by add_template_parameters(), c_type_print_template_args(), and typy_template_argument().
#define TYPE_TEMPLATE_ARGUMENTS | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->template_arguments |
Definition at line 1417 of file gdbtypes.h.
Referenced by cp_lookup_symbol_imports_or_template(), and process_structure_scope().
#define TYPE_TYPEDEF_FIELD | ( | thistype, | |
n | |||
) | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field[n] |
Definition at line 1446 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 1444 of file gdbtypes.h.
Referenced by process_structure_scope().
#define TYPE_TYPEDEF_FIELD_COUNT | ( | thistype | ) | TYPE_CPLUS_SPECIFIC (thistype)->typedef_field_count |
Definition at line 1452 of file gdbtypes.h.
Referenced by c_type_print_base(), process_structure_scope(), and recursively_update_typedef_hash().
#define TYPE_TYPEDEF_FIELD_NAME | ( | thistype, | |
n | |||
) | TYPE_TYPEDEF_FIELD (thistype, n).name |
Definition at line 1448 of file gdbtypes.h.
Referenced by c_type_print_base().
#define TYPE_TYPEDEF_FIELD_TYPE | ( | thistype, | |
n | |||
) | TYPE_TYPEDEF_FIELD (thistype, n).type |
Definition at line 1450 of file gdbtypes.h.
Referenced by c_type_print_base().
#define TYPE_UNSIGNED | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_unsigned) |
Unsigned integer type. If this is not set for a TYPE_CODE_INT, the type is signed (unless TYPE_FLAG_NOSIGN (below) is set).
Definition at line 233 of file gdbtypes.h.
Referenced by aarch64_push_dummy_call(), ada_is_modular_type(), ada_print_scalar(), ada_value_binop(), ada_value_print(), adjust_type_signedness(), arch_boolean_type(), arch_character_type(), arch_flags_type(), arch_integer_type(), avr_gdbarch_init(), base_types_equal_p(), binop_promote(), check_types_equal(), coff_read_enum_type(), convert_enum(), convert_int(), create_range_type(), create_set_type(), create_value(), decimal_from_integral(), define_symbol(), evaluate_subexp_opencl(), execute_stack_op(), gdbscm_value_to_integer(), gen_binop(), gen_bitfield_ref(), gen_conversion(), gen_extend(), gen_sign_extend(), generate_register_struct(), generic_val_print(), get_discrete_bounds(), get_signed_type_minmax(), get_unsigned_type_max(), has_negatives(), init_type(), lookup_opencl_vector_type(), m2_get_discrete_bounds(), make_pointer_type(), make_types(), max_of_type(), min_of_type(), mips_n32n64_push_dummy_call(), parse_symbol(), print_scalar_formatted(), print_type_scalar(), rank_one_type(), read_enum_type(), read_enumeration_type(), read_subrange_type(), recursive_dump_type(), rl78_gdbarch_init(), s390_handle_arg(), s390_register_return_value(), scalar_binop(), type_wider_than(), unpack_bits_as_long(), unpack_double(), unpack_long(), update_enumeration_type_from_children(), val_print_type_code_int(), value_assign(), vector_binop(), vector_relop(), vlscm_convert_typed_number(), and vlscm_integer_fits_p().
#define TYPE_VARARGS | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_varargs) |
FIXME drow/2002-06-03: Only used for methods, but applies as well to functions.
Definition at line 282 of file gdbtypes.h.
Referenced by arm_vfp_abi_for_function(), c_type_print_args(), check_types_equal(), convert_func(), cp_type_print_method_args(), dwarf2_add_member_fn(), init_type(), lookup_function_type_with_arguments(), make_params(), quirk_gcc_member_function_pointer(), read_subroutine_type(), read_tag_ptr_to_member_type(), recursive_dump_type(), rx_push_dummy_call(), s390_push_dummy_call(), search_struct_method(), sh_push_dummy_call_fpu(), sh_push_dummy_call_nofpu(), smash_to_method_type(), and tic6x_push_dummy_call().
#define TYPE_VECTOR | ( | t | ) | (TYPE_MAIN_TYPE (t)->flag_vector) |
Identify a vector type. Gcc is handling this by adding an extra attribute to the array type. We slurp that in as a new flag of a type. This is used only in dwarf2read.c.
Definition at line 287 of file gdbtypes.h.
Referenced by arm_neon_double_type(), arm_neon_quad_type(), c_print_type(), c_type_print_varspec_suffix(), check_types_equal(), coerce_array(), convert_array(), default_print_one_register_info(), default_register_reggroup_p(), do_ppc_sysv_return_value(), evaluate_subexp_opencl(), evaluate_subexp_with_coercion(), i386_16_byte_align_p(), i386_darwin_arg_type_alignment(), i386_m128_p(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), ia64_register_reggroup_p(), init_type(), lookup_opencl_vector_type(), make_vector_type(), mips_register_reggroup_p(), opencl_logical_not(), opencl_print_type(), opencl_relop(), opencl_value_cast(), ppc64_aggregate_candidate(), ppc64_elfv2_abi_homogeneous_aggregate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc64_sysv_abi_return_value_base(), ppc_linux_return_value(), ppc_sysv_abi_push_dummy_call(), ppcnbsd_return_value(), ptrmath_type_p(), recursive_dump_type(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), rs6000_lynx178_return_value(), rs6000_return_value(), s390_function_arg_vector(), s390_return_value(), spu_builtin_type_vec128(), spu_return_value(), tdesc_gdb_type(), value_arg_coerce(), value_binop(), value_cast(), value_complement(), value_must_coerce_to_target(), value_neg(), value_one(), value_pos(), value_vector_widen(), vector_binop(), and vector_relop().
#define TYPE_VOLATILE | ( | t | ) | (TYPE_INSTANCE_FLAGS (t) & TYPE_INSTANCE_FLAG_VOLATILE) |
Volatile type. If this is set, the corresponding type has a volatile modifier.
Definition at line 350 of file gdbtypes.h.
Referenced by add_array_cv_type(), c_type_print_modifier(), convert_qualified(), cp_type_print_method_args(), create_value(), follow_types(), read_subroutine_type(), read_tag_const_type(), read_type(), recursive_dump_type(), and value_rtti_indirect_type().
#define TYPE_VPTR_BASETYPE | ( | thistype | ) | internal_type_vptr_basetype (thistype) |
Definition at line 1305 of file gdbtypes.h.
Referenced by get_vptr_fieldno(), gnuv2_virtual_fn_field(), and print_cplus_stuff().
#define TYPE_VPTR_FIELDNO | ( | thistype | ) | internal_type_vptr_fieldno (thistype) |
Definition at line 1304 of file gdbtypes.h.
Referenced by get_vptr_fieldno(), gnuv2_value_rtti_type(), print_cplus_stuff(), process_structure_scope(), and read_tilde_fields().
#define TYPE_ZALLOC | ( | t, | |
size | |||
) |
Definition at line 1636 of file gdbtypes.h.
Referenced by arch_flags_type(), create_array_type_with_stride(), create_range_type(), create_set_type(), lookup_function_type_with_arguments(), make_params(), parse_type(), and read_subroutine_type().
#define VOFFSET_STATIC 1 |
Definition at line 895 of file gdbtypes.h.
Referenced by dwarf2_add_member_fn(), and read_member_functions().
Definition at line 1092 of file gdbtypes.h.
enum dynamic_prop_kind |
Enumerator | |
---|---|
PROP_UNDEFINED | |
PROP_CONST | |
PROP_ADDR_OFFSET | |
PROP_LOCEXPR | |
PROP_LOCLIST |
Definition at line 406 of file gdbtypes.h.
Define a type's dynamic property node kind.
Enumerator | |
---|---|
DYN_PROP_DATA_LOCATION |
Definition at line 438 of file gdbtypes.h.
enum field_loc_kind |
Determine which field of the union main_type.fields[x].loc is used.
Enumerator | |
---|---|
FIELD_LOC_KIND_BITPOS |
bitpos |
FIELD_LOC_KIND_ENUMVAL |
enumval |
FIELD_LOC_KIND_PHYSADDR |
physaddr |
FIELD_LOC_KIND_PHYSNAME |
physname |
FIELD_LOC_KIND_DWARF_BLOCK |
Definition at line 461 of file gdbtypes.h.
enum type_code |
Different kinds of data types are distinguished by the `code' field.
Definition at line 85 of file gdbtypes.h.
enum type_flag_value |
Some constants representing each bit field in the main_type. See the bit-field-specific macros, below, for documentation of each constant in this enum. These enum values are only used with init_type. Note that the values are chosen not to conflict with type_instance_flag_value; this lets init_type error-check its input.
Definition at line 194 of file gdbtypes.h.
Some bits for the type's instance_flags word. See the macros below for documentation on each bit. Note that if you add a value here, you must update the enum type_flag_value as well.
Definition at line 217 of file gdbtypes.h.
enum type_specific_kind |
A discriminant to determine which field in the main_type.type_specific union is being used, if any.
For types such as TYPE_CODE_FLT, the use of this discriminant is really redundant, as we know from the type code which field is going to be used. As such, it would be possible to reduce the size of this enum in order to save a bit or two for other fields of struct main_type. But, since we still have extra room , and for the sake of clarity and consistency, we treat all fields of the union the same way.
Enumerator | |
---|---|
TYPE_SPECIFIC_NONE | |
TYPE_SPECIFIC_CPLUS_STUFF | |
TYPE_SPECIFIC_GNAT_STUFF | |
TYPE_SPECIFIC_FLOATFORMAT | |
TYPE_SPECIFIC_FUNC | |
TYPE_SPECIFIC_SELF_TYPE |
Definition at line 481 of file gdbtypes.h.
void add_dyn_prop | ( | enum dynamic_prop_node_kind | kind, |
struct dynamic_prop | prop, | ||
struct type * | type, | ||
struct objfile * | objfile | ||
) |
Given a dynamic property PROP of a given KIND, add this dynamic property to the given TYPE.
This function assumes that TYPE is objfile-owned, and that OBJFILE is the TYPE's objfile.
Definition at line 2171 of file gdbtypes.c.
References gdb_assert, dynamic_prop_list::next, objfile::objfile_obstack, dynamic_prop_list::prop, dynamic_prop_list::prop_kind, TYPE_DYN_PROP_LIST, and TYPE_OBJFILE_OWNED.
Referenced by set_die_type().
Definition at line 550 of file gdbtypes.c.
References gdbarch_address_class_type_flags_to_name(), gdbarch_address_class_type_flags_to_name_p(), TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, TYPE_INSTANCE_FLAG_CODE_SPACE, and TYPE_INSTANCE_FLAG_DATA_SPACE.
Referenced by c_type_print_modifier().
Definition at line 528 of file gdbtypes.c.
References _, error(), gdbarch_address_class_name_to_type_flags(), gdbarch_address_class_name_to_type_flags_p(), TYPE_INSTANCE_FLAG_CODE_SPACE, and TYPE_INSTANCE_FLAG_DATA_SPACE.
Referenced by insert_type_address_space().
Definition at line 165 of file gdbtypes.c.
References gdb_assert, objfile::objfile_obstack, OBJSTAT, OBSTACK_ZALLOC, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_UNDEF, TYPE_MAIN_TYPE, TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by alloc_type_copy(), coff_alloc_type(), dbx_alloc_type(), dwarf2_add_member_fn(), init_type(), new_type(), quirk_gcc_member_function_pointer(), read_enumeration_type(), read_structure_type(), read_tag_ptr_to_member_type(), and type_from_class().
Definition at line 193 of file gdbtypes.c.
References gdb_assert, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_UNDEF, TYPE_MAIN_TYPE, TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by alloc_type_copy(), arch_type(), check_typedef(), and copy_type_recursive().
Definition at line 220 of file gdbtypes.c.
References alloc_type(), alloc_type_arch(), TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by ada_template_to_fixed_record_type_1(), ada_type_of_array(), allocate_stub_method(), constrained_packed_array_type(), copy_type(), create_array_type_with_stride(), create_range_type(), create_set_type(), empty_record(), lookup_memberptr_type(), lookup_methodptr_type(), make_function_type(), make_pointer_type(), make_reference_type(), template_to_static_fixed_type(), to_fixed_array_type(), to_fixed_range_type(), and to_record_with_fixed_variant_part().
void allocate_cplus_struct_type | ( | struct type * | ) |
Definition at line 2580 of file gdbtypes.c.
References HAVE_CPLUS_STRUCT, set_type_vptr_fieldno(), TYPE_ALLOC, TYPE_RAW_CPLUS_SPECIFIC, TYPE_SPECIFIC_CPLUS_STUFF, and TYPE_SPECIFIC_FIELD.
void allocate_gnat_aux_type | ( | struct type * | ) |
Definition at line 2601 of file gdbtypes.c.
References TYPE_ALLOC, TYPE_GNAT_SPECIFIC, TYPE_SPECIFIC_FIELD, and TYPE_SPECIFIC_GNAT_STUFF.
Definition at line 808 of file gdbtypes.c.
References alloc_type_copy(), type, TYPE_CODE, TYPE_CODE_METHOD, TYPE_LENGTH, TYPE_STUB, and TYPE_TARGET_TYPE.
Referenced by read_type().
Definition at line 4757 of file gdbtypes.c.
References append_composite_type_field_aligned().
Referenced by aarch64_vnb_type(), aarch64_vnd_type(), aarch64_vnh_type(), aarch64_vnq_type(), aarch64_vns_type(), arm_neon_double_type(), arm_neon_quad_type(), i386_bnd_type(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), linux_get_siginfo_type(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), spu_builtin_type_vec128(), tdesc_gdb_type(), and windows_get_tlb_type().
void append_composite_type_field_aligned | ( | struct type * | t, |
char * | name, | ||
struct type * | field, | ||
int | alignment | ||
) |
Definition at line 4717 of file gdbtypes.c.
References append_composite_type_field_raw(), FIELD_BITPOS, FIELD_TYPE, SET_FIELD_BITPOS, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_LENGTH, and TYPE_NFIELDS.
Referenced by append_composite_type_field(), and linux_get_siginfo_type().
Definition at line 4698 of file gdbtypes.c.
References FIELD_NAME, FIELD_TYPE, name, TYPE_FIELDS, TYPE_NFIELDS, and xrealloc().
Referenced by append_composite_type_field_aligned(), and tdesc_gdb_type().
Definition at line 4660 of file gdbtypes.c.
References gdb_assert, SET_FIELD_BITPOS, TYPE_CODE, TYPE_CODE_FLAGS, TYPE_FIELD, TYPE_FIELD_NAME, and TYPE_NFIELDS.
Referenced by m68k_ps_type(), rl78_gdbarch_init(), rx_gdbarch_init(), sparc64_fprs_type(), sparc64_fsr_type(), sparc64_pstate_type(), sparc_fsr_type(), sparc_psr_type(), and tdesc_gdb_type().
Definition at line 4588 of file gdbtypes.c.
References arch_type(), TARGET_CHAR_BIT, TYPE_CODE_BOOL, and TYPE_UNSIGNED.
Referenced by build_d_types(), build_fortran_types(), build_go_types(), build_java_types(), build_m2_types(), and build_opencl_types().
Definition at line 4571 of file gdbtypes.c.
References arch_type(), TARGET_CHAR_BIT, TYPE_CODE_CHAR, and TYPE_UNSIGNED.
Referenced by build_d_types(), build_go_types(), build_java_types(), build_m2_types(), and gdbtypes_post_init().
Definition at line 4628 of file gdbtypes.c.
References arch_type(), TYPE_CODE_COMPLEX, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by build_d_types(), build_fortran_types(), build_go_types(), and gdbtypes_post_init().
Definition at line 4682 of file gdbtypes.c.
References arch_type(), gdb_assert, INIT_CPLUS_SPECIFIC, name, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_TAG_NAME.
Referenced by aarch64_vnb_type(), aarch64_vnd_type(), aarch64_vnh_type(), aarch64_vnq_type(), aarch64_vns_type(), arm_neon_double_type(), arm_neon_quad_type(), i386_bnd_type(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), linux_get_siginfo_type(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), spu_builtin_type_vec128(), tdesc_gdb_type(), and windows_get_tlb_type().
Definition at line 4643 of file gdbtypes.c.
References arch_type(), TARGET_CHAR_BIT, type, TYPE_CODE_FLAGS, TYPE_FIELDS, TYPE_NFIELDS, TYPE_UNSIGNED, and TYPE_ZALLOC.
Referenced by m68k_ps_type(), rl78_gdbarch_init(), rx_gdbarch_init(), sparc64_fprs_type(), sparc64_fsr_type(), sparc64_pstate_type(), sparc_fsr_type(), sparc_psr_type(), and tdesc_gdb_type().
Definition at line 4606 of file gdbtypes.c.
References arch_type(), gdb_assert, TARGET_CHAR_BIT, TYPE_CODE_FLT, and TYPE_FLOATFORMAT.
Referenced by ada_language_arch_info(), arm_ext_type(), build_d_types(), build_fortran_types(), build_go_types(), build_java_types(), build_m2_types(), build_opencl_types(), gdbtypes_post_init(), ia64_ext_type(), m68881_ext_type(), and tdesc_gdb_type().
Definition at line 4552 of file gdbtypes.c.
References arch_type(), TARGET_CHAR_BIT, TYPE_CODE_INT, TYPE_NOSIGN, and TYPE_UNSIGNED.
Referenced by ada_language_arch_info(), build_d_types(), build_fortran_types(), build_gdb_vtable_type(), build_go_types(), build_java_types(), build_m2_types(), build_opencl_types(), dwarf_expr_address_type(), gdbtypes_post_init(), linux_get_siginfo_type(), linux_make_mappings_corefile_notes(), make_types(), rl78_gdbarch_init(), windows_get_tlb_type(), and xtensa_register_type().
Definition at line 4532 of file gdbtypes.c.
References alloc_type_arch(), code, type::length, type, TYPE_CODE, TYPE_LENGTH, and TYPE_NAME.
Referenced by ada_language_arch_info(), arch_boolean_type(), arch_character_type(), arch_complex_type(), arch_composite_type(), arch_flags_type(), arch_float_type(), arch_integer_type(), avr_gdbarch_init(), build_d_types(), build_fortran_types(), build_gdb_vtable_type(), build_go_types(), build_java_types(), build_opencl_types(), build_std_type_info_type(), finalize_symtab(), gdbtypes_post_init(), linux_get_siginfo_type(), make_types(), rl78_gdbarch_init(), and windows_get_tlb_type().
const struct builtin_type* builtin_type | ( | struct gdbarch * | gdbarch | ) |
Return the type table for the specified architecture.
Definition at line 4766 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_evaluate_subexp(), ada_language_arch_info(), ada_tag_value_at_base_address(), ada_tasks_inferior_data_sniffer(), ada_val_print_num(), address_from_register(), alpha_push_dummy_call(), alpha_register_type(), alpha_store_return_value(), amd64_x32_pseudo_register_type(), arm_neon_double_type(), arm_neon_quad_type(), arm_register_type(), assign_component(), avr_register_type(), bfin_register_type(), binop_promote(), bsd_uthread_read_memory_address(), build_gdb_vtable_type(), build_std_type_info_type(), c_language_arch_info(), call_function_by_hand_dummy(), call_site_to_target_addr(), compile_object_load(), compile_probe_arg(), cplus_language_arch_info(), cris_register_type(), crisv32_register_type(), darwin_current_sos(), darwin_load_image_infos(), darwin_read_exec_load_addr(), do_examine(), dtrace_process_dof_probe(), 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(), ft32_register_type(), gdbscm_arch_builtin_type(), 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_bnd_type(), i386_mmx_type(), i386_mpx_get_bt_entry(), i386_mpx_info_bounds(), i386_mpx_set_bounds(), i386_pseudo_register_type(), i386_ymm_type(), i386_zmm_type(), ia64_register_type(), iq2000_register_type(), jit_read_code_entry(), jit_read_descriptor(), ld_so_xfer_auxv(), lm32_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(), obsd_auxv_parse(), open_symbol_file_object(), parse_c_float(), parse_go_float(), pascal_language_arch_info(), ppscm_print_string_repr(), print_scalar_formatted(), print_string_repr(), printf_decfloat(), proc_watchpoint_address(), 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_nsstring(), value_of_builtin_frame_fp_reg(), value_of_builtin_frame_pc_reg(), varobj_value_get_print_value(), vax_register_type(), vlscm_convert_bytevector(), vlscm_convert_number(), xstormy16_register_type(), xtensa_push_dummy_call(), and xtensa_register_type().
Definition at line 2678 of file gdbtypes.c.
References CHECK_TYPEDEF, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_VOID, and TYPE_TARGET_TYPE.
Referenced by print_value_flags().
Definition at line 2538 of file gdbtypes.c.
References check_stub_method(), len, startswith(), TYPE_FN_FIELD_PHYSNAME, TYPE_FN_FIELD_STUB, TYPE_FN_FIELDLIST1, TYPE_FN_FIELDLIST_LENGTH, and TYPE_FN_FIELDLIST_NAME.
Referenced by find_method_list(), gnuv3_find_method_in(), search_struct_method(), and value_struct_elt_for_reference().
Definition at line 2217 of file gdbtypes.c.
References alloc_type_arch(), check_typedef(), currently_reading_symtab, gdb_assert, get_type_arch(), type::instance_flags, lookup_symbol(), lookup_transparent_type(), make_qualified_type(), name, opaque_type_resolution, STRUCT_DOMAIN, stub_noname_complaint(), SYMBOL_TYPE, type, TYPE_CODE, TYPE_CODE_RANGE, TYPE_CODE_TYPEDEF, TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, TYPE_INSTANCE_FLAG_CODE_SPACE, TYPE_INSTANCE_FLAG_DATA_SPACE, TYPE_INSTANCE_FLAGS, TYPE_IS_OPAQUE, TYPE_LENGTH, type_name_no_tag(), TYPE_OBJFILE, TYPE_STUB, TYPE_TARGET_STUB, and TYPE_TARGET_TYPE.
Referenced by aarch64_extract_return_value(), aarch64_push_dummy_call(), aarch64_store_return_value(), aarch64_type_align(), ada_array_bound(), ada_array_bound_from_type(), ada_array_length(), ada_evaluate_subexp(), ada_get_field_index(), ada_is_redundant_index_type_desc(), ada_tasks_inferior_data_sniffer(), ada_val_print_ref(), ada_value_ptr_subscript(), adjust_value_for_child_access(), allocate_value_lazy(), alpha_push_dummy_call(), amd64_classify_aggregate(), arm_push_dummy_call(), arm_return_in_memory(), arm_type_align(), arm_vfp_abi_for_function(), arm_vfp_cprc_sub_candidate(), avr_push_dummy_call(), bfin_push_dummy_call(), binop_promote(), binop_types_user_defined_p(), c_get_string(), c_textual_element_type(), c_type_print_base(), c_val_print(), c_value_of_variable(), c_value_print(), call_function_by_hand_dummy(), 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(), compile_object_load(), compute_vtable_size(), constrained_packed_array_type(), convert_char_literal(), cp_find_class_member(), cp_find_type_baseclass_by_name(), cp_lookup_bare_symbol(), cp_lookup_rtti_type(), 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_struct_tuple(), evaluate_subexp_c(), evaluate_subexp_for_address(), evaluate_subexp_for_sizeof(), evaluate_subexp_java(), evaluate_subexp_modula2(), evaluate_subexp_opencl(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), 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(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_type_sizeof(), gdbscm_type_strip_typedefs(), gdbscm_value_call(), gdbscm_value_referenced_value(), gdbscm_value_subscript(), gen_bitfield_ref(), gen_cast(), gen_deref(), gen_expr(), gen_expr_binop_rest(), gen_int_literal(), gen_struct_ref(), gen_struct_ref_recursive(), gen_trace_static_fields(), gen_traced_pop(), gen_usual_arithmetic(), gen_var_ref(), generate_register_struct(), generate_vla_size(), generic_val_print(), get_internalvar_integer(), get_regs_type(), get_symbol_field_type(), get_target_type(), get_type(), get_value_at(), get_vptr_fieldno(), gnuv2_baseclass_offset(), gnuv2_virtual_fn_field(), gnuv3_get_typeid(), 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_dynamic_type_internal(), 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(), lval_func_check_synthetic_pointer(), 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_aggregate_candidate(), ppc64_sysv_abi_push_dummy_call(), ppc64_sysv_abi_push_param(), ppc64_sysv_abi_return_value(), ppc_sysv_abi_push_dummy_call(), ppc_sysv_use_opencl_abi(), print_formatted(), print_one_vtable(), print_symbol(), print_unpacked_pointer(), print_variable_at_address(), print_variable_or_computed(), ptrmath_type_p(), py_print_type(), py_print_value(), rank_one_type(), read_frame_register_value(), read_one_struct_field(), read_subrange_type(), read_tag_ptr_to_member_type(), require_rvalue(), resolve_dynamic_array(), resolve_dynamic_struct(), resolve_dynamic_type(), resolve_dynamic_type_internal(), resolve_subexp(), rs6000_lynx178_push_dummy_call(), rs6000_push_dummy_call(), rx_push_dummy_call(), s390_effective_inner_type(), s390_handle_arg(), 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(), store_regs(), 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(), tyscm_get_composite(), 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(), valpy_call(), valpy_getitem(), valpy_nonzero(), valpy_referenced_value(), 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_dynamic_cast(), value_equal(), value_equal_contents(), value_f90_subarray(), value_fetch_lazy(), value_find_oload_method_list(), value_from_contents_and_address(), value_from_double(), value_from_pointer(), value_from_register(), value_has_field(), value_in(), value_ind(), value_less(), value_logical_not(), value_must_coerce_to_target(), value_neg(), value_of_dwarf_reg_entry(), value_one(), value_pos(), value_primitive_field(), value_ptradd(), value_ptrdiff(), value_ref(), value_reinterpret_cast(), value_rtti_indirect_type(), value_slice(), value_struct_element_index(), value_struct_elt(), value_struct_elt_bitpos(), value_struct_elt_for_reference(), value_subscript(), value_subscripted_rvalue(), value_vector_widen(), value_x_binop(), value_x_unop(), varobj_get_value_type(), vector_binop(), vector_relop(), vlscm_convert_bytevector(), watch_command_1(), xtensa_push_dummy_call(), and yyparse().
Definition at line 2767 of file gdbtypes.c.
References TYPE_CODE, TYPE_CODE_STRUCT, and TYPE_CODE_UNION.
Referenced by call_function_by_hand_dummy().
Definition at line 2778 of file gdbtypes.c.
References TYPE_MAIN_TYPE, and TYPE_NAME.
Referenced by distance_to_ancestor(), dynamic_cast_check_1(), dynamic_cast_check_2(), gnuv3_pass_by_reference(), is_unique_ancestor_worker(), and value_dynamic_cast().
int compare_badness | ( | struct badness_vector * | , |
struct badness_vector * | |||
) |
Definition at line 2965 of file gdbtypes.c.
References compare_ranks(), badness_vector::length, and badness_vector::rank.
Referenced by find_oload_champ(), and find_overload_match().
Definition at line 2937 of file gdbtypes.c.
References rank::rank, and rank::subrank.
Referenced by classify_oload_match(), compare_badness(), and compare_parameters().
Definition at line 4507 of file gdbtypes.c.
References alloc_type_copy(), copy_dynamic_prop_list(), gdb_assert, new_type(), TYPE_DYN_PROP_LIST, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_MAIN_TYPE, TYPE_OBJFILE, and TYPE_OBJFILE_OWNED.
Referenced by ada_to_fixed_type_1(), add_array_cv_type(), resolve_dynamic_array(), resolve_dynamic_range(), resolve_dynamic_struct(), resolve_dynamic_type_internal(), and resolve_dynamic_union().
struct type* copy_type_recursive | ( | struct objfile * | objfile, |
struct type * | type, | ||
htab_t | copied_types | ||
) |
Definition at line 4353 of file gdbtypes.c.
References _, alloc_type_arch(), copy_dynamic_prop_list(), copy_type_recursive(), FIELD_LOC_KIND_BITPOS, FIELD_LOC_KIND_ENUMVAL, FIELD_LOC_KIND_PHYSADDR, FIELD_LOC_KIND_PHYSNAME, gdb_assert, gdb_assert_not_reached, get_type_arch(), INIT_CPLUS_SPECIFIC, INIT_FUNC_SPECIFIC, INIT_GNAT_SPECIFIC, internal_error(), new_type(), type_pair::newobj, objfile::objfile_obstack, type_pair::old, SET_FIELD_BITPOS, SET_FIELD_ENUMVAL, SET_FIELD_PHYSADDR, SET_FIELD_PHYSNAME, set_type_self_type(), type, TYPE_CALLING_CONVENTION, TYPE_CODE, TYPE_CODE_RANGE, TYPE_DYN_PROP_LIST, TYPE_FIELD, TYPE_FIELD_ARTIFICIAL, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_ENUMVAL, TYPE_FIELD_LOC_KIND, TYPE_FIELD_NAME, TYPE_FIELD_STATIC_PHYSADDR, TYPE_FIELD_STATIC_PHYSNAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FLOATFORMAT, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_MAIN_TYPE, TYPE_NAME, TYPE_NFIELDS, TYPE_NO_RETURN, TYPE_OBJFILE, TYPE_OBJFILE_OWNED, TYPE_OWNER, TYPE_RANGE_DATA, TYPE_SELF_TYPE, TYPE_SPECIFIC_CPLUS_STUFF, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FLOATFORMAT, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_GNAT_STUFF, TYPE_SPECIFIC_NONE, TYPE_SPECIFIC_SELF_TYPE, TYPE_TAG_NAME, TYPE_TAIL_CALL_LIST, TYPE_TARGET_TYPE, and xmalloc().
Referenced by compile_object_run(), copy_type_recursive(), preserve_one_internalvar(), preserve_one_value(), save_objfile_types(), and tyscm_copy_type_recursive().
Definition at line 1119 of file gdbtypes.c.
References create_array_type_with_stride().
Referenced by ada_type_of_array(), ada_value_slice(), ada_value_slice_from_ptr(), constrained_packed_array_type(), create_string_type(), decode_type(), define_symbol(), empty_array(), lookup_array_range_type(), read_array_type(), to_fixed_array_type(), upgrade_type(), value_cast(), value_slice(), and yyparse().
struct type* create_array_type_with_stride | ( | struct type * | , |
struct type * | , | ||
struct type * | , | ||
unsigned | int | ||
) |
Definition at line 1061 of file gdbtypes.c.
References alloc_type_copy(), CHECK_TYPEDEF, get_discrete_bounds(), has_static_range(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_FIELD_BITSIZE, TYPE_FIELDS, TYPE_INDEX_TYPE, TYPE_LENGTH, TYPE_NFIELDS, TYPE_RANGE_DATA, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, and TYPE_ZALLOC.
Referenced by create_array_type(), read_array_type(), and resolve_dynamic_array().
htab_t create_copied_types_hash | ( | struct objfile * | objfile | ) |
Definition at line 4315 of file gdbtypes.c.
References dummy_obstack_deallocate(), hashtab_obstack_allocate(), objfile::objfile_obstack, type_pair_eq(), and type_pair_hash().
Referenced by compile_object_run(), preserve_values(), and save_objfile_types().
struct type* create_range_type | ( | struct type * | , |
struct type * | , | ||
const struct dynamic_prop * | , | ||
const struct dynamic_prop * | |||
) |
Definition at line 825 of file gdbtypes.c.
References alloc_type_copy(), check_typedef(), dynamic_prop_data::const_val, dynamic_prop::data, dynamic_prop::kind, PROP_CONST, TYPE_CODE, TYPE_CODE_RANGE, TYPE_LENGTH, TYPE_RANGE_DATA, TYPE_STUB, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, TYPE_UNSIGNED, and TYPE_ZALLOC.
Referenced by create_static_range_type(), read_subrange_type(), and resolve_dynamic_range().
Definition at line 1176 of file gdbtypes.c.
References alloc_type_copy(), get_discrete_bounds(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_SET, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_LENGTH, TYPE_NFIELDS, TYPE_STUB, TYPE_UNSIGNED, and TYPE_ZALLOC.
Referenced by read_set_type(), and read_type().
Definition at line 867 of file gdbtypes.c.
References dynamic_prop_data::const_val, create_range_type(), dynamic_prop::data, dynamic_prop::kind, and PROP_CONST.
Referenced by ada_type_of_array(), ada_value_slice(), ada_value_slice_from_ptr(), decode_type(), define_symbol(), empty_array(), lookup_array_range_type(), read_array_type(), read_range_type(), read_tag_string_type(), to_fixed_range_type(), upgrade_type(), value_cast(), value_slice(), and yyparse().
Definition at line 1152 of file gdbtypes.c.
References create_array_type(), TYPE_CODE, and TYPE_CODE_STRING.
Referenced by read_tag_string_type().
Definition at line 1022 of file gdbtypes.c.
References TYPE_CODE, TYPE_CODE_ENUM, TYPE_FIELD_ENUMVAL, and TYPE_NFIELDS.
Referenced by ada_value_slice(), ada_value_slice_from_ptr(), pos_atr(), and val_print_array_elements().
Definition at line 3797 of file gdbtypes.c.
References FIELD_LOC_KIND, FIELD_LOC_KIND_PHYSADDR, and FIELD_LOC_KIND_PHYSNAME.
Referenced by amd64_classify_aggregate(), c_type_print_base(), convert_field(), cp_print_value_fields(), do_search_struct_field(), evaluate_struct_tuple(), gen_struct_elt_for_reference(), gen_struct_ref_recursive(), gen_trace_static_fields(), generate_vla_size(), gnuv3_pass_by_reference(), is_dynamic_type_internal(), java_print_value_fields(), java_type_print_base(), mips_n32n64_fp_arg_chunk_p(), pascal_object_print_value_fields(), pascal_type_print_base(), ppc64_aggregate_candidate(), resolve_dynamic_struct(), resolve_dynamic_union(), value_struct_element_index(), value_struct_elt_bitpos(), and value_struct_elt_for_reference().
Definition at line 504 of file symtab.c.
References field_name(), fn_field::is_const, cleanup_check::is_constructor(), is_constructor_name(), cleanup_check::is_destructor(), is_destructor_name(), is_operator_name(), fn_field::is_volatile, len, fn_field::physname, startswith(), TYPE_FN_FIELD_PHYSNAME, TYPE_FN_FIELDLIST1, TYPE_FN_FIELDLIST_NAME, type_name_no_tag(), xmalloc(), and xsnprintf().
Referenced by c_type_print_base(), check_stub_method(), and java_type_print_base().
Definition at line 978 of file gdbtypes.c.
References get_discrete_bounds(), TYPE_ARRAY_LOWER_BOUND_IS_UNDEFINED, TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED, and TYPE_INDEX_TYPE.
Referenced by ada_promote_array_of_integrals(), ada_same_array_size_p(), ada_varobj_get_array_number_of_children(), c_type_print_varspec_suffix(), c_val_print(), convert_array(), evaluate_subexp_opencl(), generic_val_print(), lookup_opencl_vector_type(), lval_func_read(), lval_func_write(), opencl_component_ref(), opencl_logical_not(), pascal_val_print(), ppc64_aggregate_candidate(), print_optional_low_bound(), val_print_array_elements(), value_complement(), value_neg(), value_one(), value_vector_widen(), vector_binop(), and vector_relop().
Definition at line 899 of file gdbtypes.c.
References CHECK_TYPEDEF, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_RANGE, TYPE_FIELD_ENUMVAL, TYPE_HIGH_BOUND, TYPE_LENGTH, TYPE_LOW_BOUND, TYPE_NFIELDS, and TYPE_UNSIGNED.
Referenced by ada_value_ptr_subscript(), c_get_string(), constrained_packed_array_type(), create_array_type_with_stride(), create_set_type(), evaluate_subexp_c(), evaluate_subexp_standard(), get_array_bounds(), is_scalar_type_recursive(), m2_get_discrete_bounds(), m2_print_long_set(), m2_val_print(), pascal_val_print(), val_print_packed_array_elements(), value_bit_index(), value_cast(), value_slice(), value_subscript(), and value_subscript_packed().
struct dynamic_prop* get_dyn_prop | ( | enum dynamic_prop_node_kind | kind, |
const struct type * | type | ||
) |
Return the dynamic property of the requested KIND from TYPE's list of dynamic properties.
Definition at line 2155 of file gdbtypes.c.
References dynamic_prop_list::next, dynamic_prop_list::prop, dynamic_prop_list::prop_kind, and TYPE_DYN_PROP_LIST.
Definition at line 1655 of file gdbtypes.c.
References CHECK_TYPEDEF, gdb_assert, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_INT, TYPE_LENGTH, and TYPE_UNSIGNED.
Referenced by vlscm_convert_typed_number(), and vlscm_integer_fits_p().
This returns the target type (or NULL) of TYPE, also skipping past typedefs.
Definition at line 243 of file gdbtypes.c.
References check_typedef(), type, and TYPE_TARGET_TYPE.
Referenced by adjust_value_for_child_access(), c_describe_child(), c_number_of_children(), and varobj_get_value_type().
Return the type's architecture. For types owned by an architecture, that architecture is returned. For types owned by an objfile, that objfile's architecture is returned.
Definition at line 232 of file gdbtypes.c.
References get_objfile_arch(), TYPE_OBJFILE_OWNED, and TYPE_OWNER.
Referenced by ada_val_print_num(), ada_val_print_string(), 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(), gdbpy_apply_val_pretty_printer(), gdbscm_apply_val_pretty_printer(), gdbscm_value_subscript(), 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_bits_as_long(), unpack_double(), unpack_long(), unpack_value_bitfield(), update_watchpoint(), val_print_string(), val_print_type_code_int(), valpy_nonzero(), value_args_as_decimal(), value_as_address(), value_assign(), value_assign_to_component(), value_bit_index(), value_cast(), value_logical_not(), value_neg(), value_one(), value_pointer(), value_x_unop(), varobj_value_get_print_value(), and write_pieced_value().
Definition at line 1638 of file gdbtypes.c.
References CHECK_TYPEDEF, gdb_assert, TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_INT, TYPE_LENGTH, and TYPE_UNSIGNED.
Referenced by vlscm_convert_typed_number(), and vlscm_integer_fits_p().
Definition at line 1738 of file gdbtypes.c.
References CHECK_TYPEDEF, check_typedef(), get_vptr_fieldno(), set_type_vptr_basetype(), set_type_vptr_fieldno(), TYPE_BASECLASS, TYPE_N_BASECLASSES, TYPE_OBJFILE, TYPE_VPTR_BASETYPE, and TYPE_VPTR_FIELDNO.
Referenced by c_type_print_base(), cp_print_value_fields(), cplus_class_num_children(), cplus_describe_child(), get_vptr_fieldno(), gnuv2_value_rtti_type(), and gnuv2_virtual_fn_field().
Helper function to construct objfile-owned types.
Definition at line 2616 of file gdbtypes.c.
References alloc_type(), code, gdb_assert, INIT_CPLUS_SPECIFIC, INIT_FUNC_SPECIFIC, type::length, name, type, TYPE_CODE, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_NAMESPACE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_FIXED_INSTANCE, TYPE_FLAG_FIXED_INSTANCE, TYPE_FLAG_GNU_IFUNC, TYPE_FLAG_INCOMPLETE, TYPE_FLAG_MIN, TYPE_FLAG_NOSIGN, TYPE_FLAG_PROTOTYPED, TYPE_FLAG_STATIC, TYPE_FLAG_STUB, TYPE_FLAG_STUB_SUPPORTED, TYPE_FLAG_TARGET_STUB, TYPE_FLAG_UNSIGNED, TYPE_FLAG_VARARGS, TYPE_FLAG_VECTOR, TYPE_GNU_IFUNC, TYPE_INCOMPLETE, TYPE_LENGTH, TYPE_NAME, TYPE_NOSIGN, TYPE_PROTOTYPED, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FLOATFORMAT, TYPE_STATIC, TYPE_STUB, TYPE_STUB_SUPPORTED, TYPE_TARGET_STUB, TYPE_UNSIGNED, TYPE_VARARGS, and TYPE_VECTOR.
Referenced by basic_type(), build_error_marker_type(), cross_ref(), fixup_go_packaging(), objfile_type(), parse_type(), read_base_type(), read_module_type(), read_namespace_type(), read_range_type(), read_sun_builtin_type(), read_sun_floating_type(), read_typedef(), read_unspecified_type(), and rs6000_builtin_type().
Definition at line 1229 of file gdbtypes.c.
References lookup_array_range_type(), and make_vector_type().
Referenced by arm_neon_double_type(), arm_neon_quad_type(), create_value(), i386_mmx_type(), i386_ymm_type(), i386_zmm_type(), linux_get_siginfo_type(), rs6000_builtin_type_vec128(), rs6000_builtin_type_vec64(), sdata_make_value(), spu_builtin_type_vec128(), and tdesc_gdb_type().
Definition at line 1245 of file gdbtypes.c.
References gdb_assert, gdb_assert_not_reached, TYPE_CODE, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_MAIN_TYPE, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_NONE, and TYPE_SPECIFIC_SELF_TYPE.
Definition at line 1703 of file gdbtypes.c.
References CHECK_TYPEDEF, gdb_assert, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_RAW_CPLUS_SPECIFIC, TYPE_SPECIFIC_CPLUS_STUFF, and TYPE_SPECIFIC_FIELD.
Definition at line 1676 of file gdbtypes.c.
References CHECK_TYPEDEF, gdb_assert, HAVE_CPLUS_STRUCT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_RAW_CPLUS_SPECIFIC.
Definition at line 2838 of file gdbtypes.c.
References distance_to_ancestor().
Referenced by value_dynamic_cast().
Predicate if the type has dynamic values, which are not resolved yet.
Definition at line 1852 of file gdbtypes.c.
References is_dynamic_type_internal().
Referenced by ada_is_redundant_range_encoding(), ada_value_primitive_packed_val(), ada_varobj_get_array_number_of_children(), constrained_packed_array_type(), default_read_var_value(), evaluate_subexp_for_sizeof(), generate_c_for_for_one_variable(), and type_is_full_subrange_of_target_type().
Definition at line 2690 of file gdbtypes.c.
References CHECK_TYPEDEF, TYPE_CODE, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_INT, and TYPE_CODE_RANGE.
Referenced by ada_evaluate_subexp(), ada_promote_array_of_integrals(), binop_promote(), coerce_for_assign(), evaluate_subexp_standard(), gen_expr_binop_rest(), opencl_relop(), scalar_binop(), unop_promote(), valpy_binop(), valpy_int(), valpy_long(), valpy_nonzero(), value_args_as_decimal(), value_binop(), value_complement(), value_equal(), value_less(), value_neg(), value_one(), value_pos(), vlscm_binop(), vlscm_convert_typed_number(), vlscm_convert_typed_value_from_scheme(), and yyparse().
Definition at line 2847 of file gdbtypes.c.
References distance_to_ancestor().
Referenced by value_dynamic_cast().
Definition at line 2728 of file gdbtypes.c.
References CHECK_TYPEDEF, check_typedef(), get_discrete_bounds(), is_scalar_type(), is_scalar_type_recursive(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_RANGE, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_FIELD_TYPE, TYPE_INDEX_TYPE, TYPE_NFIELDS, and TYPE_TARGET_TYPE.
Referenced by can_use_hardware_watchpoint(), and is_scalar_type_recursive().
Definition at line 2907 of file gdbtypes.c.
References is_unique_ancestor_worker(), offset, value_address(), value_contents_for_printing(), value_embedded_offset(), and value_type().
Referenced by value_dynamic_cast().
Definition at line 1128 of file gdbtypes.c.
References builtin_type::builtin_int, builtin_type(), create_array_type(), create_static_range_type(), and get_type_arch().
Referenced by allocate_repeat_value(), build_gdb_vtable_type(), dynamic_array_type(), follow_types(), gen_repeat(), init_vector_type(), java_array_type(), lookup_string_range_type(), mt_register_type(), sh64_build_float_register_type(), sh_sh4_build_float_register_type(), typy_array_1(), tyscm_array_1(), value_array(), value_cstring(), and vlscm_convert_bytevector().
Definition at line 482 of file gdbtypes.c.
References make_function_type().
Referenced by decode_type(), define_symbol(), evaluate_subexp_standard(), finalize_symtab(), find_function_in_inferior(), flush_ea_cache(), follow_types(), gdbtypes_post_init(), java_link_class_type(), make_types(), parse_procedure(), parse_symbol(), patch_block_stabs(), process_coff_symbol(), read_subroutine_type(), upgrade_type(), and yyparse().
Definition at line 492 of file gdbtypes.c.
References check_typedef(), gdb_assert, make_function_type(), TYPE_CODE, TYPE_CODE_VOID, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_NFIELDS, TYPE_PROTOTYPED, TYPE_VARARGS, and TYPE_ZALLOC.
Referenced by follow_types().
Definition at line 780 of file gdbtypes.c.
References alloc_type_copy(), and smash_to_memberptr_type().
Referenced by read_tag_ptr_to_member_type(), and value_struct_elt_for_reference().
Definition at line 792 of file gdbtypes.c.
References alloc_type_copy(), and smash_to_methodptr_type().
Referenced by read_tag_ptr_to_member_type(), and value_struct_elt_for_reference().
Definition at line 368 of file gdbtypes.c.
References make_pointer_type().
Referenced by aarch64_push_dummy_call(), aarch64_stap_parse_special_token(), ada_evaluate_subexp(), ada_get_tsd_from_tag(), ada_language_arch_info(), ada_tag_value_at_base_address(), ada_type_of_array(), ada_val_print_ref(), ada_value_ptr_subscript(), ada_varobj_ind(), address_of_variable(), alpha_push_dummy_call(), amd64_dtrace_parse_probe_argument(), arm_stap_parse_special_token(), call_function_by_hand_dummy(), check_stub_method(), compile_object_run(), decode_type(), default_read_var_value(), define_symbol(), desc_bounds(), do_module_cleanup(), evaluate_subexp_for_address(), evaluate_subexp_java(), evaluate_subexp_standard(), evaluate_subexp_with_coercion(), find_function_in_inferior(), flush_ea_cache(), follow_types(), gdbpy_get_xmethod_arg_types(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_type_pointer(), gdbscm_value_dynamic_type(), gdbtypes_post_init(), gen_address_of(), gen_usual_unary(), gnuv2_virtual_fn_field(), gnuv3_get_virtual_fn(), gnuv3_get_vtable(), gnuv3_method_ptr_to_value(), i386_stap_parse_special_token_three_arg_disp(), i386_stap_parse_special_token_triplet(), java_link_class_type(), java_value_print(), linux_get_siginfo_type(), read_tag_pointer_type(), sparc32_store_arguments(), sparc64_store_arguments(), stap_parse_register_operand(), thin_data_pntr(), type_from_class(), typy_lookup_type(), typy_pointer(), upgrade_type(), valpy_get_dynamic_type(), valpy_getitem(), value_addr(), value_arg_coerce(), value_coerce_array(), value_coerce_function(), value_fn_field(), value_nsstring(), value_reinterpret_cast(), value_rtti_indirect_type(), value_struct_elt_for_reference(), windows_get_tlb_type(), x_command(), and yyparse().
Definition at line 441 of file gdbtypes.c.
References make_reference_type().
Referenced by evaluate_subexp_standard(), follow_types(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), gdbscm_type_reference(), gdbscm_value_dynamic_type(), read_tag_reference_type(), typy_lookup_type(), typy_reference(), valpy_get_dynamic_type(), valpy_getitem(), value_ref(), value_rtti_indirect_type(), and yyparse().
struct type* lookup_signed_typename | ( | const struct language_defn * | , |
struct gdbarch * | , | ||
const char * | |||
) |
Definition at line 1433 of file gdbtypes.c.
References lookup_typename().
Referenced by binop_promote(), and yyparse().
Definition at line 1164 of file gdbtypes.c.
References lookup_array_range_type(), TYPE_CODE, and TYPE_CODE_STRING.
Referenced by value_string().
Definition at line 1558 of file gdbtypes.c.
References _, CHECK_TYPEDEF, error(), lookup_struct_elt_type(), make_cleanup(), strcmp_iw(), type, TYPE_BASECLASS, TYPE_CODE, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_STRUCT, TYPE_CODE_UNION, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_N_BASECLASSES, type_name_no_tag(), TYPE_NFIELDS, TYPE_TARGET_TYPE, type_to_string(), and xfree().
Referenced by ada_is_bogus_array_descriptor(), desc_bounds_type(), desc_data_target_type(), desc_index_type(), is_thick_pntr(), lookup_struct_elt_type(), yylex(), and yyparse().
Definition at line 1519 of file gdbtypes.c.
References _, error(), lookup_symbol(), SYMBOL_TYPE, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_NAME, and VAR_DOMAIN.
Referenced by yyparse().
struct type* lookup_typename | ( | const struct language_defn * | , |
struct gdbarch * | , | ||
const char * | , | ||
const struct block * | , | ||
int | |||
) |
Definition at line 1404 of file gdbtypes.c.
References _, error(), language_defn::la_language, LOC_TYPEDEF, lookup_symbol_in_language(), SYMBOL_CLASS, SYMBOL_TYPE, type, and VAR_DOMAIN.
Referenced by cp_lookup_symbol_imports_or_template(), evaluate_subexp_c(), gdbpy_invoke_xmethod(), lookup_signed_typename(), lookup_unsigned_typename(), printf_wide_c_string(), typy_lookup_typename(), tyscm_lookup_typename(), ui_printf(), yylex(), and yyparse().
struct type* lookup_unsigned_typename | ( | const struct language_defn * | , |
struct gdbarch * | , | ||
const char * | |||
) |
Definition at line 1422 of file gdbtypes.c.
References lookup_typename().
Referenced by binop_promote(), and yyparse().
void maintenance_print_type | ( | char * | , |
int | |||
) |
Definition at line 597 of file typeprint.c.
References do_cleanups(), expression::elts, evaluate_type(), free_current_contents(), make_cleanup(), exp_element::opcode, parse_expression(), recursive_dump_type(), exp_element::type, type, and value_type().
Referenced by _initialize_maint_cmds().
Definition at line 720 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_ATOMIC, and TYPE_INSTANCE_FLAGS.
Referenced by read_tag_atomic_type().
Definition at line 651 of file gdbtypes.c.
References gdb_assert, make_qualified_type(), TYPE_INSTANCE_FLAG_CONST, TYPE_INSTANCE_FLAG_VOLATILE, TYPE_INSTANCE_FLAGS, and TYPE_OBJFILE.
Referenced by add_array_cv_type(), build_std_type_info_type(), c_type_print_args(), create_value(), follow_types(), gdbpy_get_xmethod_arg_types(), gdbscm_type_const(), gdbscm_type_unqualified(), gdbscm_type_volatile(), gnuv3_get_typeid(), make_cv_value(), read_subroutine_type(), read_tag_const_type(), read_tag_volatile_type(), read_type(), typy_const(), typy_lookup_type(), typy_unqualified(), typy_volatile(), and value_rtti_indirect_type().
Definition at line 452 of file gdbtypes.c.
References alloc_type_copy(), INIT_FUNC_SPECIFIC, smash_type(), type, TYPE_CODE, TYPE_CODE_FUNC, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by avr_gdbarch_init(), lookup_function_type(), lookup_function_type_with_arguments(), and read_type().
Definition at line 306 of file gdbtypes.c.
References alloc_type_copy(), type::chain, gdbarch_ptr_bit(), get_type_arch(), smash_type(), TARGET_CHAR_BIT, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_PTR, TYPE_LENGTH, TYPE_POINTER_TYPE, TYPE_TARGET_TYPE, and TYPE_UNSIGNED.
Referenced by build_std_type_info_type(), compute_exception(), gnuv3_get_typeid(), lookup_pointer_type(), parse_symbol(), and read_type().
Definition at line 379 of file gdbtypes.c.
References alloc_type_copy(), type::chain, gdbarch_ptr_bit(), get_type_arch(), smash_type(), TARGET_CHAR_BIT, type, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_REF, TYPE_LENGTH, TYPE_REFERENCE_TYPE, and TYPE_TARGET_TYPE.
Referenced by lookup_reference_type(), and read_type().
Definition at line 696 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_RESTRICT, and TYPE_INSTANCE_FLAGS.
Referenced by read_tag_restrict_type().
Definition at line 627 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_ADDRESS_CLASS_ALL, TYPE_INSTANCE_FLAG_CODE_SPACE, TYPE_INSTANCE_FLAG_DATA_SPACE, and TYPE_INSTANCE_FLAGS.
Referenced by build_gdb_vtable_type(), follow_types(), and read_tag_pointer_type().
Definition at line 707 of file gdbtypes.c.
References make_qualified_type(), TYPE_INSTANCE_FLAG_CONST, TYPE_INSTANCE_FLAG_RESTRICT, TYPE_INSTANCE_FLAG_VOLATILE, and TYPE_INSTANCE_FLAGS.
Referenced by convert_qualified().
void make_vector_type | ( | struct type * | array_type | ) |
Definition at line 1206 of file gdbtypes.c.
References flags, make_qualified_type(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_INT, TYPE_INSTANCE_FLAG_NOTTEXT, TYPE_INSTANCE_FLAGS, TYPE_TARGET_TYPE, and TYPE_VECTOR.
Referenced by init_vector_type(), read_array_type(), read_type(), typy_array_1(), tyscm_array_1(), and vlscm_convert_bytevector().
const struct objfile_type* objfile_type | ( | struct objfile * | objfile | ) |
Return the type table for the specified objfile.
Definition at line 4909 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(), OBSTACK_CALLOC, TARGET_CHAR_BIT, 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(), convert_symbol_bmsym(), 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 * | |||
) |
Definition at line 349 of file printcmd.c.
References _, bits, builtin_type::builtin_true_char, builtin_type::builtin_true_unsigned_char, builtin_type(), gdbarch::byte_order, error(), float_type_from_length(), value_print_options::format, fprintf_filtered(), fputs_filtered(), gdb_assert, gdbarch_addr_bit(), gdbarch_byte_order(), get_type_arch(), HOST_CHAR_BIT, internal_error(), len, print_address(), print_binary_chars(), print_char_chars(), print_decimal_chars(), print_floating(), print_hex_chars(), print_longest(), print_octal_chars(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_ENUM, TYPE_CODE_INT, TYPE_CODE_PTR, TYPE_LENGTH, TYPE_UNSIGNED, unpack_long(), unpack_pointer(), value_from_longest(), and value_print().
Referenced by mi_cmd_data_read_memory(), mips_print_fp_register(), and val_print_scalar_formatted().
struct badness_vector* rank_function | ( | struct type ** | , |
int | , | ||
struct value ** | , | ||
int | |||
) |
Definition at line 3009 of file gdbtypes.c.
References badness_vector::length, LENGTH_MATCH, badness_vector::rank, rank_one_type(), value_type(), and xmalloc().
Referenced by find_oload_champ().
Definition at line 3377 of file gdbtypes.c.
References BOOL_CONVERSION_BADNESS, check_typedef(), distance_to_ancestor(), EXACT_MATCH_BADNESS, FLOAT_CONVERSION_BADNESS, FLOAT_PROMOTION_BADNESS, fprintf_filtered(), gdb_stderr, INCOMPATIBLE_TYPE_BADNESS, INT_FLOAT_CONVERSION_BADNESS, INTEGER_CONVERSION_BADNESS, INTEGER_PROMOTION_BADNESS, integer_types_same_name_p(), NS_INTEGER_POINTER_CONVERSION_BADNESS, NS_POINTER_CONVERSION_BADNESS, NULL_POINTER_CONVERSION_BADNESS, overload_debug, rank_one_type(), strict_type_checking, rank::subrank, sum_ranks(), TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_COMPLEX, TYPE_CODE_ENUM, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_DECLARED_CLASS, TYPE_FIELD_TYPE, TYPE_LENGTH, TYPE_NAME, TYPE_NOSIGN, TYPE_TARGET_TYPE, TYPE_UNSIGNED, types_equal(), value_as_long(), value_type(), and VOID_PTR_CONVERSION_BADNESS.
Referenced by compare_parameters(), rank_function(), and rank_one_type().
Definition at line 3953 of file gdbtypes.c.
References _, dont_print_type_obstack, gdb_print_host_address(), gdb_stdout, HAVE_CPLUS_STRUCT, name, plongest(), print_cplus_stuff(), print_gnat_stuff(), printf_filtered(), printfi_filtered(), puts_filtered(), recursive_dump_type(), TYPE_ADDRESS_CLASS_1, TYPE_ADDRESS_CLASS_2, TYPE_ATOMIC, TYPE_CALLING_CONVENTION, TYPE_CHAIN, TYPE_CODE, TYPE_CODE_ARRAY, TYPE_CODE_BOOL, TYPE_CODE_CHAR, TYPE_CODE_COMPLEX, TYPE_CODE_ENUM, TYPE_CODE_ERROR, TYPE_CODE_FLAGS, TYPE_CODE_FLT, TYPE_CODE_FUNC, TYPE_CODE_INT, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_CODE_NAMESPACE, TYPE_CODE_PTR, TYPE_CODE_RANGE, TYPE_CODE_REF, TYPE_CODE_SET, TYPE_CODE_SPACE, TYPE_CODE_STRING, TYPE_CODE_STRUCT, TYPE_CODE_TYPEDEF, TYPE_CODE_UNDEF, TYPE_CODE_UNION, TYPE_CODE_VOID, TYPE_CONST, TYPE_CPLUS_SPECIFIC, TYPE_DATA_SPACE, TYPE_FIELD_BITPOS, TYPE_FIELD_BITSIZE, TYPE_FIELD_ENUMVAL, TYPE_FIELD_NAME, TYPE_FIELD_TYPE, TYPE_FIELDS, TYPE_FIXED_INSTANCE, TYPE_FLOATFORMAT, TYPE_GNAT_SPECIFIC, TYPE_HIGH_BOUND, TYPE_HIGH_BOUND_UNDEFINED, TYPE_INCOMPLETE, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_LOW_BOUND, TYPE_LOW_BOUND_UNDEFINED, TYPE_NAME, TYPE_NFIELDS, TYPE_NFN_FIELDS, TYPE_NOSIGN, TYPE_NOTTEXT, TYPE_OBJFILE_OWNED, TYPE_OWNER, TYPE_POINTER_TYPE, TYPE_PROTOTYPED, TYPE_REFERENCE_TYPE, TYPE_RESTRICT, TYPE_SELF_TYPE, TYPE_SPECIFIC_CPLUS_STUFF, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FLOATFORMAT, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_GNAT_STUFF, TYPE_SPECIFIC_SELF_TYPE, TYPE_STATIC, TYPE_STUB, TYPE_STUB_SUPPORTED, TYPE_TAG_NAME, TYPE_TARGET_STUB, TYPE_TARGET_TYPE, TYPE_UNSIGNED, TYPE_VARARGS, TYPE_VECTOR, and TYPE_VOLATILE.
Referenced by dump_fn_fieldlists(), maintenance_print_type(), print_args(), print_cplus_stuff(), print_gnat_stuff(), and recursive_dump_type().
Definition at line 739 of file gdbtypes.c.
References type::chain, gdb_assert, TYPE_ADDRESS_CLASS_ALL, TYPE_CHAIN, TYPE_INSTANCE_FLAGS, TYPE_LENGTH, TYPE_MAIN_TYPE, and TYPE_OBJFILE.
Referenced by cleanup_undefined_types_1(), cleanup_undefined_types_noname(), and read_type().
Resolve all dynamic values of a type e.g. array bounds to static values. ADDR specifies the location of the variable the type is bound to. If TYPE has no dynamic properties return TYPE; otherwise a new type with static properties is returned.
Definition at line 2143 of file gdbtypes.c.
References property_addr_info::addr, check_typedef(), resolve_dynamic_type_internal(), and property_addr_info::valaddr.
Referenced by ada_discrete_type_high_bound(), ada_discrete_type_low_bound(), ada_val_print_1(), default_read_var_value(), and value_from_contents_and_address().
Definition at line 1271 of file gdbtypes.c.
References gdb_assert, gdb_assert_not_reached, INIT_FUNC_SPECIFIC, TYPE_CODE, TYPE_CODE_MEMBERPTR, TYPE_CODE_METHOD, TYPE_CODE_METHODPTR, TYPE_MAIN_TYPE, TYPE_SPECIFIC_FIELD, TYPE_SPECIFIC_FUNC, TYPE_SPECIFIC_NONE, and TYPE_SPECIFIC_SELF_TYPE.
Referenced by copy_type_recursive(), read_member_functions(), smash_to_memberptr_type(), smash_to_method_type(), and smash_to_methodptr_type().
Definition at line 1715 of file gdbtypes.c.
References ALLOCATE_CPLUS_STRUCT_TYPE, CHECK_TYPEDEF, gdb_assert, HAVE_CPLUS_STRUCT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_RAW_CPLUS_SPECIFIC.
Referenced by get_vptr_fieldno(), process_structure_scope(), and read_tilde_fields().
Definition at line 1689 of file gdbtypes.c.
References ALLOCATE_CPLUS_STRUCT_TYPE, CHECK_TYPEDEF, gdb_assert, HAVE_CPLUS_STRUCT, TYPE_CODE, TYPE_CODE_STRUCT, TYPE_CODE_UNION, and TYPE_RAW_CPLUS_SPECIFIC.
Referenced by allocate_cplus_struct_type(), get_vptr_fieldno(), process_structure_scope(), and read_tilde_fields().
Definition at line 1305 of file gdbtypes.c.
References gdbarch_ptr_bit(), get_type_arch(), set_type_self_type(), smash_type(), TARGET_CHAR_BIT, TYPE_CODE, TYPE_CODE_MEMBERPTR, TYPE_LENGTH, and TYPE_TARGET_TYPE.
Referenced by lookup_memberptr_type(), and read_type().
void smash_to_method_type | ( | struct type * | type, |
struct type * | self_type, | ||
struct type * | to_type, | ||
struct field * | args, | ||
int | nargs, | ||
int | varargs | ||
) |
Definition at line 1342 of file gdbtypes.c.
References set_type_self_type(), smash_type(), TYPE_CODE, TYPE_CODE_METHOD, TYPE_FIELDS, TYPE_LENGTH, TYPE_NFIELDS, TYPE_TARGET_TYPE, and TYPE_VARARGS.
Referenced by check_stub_method(), dwarf2_add_member_fn(), quirk_gcc_member_function_pointer(), read_tag_ptr_to_member_type(), and read_type().
Definition at line 1325 of file gdbtypes.c.
References cplus_method_ptr_size(), set_type_self_type(), smash_type(), TYPE_CODE, TYPE_CODE_METHODPTR, TYPE_LENGTH, TYPE_SELF_TYPE, and TYPE_TARGET_TYPE.
Referenced by lookup_methodptr_type(), and quirk_gcc_member_function_pointer().
Definition at line 2923 of file gdbtypes.c.
References rank::rank, and rank::subrank.
Referenced by rank_one_type().
Definition at line 1361 of file gdbtypes.c.
References TYPE_NAME, and TYPE_TAG_NAME.
Referenced by ada_is_exception_sym(), ada_prefer_type(), add_struct_fields(), c_type_print_base(), c_type_print_varspec_prefix(), check_typedef(), cp_is_vtbl_ptr_type(), cp_lookup_nested_symbol(), cp_print_class_member(), cp_print_value_fields(), cp_type_print_derivation_info(), define_symbol(), dwarf2_add_field(), find_methods(), gdb_mangle_name(), java_print_value_fields(), java_type_print_base(), java_type_print_derivation_info(), lookup_struct_elt_type(), parse_old_style_renaming(), pascal_object_is_vtbl_ptr_type(), pascal_object_print_value(), pascal_object_print_value_fields(), pascal_type_print_derivation_info(), print_subexp_standard(), read_baseclasses(), read_cpp_abbrev(), type_name_no_tag_or_error(), value_cast_structs(), and xget_renaming_scope().
Definition at line 1380 of file gdbtypes.c.
References _, CHECK_TYPEDEF, error(), name, objfile_name(), type, type_name_no_tag(), and TYPE_OBJFILE.
Referenced by cp_lookup_nested_symbol(), and destructor_name_p().
Definition at line 3321 of file gdbtypes.c.
References bcache_xfree(), bcache_xmalloc(), bcache::cache, CATCH, check_types_worklist(), END_CATCH, exception_none, gdb_assert, gdb_exception::reason, RETURN_MASK_ALL, throw_exception(), TRY, type_equality_entry::type1, type_equality_entry::type2, VEC, VEC_free, and VEC_safe_push.
Referenced by compile_object_load(), get_out_value_type(), typy_richcompare(), and tyscm_equal_p_type_smob().
Definition at line 3085 of file gdbtypes.c.
References check_typedef(), TYPE_CODE, TYPE_CODE_FUNC, TYPE_CODE_PTR, TYPE_CODE_REF, TYPE_CODE_TYPEDEF, TYPE_FIELD_TYPE, TYPE_NAME, TYPE_NFIELDS, TYPE_TARGET_TYPE, and types_equal().
Referenced by eq_typedef_field(), gdbpy_get_xmethod_result_type(), gdbpy_invoke_xmethod(), rank_one_type(), types_equal(), value_has_field(), and value_struct_elt_bitpos().
Badness of converting derived to base class.
Definition at line 59 of file gdbtypes.c.
Badness of converting a derived class pointer to a base class pointer.
Definition at line 53 of file gdbtypes.c.
Badness of conversion to boolean.
Definition at line 58 of file gdbtypes.c.
Referenced by rank_one_type().
const struct cplus_struct_type cplus_struct_default |
The default value of TYPE_CPLUS_SPECIFIC(T) points to this shared static structure.
Definition at line 2577 of file gdbtypes.c.
Badness of an exact match.
Definition at line 49 of file gdbtypes.c.
Referenced by compare_parameters(), and rank_one_type().
Badness of floating conversion.
Definition at line 55 of file gdbtypes.c.
Referenced by rank_one_type().
Badness of floating promotion.
Definition at line 52 of file gdbtypes.c.
Referenced by rank_one_type().
const 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().
const 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().
const struct floatformat* floatformats_ia64_quad[BFD_ENDIAN_UNKNOWN] |
Definition at line 98 of file gdbtypes.c.
Referenced by aarch64_gdbarch_init(), hppa_gdbarch_init(), ia64_openvms_init_abi(), mips_linux_init_abi(), and s390_gdbarch_init().
const struct floatformat* floatformats_ia64_spill[BFD_ENDIAN_UNKNOWN] |
Definition at line 94 of file gdbtypes.c.
const struct floatformat* floatformats_ibm_long_double[BFD_ENDIAN_UNKNOWN] |
Definition at line 110 of file gdbtypes.c.
Referenced by do_ppc_sysv_return_value(), mips_gdbarch_init(), ppc64_sysv_abi_push_freg(), ppc64_sysv_abi_return_value_base(), and ppc_sysv_abi_push_dummy_call().
const struct floatformat* floatformats_ieee_double[BFD_ENDIAN_UNKNOWN] |
Definition at line 74 of file gdbtypes.c.
Referenced by aarch64_gdbarch_init(), arm_gdbarch_init(), build_opencl_types(), hppabsd_init_abi(), iq2000_gdbarch_init(), m68hc11_gdbarch_init(), m68k_gdbarch_init(), m88k_gdbarch_init(), msp430_gdbarch_init(), mt_gdbarch_init(), nios2_gdbarch_init(), ppcfbsd_init_abi(), ppcobsd_init_abi(), rl78_gdbarch_init(), rx_gdbarch_init(), sparc32nbsd_init_abi(), spu_gdbarch_init(), tdesc_gdb_type(), tic6x_gdbarch_init(), and verify_gdbarch().
const struct floatformat* floatformats_ieee_double_littlebyte_bigword[BFD_ENDIAN_UNKNOWN] |
Definition at line 78 of file gdbtypes.c.
Referenced by arm_gdbarch_init().
const struct floatformat* floatformats_ieee_half[BFD_ENDIAN_UNKNOWN] |
Definition at line 66 of file gdbtypes.c.
Referenced by build_opencl_types(), and verify_gdbarch().
const struct floatformat* floatformats_ieee_single[BFD_ENDIAN_UNKNOWN] |
Definition at line 70 of file gdbtypes.c.
Referenced by aarch64_gdbarch_init(), arm_gdbarch_init(), avr_gdbarch_init(), build_opencl_types(), h8300_gdbarch_init(), iq2000_gdbarch_init(), m68hc11_gdbarch_init(), msp430_gdbarch_init(), mt_gdbarch_init(), nios2_gdbarch_init(), rl78_gdbarch_init(), rx_gdbarch_init(), sh_gdbarch_init(), spu_gdbarch_init(), tdesc_gdb_type(), tic6x_gdbarch_init(), and verify_gdbarch().
const 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().
const struct floatformat* floatformats_vax_d[BFD_ENDIAN_UNKNOWN] |
Definition at line 106 of file gdbtypes.c.
Referenced by vax_gdbarch_init().
const struct floatformat* floatformats_vax_f[BFD_ENDIAN_UNKNOWN] |
Definition at line 102 of file gdbtypes.c.
Referenced by vax_gdbarch_init().
const struct gnat_aux_type gnat_aux_default |
Definition at line 2593 of file gdbtypes.c.
Badness if no conversion among types.
Definition at line 47 of file gdbtypes.c.
Referenced by classify_oload_match(), and rank_one_type().
Badness of integer<->floating conversions.
Definition at line 56 of file gdbtypes.c.
Referenced by rank_one_type().
Badness of integral conversion.
Definition at line 54 of file gdbtypes.c.
Referenced by rank_one_type().
Badness of integral promotion.
Definition at line 51 of file gdbtypes.c.
Referenced by rank_one_type().
Badness if parameter list length doesn't match arg list length.
Definition at line 44 of file gdbtypes.c.
Badness of converting a (non-zero) integer constant to a pointer.
Definition at line 63 of file gdbtypes.c.
Referenced by rank_one_type().
Converting a pointer to an int is usually OK.
Definition at line 62 of file gdbtypes.c.
Referenced by classify_oload_match(), and rank_one_type().
Badness of converting from non-reference to reference.
Definition at line 60 of file gdbtypes.c.
Dummy badness value for nonexistent parameter positions.
Definition at line 46 of file gdbtypes.c.
Badness of conversion of pointer to void pointer.
Definition at line 57 of file gdbtypes.c.
Referenced by rank_one_type().