mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +08:00
Unify arch_integer_type and init_integer_type
This unifies arch_integer_type and init_integer_type by using a type allocator. Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@@ -577,7 +577,7 @@ read_base_type (struct ctf_context *ccp, ctf_id_t tid)
|
||||
bits = cet.cte_bits;
|
||||
else
|
||||
bits = gdbarch_int_bit (gdbarch);
|
||||
type = init_integer_type (of, bits, !issigned, name);
|
||||
type = init_integer_type (alloc, bits, !issigned, name);
|
||||
}
|
||||
}
|
||||
else if (kind == CTF_K_FLOAT)
|
||||
|
||||
Reference in New Issue
Block a user