gdb: remove TYPE_LENGTH
Remove the macro, replace all uses with calls to type::length. Change-Id: Ib9bdc954576860b21190886534c99103d6a47afb
This commit is contained in:
parent
b6cdbc9a81
commit
df86565b31
150 changed files with 1320 additions and 1323 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue