Lines Matching defs:type

47    GDB type object representing the vtable structure.  Following the
64 type_info object itself, so we don't bother to get the type
78 the GDB type object is actually a per-architecture kind of thing.
81 which refers to the struct type * for this structure, laid out
95 /* Return a GDB type representing `struct gdb_gnu_v3_abi_vtable',
105 struct type *t;
109 struct type *void_ptr_type
111 struct type *ptr_to_void_fn_type
114 /* ARCH can't give us the true ptrdiff_t type, so we guess. */
115 struct type *ptrdiff_type
121 us, we should add a gdbarch method which, given a type, returns
122 the alignment that type requires, and then use that here. */
180 struct type *vtable_type = gdbarch_data (current_gdbarch,
188 static struct type *
192 struct type *vtable_type = gdbarch_data (current_gdbarch,
194 struct type *value_type = check_typedef (VALUE_TYPE (value));
200 struct type *run_time_type;
201 struct type *base_type;
241 CLASS", where CLASS is the name of the run-time type of VALUE.
257 /* Try to look up the class name as a type name. */
282 struct type *type, int offset)
284 struct type *vtable_type = gdbarch_data (current_gdbarch,
287 struct type *value_type = check_typedef (VALUE_TYPE (value));
288 struct type *vfn_base;
304 vfn_base = TYPE_VPTR_BASETYPE (type);
306 /* This type may have been defined before its virtual function table
308 type now. */
321 /* Now value is an object of the appropriate base type. Fetch its
341 /* Cast the function pointer to the appropriate type. */
345 /* Is (type)value always numerically the same as (vfn_base)value?
347 *value_p = value_addr (value_cast (type, *value_p));
360 gnuv3_baseclass_offset (struct type *type, int index, char *valaddr,
363 struct type *vtable_type = gdbarch_data (current_gdbarch,
366 struct type *vbasetype;
372 type definition. */
373 if (!BASETYPE_VIA_VIRTUAL (type, index))
374 return TYPE_BASECLASS_BITPOS (type, index) / 8;
381 cur_base_offset = TYPE_BASECLASS_BITPOS (type, index) / 8;
402 vbasetype = TYPE_VPTR_BASETYPE (type);