mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-14 08:43:27 +08:00
Unify arch_character_type and init_character_type
This unifies arch_character_type and init_character_type by using a type allocator. Reviewed-By: Simon Marchi <simon.marchi@efficios.com>
This commit is contained in:
@ -1597,7 +1597,7 @@ rust_language::language_arch_info (struct gdbarch *gdbarch,
|
||||
type_allocator alloc (gdbarch);
|
||||
struct type *bool_type
|
||||
= add (arch_boolean_type (gdbarch, 8, 1, "bool"));
|
||||
add (arch_character_type (gdbarch, 32, 1, "char"));
|
||||
add (init_character_type (alloc, 32, 1, "char"));
|
||||
add (init_integer_type (alloc, 8, 0, "i8"));
|
||||
struct type *u8_type
|
||||
= add (init_integer_type (alloc, 8, 1, "u8"));
|
||||
|
Reference in New Issue
Block a user