From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19619 invoked by alias); 25 Nov 2005 17:57:40 -0000 Received: (qmail 19610 invoked by uid 22791); 25 Nov 2005 17:57:39 -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 17:57:38 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EfhpH-00014X-FR; Fri, 25 Nov 2005 12:57:35 -0500 Date: Fri, 25 Nov 2005 18:12: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: <20051125175735.GB736@nevyn.them.org> Mail-Followup-To: Andrew STUBBS , Eli Zaretskii , gdb-patches@sources.redhat.com References: <437B6718.7070300@st.com> <437C6D69.1030209@st.com> <437DC94B.7060601@st.com> <437DE8F9.9030606@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <437DE8F9.9030606@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/msg00459.txt.bz2 On Fri, Nov 18, 2005 at 02:45:13PM +0000, Andrew STUBBS wrote: > * cli-cmds.c: Include fcntl.h. > (source_command): Use the GDB search path to find script files. > > doc/ > * gdb.texinfo (Choosing files): Mention that -directory is used > for script files. > (Specifying source directories): Likewise. > (Command files): Explain how script files are found. Could you explain why you used the source path to search for scripts, instead of a separate search path? Was it just because it was handy? Are scripts likely to be in manually-added directories on the source search path? I don't see the correspondence. -- Daniel Jacobowitz CodeSourcery, LLC