summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-08-23 20:31:34 +0000
committerTom Tromey <tromey@redhat.com>2008-08-23 20:31:34 +0000
commite12dce80cefafc790f8fb46f6295513cb0d10739 (patch)
tree942345c3ec7957c65668197d0970146ee2076cb2
parent42dad2acd2a05201e3733af6511dbbfeb3d765d4 (diff)
downloadgdb-e12dce80cefafc790f8fb46f6295513cb0d10739.tar.gz
2008-08-23 Jim Blandy <jimb@redhat.com>
PR macros/607: * symmisc.c (print_symbol_bcache_statistics): Include statistics for the macro bcache.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/symmisc.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 9b90cc00aec..7b1f0b807a5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2008-08-23 Jim Blandy <jimb@redhat.com>
+
+ PR macros/607:
+ * symmisc.c (print_symbol_bcache_statistics): Include statistics
+ for the macro bcache.
+
2008-08-23 Tom Tromey <tromey@redhat.com>
* macrotab.h (struct macro_definition) <kind>: Shrink to one bit.
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 568cc683527..cbd43bed09d 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -135,6 +135,7 @@ print_symbol_bcache_statistics (void)
{
printf_filtered (_("Byte cache statistics for '%s':\n"), objfile->name);
print_bcache_statistics (objfile->psymbol_cache, "partial symbol cache");
+ print_bcache_statistics (objfile->macro_cache, "preprocessor macro cache");
}
immediate_quit--;
}