This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RFA: Jim's patch for PR 607
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 23 Aug 2008 12:12:52 -0600
- Subject: RFA: Jim's patch for PR 607
- Reply-to: tromey at redhat dot com
This patch comes from PR 607.
This changes print_symbol_bcache_statistics to print statistics for
the macro cache.
I didn't change this patch; I just ran it through the test suite.
Built & regtested on x86-64 (compile farm).
Ok?
I'll update the ChangeLog date at commit time.
Tom
2002-11-13 Jim Blandy <jimb@redhat.com>
* symmisc.c (print_symbol_bcache_statistics): Include statistics
for the macro bcache.
Index: gdb/symmisc.c
===================================================================
RCS file: /cvs/src/src/gdb/symmisc.c,v
retrieving revision 1.12
diff -c -r1.12 symmisc.c
*** gdb/symmisc.c 29 Jul 2002 22:55:26 -0000 1.12
--- gdb/symmisc.c 13 Nov 2002 20:28:30 -0000
***************
*** 170,175 ****
--- 170,176 ----
{
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--;
}