Make template_symbol derive from symbol
[deliverable/binutils-gdb.git] / gdb / symtab.c
index 38bc7136c2aa7b2fc5d6a8466128f40b7f16a42e..3d5936774db49931d4e66848cc5d361ccf45361c 100644 (file)
@@ -5800,7 +5800,7 @@ allocate_template_symbol (struct objfile *objfile)
   struct template_symbol *result;
 
   result = OBSTACK_ZALLOC (&objfile->objfile_obstack, struct template_symbol);
-  initialize_objfile_symbol_1 (&result->base);
+  initialize_objfile_symbol_1 (result);
 
   return result;
 }
This page took 0.0291 seconds and 4 git commands to generate.