forked from Imagelibrary/binutils-gdb
gdb: remove TYPE_LENGTH
Remove the macro, replace all uses with calls to type::length. Change-Id: Ib9bdc954576860b21190886534c99103d6a47afb
This commit is contained in:
@@ -1354,7 +1354,7 @@ objfile_int_type (struct objfile *of, int size_in_bytes, bool unsigned_p)
|
||||
int_type = (unsigned_p \
|
||||
? objfile_type (of)->builtin_unsigned_ ## F \
|
||||
: objfile_type (of)->builtin_ ## F); \
|
||||
if (int_type != NULL && TYPE_LENGTH (int_type) == size_in_bytes) \
|
||||
if (int_type != NULL && int_type->length () == size_in_bytes) \
|
||||
return int_type
|
||||
|
||||
TRY_TYPE (char);
|
||||
|
||||
Reference in New Issue
Block a user