* defs.h: Delete extraneous whitespace at end of file.
[deliverable/binutils-gdb.git] / gdb / gdbtypes.c
index 99c7c57b08256825bc0b9f653f4e0827b87dc00b..366ab34a713dbd198d547bf375842522234a453c 100644 (file)
@@ -74,6 +74,7 @@ alloc_type (objfile)
     {
       type  = (struct type *) obstack_alloc (&objfile -> type_obstack,
                                             sizeof (struct type));
+      OBJSTAT (objfile, n_types++);
     }
   memset ((char *) type, 0, sizeof (struct type));
 
@@ -1165,6 +1166,7 @@ lookup_fundamental_type (objfile, typeid)
       objfile -> fundamental_types = (struct type **)
        obstack_alloc (&objfile -> type_obstack, nbytes);
       memset ((char *) objfile -> fundamental_types, 0, nbytes);
+      OBJSTAT (objfile, n_types += FT_NUM_MEMBERS);
     }
 
   /* Look for this particular type in the fundamental type vector.  If one is
This page took 0.024047 seconds and 4 git commands to generate.