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:
parent
5b7d941b90
commit
3062502019
6 changed files with 19 additions and 15 deletions
|
@ -1036,7 +1036,7 @@ language_arch_info::type_and_symbol::alloc_type_symbol
|
|||
{
|
||||
struct symbol *symbol;
|
||||
struct gdbarch *gdbarch;
|
||||
gdb_assert (!TYPE_OBJFILE_OWNED (type));
|
||||
gdb_assert (!type->is_objfile_owned ());
|
||||
gdbarch = type->arch ();
|
||||
symbol = new (gdbarch_obstack (gdbarch)) struct symbol ();
|
||||
symbol->m_name = type->name ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue