From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12006 invoked by alias); 22 Jan 2004 20:16:43 -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 11992 invoked from network); 22 Jan 2004 20:16:42 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 22 Jan 2004 20:16:42 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AjlFq-0002qk-8o for ; Thu, 22 Jan 2004 15:16:42 -0500 Date: Thu, 22 Jan 2004 20:16:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: handling of absolute source file paths (feature wish/implementation idea) Message-ID: <20040122201642.GA26573@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <200401221601.17594.gernot.hillier@siemens.com> <1659-Thu22Jan2004192206+0200-eliz@elta.co.il> <40101A49.1080902@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40101A49.1080902@gnu.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2004-01/txt/msg00256.txt.bz2 On Thu, Jan 22, 2004 at 01:45:29PM -0500, Andrew Cagney wrote: > Hmm, we're rapidly accumulating a long list of ways to alter the > absolute-prefix. cf also: > > (gdb) help set debug-file-directory > Set the directory where separate debug symbols are searched for. > Separate debug symbols are first searched for in the same > directory as the binary, then in the `.debug' subdirectory, > and lastly at the path of the directory of the binary with > the global debug-file directory prepended > > and the ./configure option: > > --with-sysroot[=DIR] Search for usr/lib et al within DIR. > > Might be time for some consolidation: > > set absolute-prefix {source,solib,sysroot,debug,all} Hmm, maybe, but most places that I can think of would want either solib, or source, but not both. --with-sysroot just sets solib, also. I have no idea what it ought to do with debug... Now what would be really nice would be a manual chapter referencing all of these. > (although an immediate source-absolute-prefix shouldn't hurt). > > BTW, wasn't there a mechanism for editing/replacing part of the source > prefix added, or did that get lost? Now that sounds like a great idea. I can't see it in the source, though, and it doesn't ring a bell. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer