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
|
@ -749,7 +749,7 @@ read_enum_type (struct ctf_context *ccp, ctf_id_t tid)
|
|||
type->set_code (TYPE_CODE_ENUM);
|
||||
type->set_length (ctf_type_size (fp, tid));
|
||||
/* Set the underlying type based on its ctf_type_size bits. */
|
||||
type->set_target_type (objfile_int_type (of, TYPE_LENGTH (type), false));
|
||||
type->set_target_type (objfile_int_type (of, type->length (), false));
|
||||
set_type_align (type, ctf_type_align (fp, tid));
|
||||
|
||||
return set_tid_type (of, tid, type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue