Use a member function to set a symbol's language
[deliverable/binutils-gdb.git] / gdb / language.c
index ed850350b17694a76b9344d0c8ae54aef492bd17..76efc497379bf479aba7abdeeed1137ba3c95189 100644 (file)
@@ -1051,7 +1051,7 @@ language_alloc_type_symbol (enum language lang, struct type *type)
   symbol = new (gdbarch_obstack (gdbarch)) struct symbol ();
 
   symbol->name = TYPE_NAME (type);
-  symbol_set_language (symbol, lang, nullptr);
+  symbol->set_language (lang, nullptr);
   symbol->owner.arch = gdbarch;
   SYMBOL_OBJFILE_OWNED (symbol) = 0;
   SYMBOL_TYPE (symbol) = type;
This page took 0.023907 seconds and 4 git commands to generate.