From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3640 invoked by alias); 23 Aug 2008 18:14:13 -0000 Received: (qmail 3632 invoked by uid 22791); 23 Aug 2008 18:14:13 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.redhat.com (HELO mx2.redhat.com) (66.187.237.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 23 Aug 2008 18:13:38 +0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m7NID1Ng021920 for ; Sat, 23 Aug 2008 14:13:22 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m7NIComc004179 for ; Sat, 23 Aug 2008 14:12:51 -0400 Received: from opsy.redhat.com (vpn-10-19.bos.redhat.com [10.16.10.19]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id m7NICjGY012185; Sat, 23 Aug 2008 14:12:45 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 156FD37828E; Sat, 23 Aug 2008 12:12:54 -0600 (MDT) To: gdb-patches@sourceware.org Subject: RFA: Jim's patch for PR 607 From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom Date: Sat, 23 Aug 2008 18:14:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-08/txt/msg00593.txt.bz2 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 * 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--; }