X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fsymmisc.c;h=9ce7679f978d3b5fc14a651c0f68be113521fd8f;hb=6532ff3697890085456f353dd49068edfd4ed422;hp=3e9ca82d7e33a634cd57fd18162e3466ce8ae002;hpb=706e37059fbfed5beb9fe02921483809dfd86e5b;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 3e9ca82d7e..9ce7679f97 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -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)); }