Lines Matching refs:type

34 struct type;
37 /* The structure which defines the type of a value. It should never
89 struct type *type;
91 /* If a value represents a C++ object, then the `type' field gives
92 the object's compile-time type. If the object actually belongs
93 to some class derived from `type', perhaps with other base
94 classes and additional members, then `type' is just a subobject
96 `type' would suggest.
98 If `type' is a dynamic class (i.e. one with a vtable), then GDB
99 can actually determine the object's run-time type by looking at
100 the run-time type information in the vtable. When this
106 compile-time type.
108 - If `type' has virtual base classes, then even printing `type'
109 alone may require reaching outside the `type' portion of the
113 type -- the complete object -- and `embedded_offset' is the
114 offset of `type' within that larger type, in bytes. The
116 most GDB code continues to see the `type' portion of the value,
119 If `type' is a pointer to an object, then `enclosing_type' is a
120 pointer to the object's run-time type, and `pointed_to_offset' is
124 really see the point. Why not just determine the run-time type
129 `type', and `embedded_offset' is zero, so everything works
131 struct type *enclosing_type;
187 #define VALUE_TYPE(val) (val)->type
238 struct type *value_type_arg_tmp = check_typedef (VALUE_TYPE (arg)); \
308 extern LONGEST unpack_long (struct type *type, const char *valaddr);
309 extern DOUBLEST unpack_double (struct type *type, const char *valaddr,
311 extern CORE_ADDR unpack_pointer (struct type *type, const char *valaddr);
312 extern LONGEST unpack_field_as_long (struct type *type, const char *valaddr,
315 extern struct value *value_from_longest (struct type *type, LONGEST num);
316 extern struct value *value_from_pointer (struct type *type, CORE_ADDR addr);
317 extern struct value *value_from_double (struct type *type, DOUBLEST num);
320 extern struct value *value_at (struct type *type, CORE_ADDR addr,
322 extern struct value *value_at_lazy (struct type *type, CORE_ADDR addr,
325 extern struct value *value_from_register (struct type *type, int regnum,
341 extern struct value *allocate_value (struct type *type);
343 extern struct value *allocate_repeat_value (struct type *type, int count);
346 struct type *new_type);
386 extern struct value *value_aggregate_elt (struct type *curtype,
390 extern struct value *value_static_field (struct type *type, int fieldno);
394 struct type **, int *);
396 extern int find_overload_match (struct type **arg_types, int nargs,
406 struct type *arg_type);
409 extern struct type *value_rtti_target_type (struct value *, int *, int *,
412 extern struct value *value_full_object (struct value *, struct type *, int,
415 extern struct value *value_cast (struct type *type, struct value *arg2);
417 extern struct value *value_zero (struct type *type, enum lval_type lv);
423 extern struct value *register_value_being_returned (struct type *valtype,
428 extern int value_bit_index (struct type *type, char *addr, int index);
430 extern int using_struct_return (struct type *value_type, int gcc_p);
443 extern struct type *parse_and_eval_type (char *p, int length);
483 int j, struct type *type, int offset);
490 extern int destructor_name_p (const char *name, const struct type *type);
503 extern void type_print (struct type * type, char *varstring,
506 extern char *baseclass_addr (struct type *type, int index, char *valaddr,
512 extern void print_floating (char *valaddr, struct type * type,
524 extern int val_print (struct type * type, char *valaddr,
543 extern void typedef_print (struct type * type, struct symbol * news,
563 struct type *);
565 extern void find_rt_vbase_offset (struct type *, struct type *, char *, int,