From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2219 invoked by alias); 22 Jan 2004 15:07:20 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2210 invoked from network); 22 Jan 2004 15:07:18 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 22 Jan 2004 15:07:18 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AjgQQ-0005Gl-6r; Thu, 22 Jan 2004 10:07:18 -0500 Date: Thu, 22 Jan 2004 15:07:00 -0000 From: Daniel Jacobowitz To: Gernot Hillier Cc: gdb@sources.redhat.com Subject: Re: handling of absolute source file paths (feature wish/implementation idea) Message-ID: <20040122150717.GA20168@nevyn.them.org> Mail-Followup-To: Gernot Hillier , gdb@sources.redhat.com References: <200401221601.17594.gernot.hillier@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200401221601.17594.gernot.hillier@siemens.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-01/txt/msg00244.txt.bz2 On Thu, Jan 22, 2004 at 04:01:14PM +0100, Gernot Hillier wrote: > Revision 1.39, Mon Jan 13 20:11:47 2003 UTC by drow > * source.c (openp): If the file does not exist don't necessarily > search the path. > 1. Reverting the change in the mainline as we did. I currently can see no real > reason why this change was made but I think there was a reason. So I assume > you won't like it, do you? I recommend you read the list archives to see why the change was made. You'd have found this: > Sometime last April, when Joel committed a patch to not try to open > directories as programs, we started always searching the given path in > openp (). Try it: > % gdb ./ls > will open /bin/ls if there is no ls in the current directory. > 3. Implement a new setting "source-absolute-prefix" (analog to the already > existing "solib-absolute-prefix") which allows the user to set a prefix for > given absolute source code paths. I think this is a good idea, but let's see if anyone else has an opinion. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer