From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27792 invoked by alias); 25 Nov 2005 19:11:23 -0000 Received: (qmail 27785 invoked by uid 22791); 25 Nov 2005 19:11:23 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 25 Nov 2005 19:11:22 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Efiyb-0001Pt-0Q; Fri, 25 Nov 2005 14:11:17 -0500 Date: Fri, 25 Nov 2005 21:26:00 -0000 From: Daniel Jacobowitz To: Andrew STUBBS Cc: Eli Zaretskii , gdb-patches@sources.redhat.com Subject: Re: [PATCH] Use search path for scripts Message-ID: <20051125191116.GH736@nevyn.them.org> Mail-Followup-To: Andrew STUBBS , Eli Zaretskii , gdb-patches@sources.redhat.com References: <437C6D69.1030209@st.com> <437DC94B.7060601@st.com> <437DE8F9.9030606@st.com> <20051125175735.GB736@nevyn.them.org> <438752FE.9070302@st.com> <20051125181735.GF736@nevyn.them.org> <4387585E.9050302@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4387585E.9050302@st.com> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00469.txt.bz2 On Fri, Nov 25, 2005 at 06:30:54PM +0000, Andrew STUBBS wrote: > I see your point about changing the search algorithm though. Although > even then, it might be more intuitive to always use the same algorithm > for both. Is it likely to change? Very. That search algorithm has (should have) more concepts of "directory" to deal with than apply to scripts: - compilation directory can be absolute or relative - filename can be absolute, relative, or basename - Paths to include files can be relative to compilation directory or including file in some cases. As said, I'll come back to this patch in a couple of days; let's see if anyone else has a preference. -- Daniel Jacobowitz CodeSourcery, LLC