mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-01 17:27:15 +08:00
gdb: remove SYMBOL_TYPE macro
Add a getter and a setter for a symbol's type. Remove the corresponding macro and adjust all callers. Change-Id: Ie1a137744c5bfe1df4d4f9ae5541c5299577c8de
This commit is contained in:
@ -250,7 +250,7 @@ bpfinishpy_init (PyObject *self, PyObject *args, PyObject *kwargs)
|
||||
if (function != NULL)
|
||||
{
|
||||
struct type *ret_type =
|
||||
check_typedef (TYPE_TARGET_TYPE (SYMBOL_TYPE (function)));
|
||||
check_typedef (TYPE_TARGET_TYPE (function->type ()));
|
||||
|
||||
/* Remember only non-void return types. */
|
||||
if (ret_type->code () != TYPE_CODE_VOID)
|
||||
|
Reference in New Issue
Block a user