Use a member function to set a symbol's language
[deliverable/binutils-gdb.git] / gdb / mdebugread.c
index ceffc012c11f7fca6aa19567e7436277d2da2d65..8d896d5392d50a08679bf5de039074ddb29c7b6a 100644 (file)
@@ -4761,8 +4761,7 @@ new_symbol (const char *name)
 {
   struct symbol *s = allocate_symbol (mdebugread_objfile);
 
-  SYMBOL_SET_LANGUAGE (s, psymtab_language,
-                      &mdebugread_objfile->objfile_obstack);
+  s->set_language (psymtab_language, &mdebugread_objfile->objfile_obstack);
   SYMBOL_SET_NAMES (s, name, true, mdebugread_objfile);
   return s;
 }
This page took 0.024494 seconds and 4 git commands to generate.