mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +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:
@ -2747,7 +2747,7 @@ return_command (const char *retval_exp, int from_tty)
|
||||
/* Cast return value to the return type of the function. Should
|
||||
the cast fail, this call throws an error. */
|
||||
if (thisfun != NULL)
|
||||
return_type = TYPE_TARGET_TYPE (thisfun->type ());
|
||||
return_type = thisfun->type ()->target_type ();
|
||||
if (return_type == NULL)
|
||||
{
|
||||
if (retval_expr->first_opcode () != UNOP_CAST
|
||||
|
Reference in New Issue
Block a user