mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-31 13:53:45 +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:
@ -254,7 +254,7 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs)
|
||||
if (function != nullptr)
|
||||
{
|
||||
struct type *ret_type =
|
||||
check_typedef (TYPE_TARGET_TYPE (function->type ()));
|
||||
check_typedef (function->type ()->target_type ());
|
||||
|
||||
/* Remember only non-void return types. */
|
||||
if (ret_type->code () != TYPE_CODE_VOID)
|
||||
|
Reference in New Issue
Block a user