* dwarf2read.c (macro_start_file): Update.
[deliverable/binutils-gdb.git] / gdb / symmisc.c
index 3e9ca82d7e33a634cd57fd18162e3466ce8ae002..9ce7679f978d3b5fc14a651c0f68be113521fd8f 100644 (file)
@@ -92,7 +92,8 @@ print_symbol_bcache_statistics (void)
     printf_filtered (_("Byte cache statistics for '%s':\n"), objfile->name);
     print_bcache_statistics (psymbol_bcache_get_bcache (objfile->psymbol_cache),
                              "partial symbol cache");
-    print_bcache_statistics (objfile->macro_cache, "preprocessor macro cache");
+    print_bcache_statistics (objfile->per_bfd->macro_cache,
+                            "preprocessor macro cache");
     print_bcache_statistics (objfile->per_bfd->filename_cache,
                             "file name cache");
   }
@@ -154,7 +155,7 @@ print_objfile_statistics (void)
                     bcache_memory_used (psymbol_bcache_get_bcache
                                          (objfile->psymbol_cache)));
     printf_filtered (_("  Total memory used for macro cache: %d\n"),
-                    bcache_memory_used (objfile->macro_cache));
+                    bcache_memory_used (objfile->per_bfd->macro_cache));
     printf_filtered (_("  Total memory used for file name cache: %d\n"),
                     bcache_memory_used (objfile->per_bfd->filename_cache));
   }
This page took 0.024138 seconds and 4 git commands to generate.