mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08: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:
@ -86,7 +86,7 @@ gccgo_string_p (struct type *type)
|
||||
&& type1->code () == TYPE_CODE_INT
|
||||
&& strcmp (type->field (1).name (), "__length") == 0)
|
||||
{
|
||||
struct type *target_type = TYPE_TARGET_TYPE (type0);
|
||||
struct type *target_type = type0->target_type ();
|
||||
|
||||
target_type = check_typedef (target_type);
|
||||
|
||||
|
Reference in New Issue
Block a user