diff options
Diffstat (limited to 'gdb/language.c')
-rw-r--r-- | gdb/language.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/language.c b/gdb/language.c index 6b4be71..8dde504 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1037,7 +1037,7 @@ language_arch_info::type_and_symbol::alloc_type_symbol struct symbol *symbol; struct gdbarch *gdbarch; gdb_assert (!type->is_objfile_owned ()); - gdbarch = type->arch (); + gdbarch = type->arch_owner (); symbol = new (gdbarch_obstack (gdbarch)) struct symbol (); symbol->m_name = type->name (); symbol->set_language (lang, nullptr); |