Make symbol_set_names a member function
[deliverable/binutils-gdb.git] / gdb / language.c
index ac74c7ffa3143a9e7e4be6a6cbc8318b420ac268..bf990da8a9753fac3420f6c0b0eb0ed12d8a46d7 100644 (file)
@@ -1052,7 +1052,7 @@ language_alloc_type_symbol (enum language lang, struct type *type)
   gdbarch = TYPE_OWNER (type).gdbarch;
   symbol = new (gdbarch_obstack (gdbarch)) struct symbol ();
 
-  symbol->name = TYPE_NAME (type);
+  symbol->m_name = TYPE_NAME (type);
   symbol->set_language (lang, nullptr);
   symbol->owner.arch = gdbarch;
   SYMBOL_OBJFILE_OWNED (symbol) = 0;
This page took 0.041181 seconds and 4 git commands to generate.