mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
gdb: remove TYPE_ENDIANITY_NOT_DEFAULT
gdb/ChangeLog: * gdbtypes.h (TYPE_ENDIANITY_NOT_DEFAULT): Remove, replace all uses with type::endianity_is_not_default. Change-Id: I61956093c8ce6703299e913746ba91313108a0f2
This commit is contained in:

committed by
Simon Marchi

parent
db558e34b0
commit
04f5bab24b
@ -210,12 +210,6 @@ enum type_instance_flag_value : unsigned
|
||||
|
||||
DEF_ENUM_FLAGS_TYPE (enum type_instance_flag_value, type_instance_flags);
|
||||
|
||||
/* * A compiler may supply dwarf instrumentation
|
||||
that indicates the desired endian interpretation of the variable
|
||||
differs from the native endian representation. */
|
||||
|
||||
#define TYPE_ENDIANITY_NOT_DEFAULT(t) ((t)->endianity_is_not_default ())
|
||||
|
||||
/* * Not textual. By default, GDB treats all single byte integers as
|
||||
characters (or elements of strings) unless this flag is set. */
|
||||
|
||||
@ -1149,6 +1143,10 @@ struct type
|
||||
this->main_type->m_flag_fixed_instance = is_fixed_instance;
|
||||
}
|
||||
|
||||
/* A compiler may supply dwarf instrumentation that indicates the desired
|
||||
endian interpretation of the variable differs from the native endian
|
||||
representation. */
|
||||
|
||||
bool endianity_is_not_default () const
|
||||
{
|
||||
return this->main_type->m_flag_endianity_not_default;
|
||||
|
Reference in New Issue
Block a user