From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8104 invoked by alias); 10 Oct 2005 10:46:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8048 invoked by uid 22791); 10 Oct 2005 10:46:53 -0000 Received: from eastrmmtao01.cox.net (HELO eastrmmtao01.cox.net) (68.230.240.38) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 10 Oct 2005 10:46:53 +0000 Received: from white ([68.9.64.121]) by eastrmmtao01.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051010104638.BCBH13165.eastrmmtao01.cox.net@white>; Mon, 10 Oct 2005 06:46:38 -0400 Received: from bob by white with local (Exim 3.36 #1 (Debian)) id 1EOvAw-00011G-00; Mon, 10 Oct 2005 06:46:34 -0400 Date: Mon, 10 Oct 2005 10:46:00 -0000 From: Bob Rossi To: Craig Jeffree Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: [PATCH] Relative source file search Message-ID: <20051010104633.GA3896@white> Mail-Followup-To: Craig Jeffree , Daniel Jacobowitz , gdb-patches@sources.redhat.com References: <1127806796.32709.17.camel@norman> <1128389039.32709.128.camel@norman> <20051004013535.GA24000@nevyn.them.org> <1128560230.18954.14.camel@norman> <20051006021548.GA5232@white> <1128566917.18954.39.camel@norman> <20051006130035.GA6184@white> <1128641520.18954.63.camel@norman> <20051007002522.GA7444@white> <1128920165.25000.56.camel@norman> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1128920165.25000.56.camel@norman> User-Agent: Mutt/1.5.9i X-SW-Source: 2005-10/txt/msg00093.txt.bz2 On Mon, Oct 10, 2005 at 02:56:04PM +1000, Craig Jeffree wrote: > On Thu, 2005-10-06 at 20:25 -0400, Bob Rossi wrote: > > Craig, you should be able to put your patch into > > source.c:find_and_open_source in the part where it checks for > > if (dirname != NULL) > > { > > ... > > } > > > > instead of appending to the source_path, simply change the filename and > > leave the source_path alone. Run this through the testsuite, are there > > any errors? > > Attached is a new patch with the change in find_and_open_source. I > haven't had any luck with the testsuite though, I kept getting a build > error, then I did a cvs update to make sure I had the latest, now the > whole thing won't build. Does the cvs head build today? I'm getting I'll apply this patch and run it through the testsuite. I'll also try it on my example and let you know what the results are. Bob Rossi