From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7249 invoked by alias); 26 Jun 2006 14:55:29 -0000 Received: (qmail 7207 invoked by uid 22791); 26 Jun 2006 14:55:26 -0000 X-Spam-Check-By: sourceware.org Received: from eastrmmtao05.cox.net (HELO eastrmmtao05.cox.net) (68.230.240.34) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Jun 2006 14:55:23 +0000 Received: from localhost.localdomain ([68.9.66.48]) by eastrmmtao05.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060626145520.YKWS26910.eastrmmtao05.cox.net@localhost.localdomain>; Mon, 26 Jun 2006 10:55:20 -0400 Received: from bob by localhost.localdomain with local (Exim 4.60) (envelope-from ) id 1FusUs-0002F4-Ep; Mon, 26 Jun 2006 10:55:30 -0400 Date: Tue, 27 Jun 2006 08:25:00 -0000 From: Bob Rossi To: Joel Brobecker Cc: Andreas Schwab , gdb@sourceware.org, gdb@sources.redhat.com, Eli Zaretskii Subject: Re: Should "dir" override the full path encoded in debug info? Message-ID: <20060626145530.GB22589@brasko.net> Mail-Followup-To: Joel Brobecker , Andreas Schwab , gdb@sourceware.org, gdb@sources.redhat.com, Eli Zaretskii References: <20060624133051.GB26555@nevyn.them.org> <20060625040715.GH22750@adacore.com> <20060626015318.GI22750@adacore.com> <20060626015636.GA14263@nevyn.them.org> <20060626020333.GA22589@brasko.net> <20060626021945.GA14880@nevyn.them.org> <20060626024422.GJ22750@adacore.com> <20060626145036.GK22750@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060626145036.GK22750@adacore.com> User-Agent: Mutt/1.5.11 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00241.txt.bz2 Message-ID: <20060627082500.giTPy_clvODCU7hWVPKIysYNX_O7F-hgyZdbyvszcto@z> On Mon, Jun 26, 2006 at 07:50:37AM -0700, Joel Brobecker wrote: > > How about adding subcommands `add' and `remove' and having more than one > > substitution rule? > > I personally think that would be overkill... Others? Well, it seem to me that eventually users will need to subsitute multiple paths. So, it makes sense to support it right away. I don't know if add/remove is the best way. It would be a good idea to also consider a key/value colon separated list. Where if they want to use :, they will have to escape it (\). substitute-path /home/foo=/home/bar:/home/foo\:1=/home/foo\:2 Just some ideas. Bob Rossi