This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFA: Jim's patch for PR 607


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--;
  }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]