From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 958 invoked by alias); 11 Jun 2007 10:59:36 -0000 Received: (qmail 950 invoked by uid 22791); 11 Jun 2007 10:59:36 -0000 X-Spam-Check-By: sourceware.org Received: from lon-del-03.spheriq.net (HELO lon-del-03.spheriq.net) (195.46.50.99) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 11 Jun 2007 10:59:29 +0000 Received: from lon-out-01.spheriq.net ([195.46.50.129]) by lon-del-03.spheriq.net with ESMTP id l5BAxMHO008993 for ; Mon, 11 Jun 2007 10:59:22 GMT Received: from lon-cus-01.spheriq.net (lon-cus-01.spheriq.net [195.46.50.37]) by lon-out-01.spheriq.net with ESMTP id l5BAxLZV015949 for ; Mon, 11 Jun 2007 10:59:21 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by lon-cus-01.spheriq.net with ESMTP id l5BAxJKk027992 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 11 Jun 2007 10:59:20 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 7178ADA41; Mon, 11 Jun 2007 10:59:17 +0000 (GMT) Received: from mail1.bri.st.com (mail1.bri.st.com [164.129.8.218]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 273BD4C0A1; Mon, 11 Jun 2007 10:59:17 +0000 (GMT) Received: from [164.129.15.13] (bri1043.bri.st.com [164.129.15.13]) by mail1.bri.st.com (MOS 3.7.5a-GA) with ESMTP id CIZ61148 (AUTH stubbsa); Mon, 11 Jun 2007 11:59:16 +0100 (BST) Message-ID: <466D2B04.7040304@st.com> Date: Mon, 11 Jun 2007 10:59:00 -0000 From: Andrew STUBBS User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Rob Quill Cc: Markus Deuling , gdb@sourceware.org Subject: Re: Scope Checking Patch References: <466D07FE.4080800@de.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-06/txt/msg00076.txt.bz2 Rob Quill wrote: > Thanks. I tried this, but I ended up with a 214MB diff file. I'm not > sure why this is, as I did a make distclean on both copies, I think it > may be due to the testsuite results not having been cleaned or > something. Does anyone have any ideas what to do? Don't build in your source tree. As you discovered it is really inconvenient. Instead, put all the object files in a second directory alongside your src directory: mkdir objdir cd objdir ../src/configure make This way the sources are not polluted* and the diff will be much cleaner. Also, like Markus said, always use context or unified diffs. Ordinary diff output isn't nearly so useful. I'd also suggest using the -p option - it adds a procedure name to each hunk - entirely cosmetic, but nice to have. Hope that helps, Andrew * There are some files, such as .info files, which get written back to the source tree.