From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21575 invoked by alias); 19 Nov 2002 01:20:28 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 21567 invoked from network); 19 Nov 2002 01:20:27 -0000 Received: from unknown (HELO mx2.redhat.com) (12.150.115.133) by sources.redhat.com with SMTP; 19 Nov 2002 01:20:27 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.11.6/8.11.6) with ESMTP id gAJ1Hvt19902; Mon, 18 Nov 2002 20:17:57 -0500 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id gAJ1KRs16370; Mon, 18 Nov 2002 20:20:27 -0500 Received: from localhost.localdomain (frothingslosh.sfbay.redhat.com [172.16.24.27]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id gAJ1KQM32217; Mon, 18 Nov 2002 17:20:26 -0800 Received: (from rth@localhost) by localhost.localdomain (8.11.6/8.11.6) id gAJ1KQn09152; Mon, 18 Nov 2002 17:20:26 -0800 X-Authentication-Warning: localhost.localdomain: rth set sender to rth@redhat.com using -f Date: Mon, 18 Nov 2002 17:20:00 -0000 From: Richard Henderson To: Hans-Peter Nilsson Cc: gcc-patches@gcc.gnu.org Subject: Re: RFC: --enable-checking=valgrind. Message-ID: <20021119012026.GM4209@redhat.com> Mail-Followup-To: Richard Henderson , Hans-Peter Nilsson , gcc-patches@gcc.gnu.org References: <20021111033455.GC11507@egil.codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-SW-Source: 2002-11/txt/msg01091.txt.bz2 On Mon, Nov 11, 2002 at 04:55:17AM -0500, Hans-Peter Nilsson wrote: > * cppfiles.c (read_include_file) [ENABLE_VALGRIND]: When doing the > mmap+1 trick, annotate the byte after the mmap:ed area as readable. > * configure.in (--enable-checking=valgrind): New. > * Makefile.in (VALGRIND_PATH, VALGRIND_CMD, VALGRIND_DEFINES): > New variables. > (HOST_CFLAGS, ALL_CFLAGS): Add $(VALGRIND_DEFINES). > (executing gencheck, genconfigs, genconditions, genflags, > gencodes, genconstants, genemit, genrecog, genopinit, genextract, > genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds, > gengtype, genprotos): Prepend $(VALGRIND_CMD). > * gcc.c (execute) [ENABLE_VALGRIND]: Arrange to prepend > $(VALGRIND_PATH) -q to each command. Ok. r~