{
gdb_puts (" TYPE_FIXED_INSTANCE");
}
- if (type->stub_is_supported ())
- {
- gdb_puts (" TYPE_STUB_SUPPORTED");
- }
if (TYPE_NOTTEXT (type))
{
gdb_puts (" TYPE_NOTTEXT");
if (HAVE_CPLUS_STRUCT (this) && TYPE_NFN_FIELDS (this) != 0)
return false;
- return this->is_stub () || !this->stub_is_supported ();
+ return this->is_stub ();
}
/* See gdbtypes.h. */
unsigned int m_flag_prototyped : 1;
unsigned int m_flag_varargs : 1;
unsigned int m_flag_vector : 1;
- unsigned int m_flag_stub_supported : 1;
unsigned int m_flag_gnu_ifunc : 1;
unsigned int m_flag_fixed_instance : 1;
unsigned int m_flag_objfile_owned : 1;
return this->name () != nullptr ? this->name () : _("<error type>");
}
- /* Return true if this type is "opaque", i.e. a struct or union with
- no fields, no methods, and either a stub or with unsupported stub
- information. */
+ /* Return true if this type is "opaque", i.e. a struct or union
+ that is a stub with no fields and no methods. */
bool is_opaque () const;
/* Note that if thistype is a TYPEDEF type, you have to call check_typedef.
this->main_type->m_flag_vector = is_vector;
}
- /* 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). */
-
- bool stub_is_supported () const
- {
- return this->main_type->m_flag_stub_supported;
- }
-
- void set_stub_is_supported (bool stub_is_supported)
- {
- this->main_type->m_flag_stub_supported = stub_is_supported;
- }
-
/* Used only for TYPE_CODE_FUNC where it specifies the real function
address is returned by this function call. The target_type method
determines the final returned function type to be presented to
(TYPE_NESTED_TYPES_FIELD (thistype, n).accessibility \
== accessibility::PRIVATE)
-
/* Given TYPE, return its floatformat. */
const struct floatformat *floatformat_from_type (const struct type *type);