mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
gdb: remove TYPE_OBJFILE macro
Change all users to use the type::objfile method instead. gdb/ChangeLog: * gdbtypes.h (TYPE_OBJFILE): Remove, change all users to use the type::objfile method instead. Change-Id: I6b3f580913fb1fb0cf986b176dba8db68e1fabf9
This commit is contained in:
@ -1825,7 +1825,7 @@ rust_operator_check (struct expression *exp, int pos,
|
||||
case OP_AGGREGATE:
|
||||
{
|
||||
struct type *type = exp->elts[pos + 1].type;
|
||||
struct objfile *objfile = TYPE_OBJFILE (type);
|
||||
struct objfile *objfile = type->objfile ();
|
||||
|
||||
if (objfile != NULL && (*objfile_func) (objfile, data))
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user