mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 01:28:46 +00:00
gdb: remove TYPE_TARGET_TYPE
Remove the macro, replace all uses by calls to type::target_type. Change-Id: Ie51d3e1e22f94130176d6abd723255282bb6d1ed
This commit is contained in:
@@ -495,7 +495,7 @@ generate_vla_size (compile_instance *compiler,
|
||||
type = check_typedef (type);
|
||||
|
||||
if (TYPE_IS_REFERENCE (type))
|
||||
type = check_typedef (TYPE_TARGET_TYPE (type));
|
||||
type = check_typedef (type->target_type ());
|
||||
|
||||
switch (type->code ())
|
||||
{
|
||||
@@ -518,7 +518,7 @@ generate_vla_size (compile_instance *compiler,
|
||||
generate_vla_size (compiler, stream, gdbarch, registers_used, pc,
|
||||
type->index_type (), sym);
|
||||
generate_vla_size (compiler, stream, gdbarch, registers_used, pc,
|
||||
TYPE_TARGET_TYPE (type), sym);
|
||||
type->target_type (), sym);
|
||||
break;
|
||||
|
||||
case TYPE_CODE_UNION:
|
||||
|
||||
Reference in New Issue
Block a user