mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +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:
@ -2145,7 +2145,7 @@ lookup_symbol_aux (const char *name, symbol_name_match_type match_type,
|
||||
be typedefed; just be safe. */
|
||||
t = check_typedef (t);
|
||||
if (t->is_pointer_or_reference ())
|
||||
t = TYPE_TARGET_TYPE (t);
|
||||
t = t->target_type ();
|
||||
|
||||
if (t->code () != TYPE_CODE_STRUCT
|
||||
&& t->code () != TYPE_CODE_UNION)
|
||||
|
Reference in New Issue
Block a user