forked from Imagelibrary/binutils-gdb
gdb: remove TYPE_OBJFILE_OWNED macro
Update all users to use the type::is_objfile_owned method. gdb/ChangeLog: * gdbtypes.h (TYPE_OBJFILE_OWNED): Remove, update all users to use the type::is_objfile_owned method. Change-Id: Icae84d136393ab9f756f50a33ac3cedda13c5ba2
This commit is contained in:
@@ -970,7 +970,7 @@ compile_cplus_convert_func (compile_cplus_instance *instance,
|
||||
GDB's parser used to do. */
|
||||
if (target_type == nullptr)
|
||||
{
|
||||
if (TYPE_OBJFILE_OWNED (type))
|
||||
if (type->is_objfile_owned ())
|
||||
target_type = objfile_type (type->objfile ())->builtin_int;
|
||||
else
|
||||
target_type = builtin_type (type->arch ())->builtin_int;
|
||||
|
||||
Reference in New Issue
Block a user