From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16439 invoked by alias); 26 Jun 2006 09:51:28 -0000 Received: (qmail 16416 invoked by uid 22791); 26 Jun 2006 09:51:27 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Jun 2006 09:51:21 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id C22B2EF19; Mon, 26 Jun 2006 11:51:18 +0200 (CEST) From: Andreas Schwab To: Joel Brobecker Cc: gdb@sourceware.org, gdb@sources.redhat.com, Eli Zaretskii Subject: Re: Should "dir" override the full path encoded in debug info? References: <20060624071058.GD22750@adacore.com> <20060624075143.GF22750@adacore.com> <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> X-Yow: I'm working under the direct orders of WAYNE NEWTON to deport consenting adults! Date: Mon, 26 Jun 2006 12:58:00 -0000 In-Reply-To: <20060626024422.GJ22750@adacore.com> (Joel Brobecker's message of "Sun, 25 Jun 2006 19:44:22 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/msg00233.txt.bz2 Joel Brobecker writes: >> > Please correct me if I'm wrong, but wouldn't something like >> > substitute-path be more correct. I mean, this doesn't relate to a dir or >> > a filename does it? I may not completly understand what the new >> > functions input/output is though. >> >> Works for me. > > substitute-path works for me too. (and I verified, no collision with > other commands). > > Right now, the interface I have in mind is the following. > > (gdb) substitute-path from to > > Sets the substitution rule using "from" and "to". How about adding subcommands `add' and `remove' and having more than one substitution rule? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16438 invoked by alias); 26 Jun 2006 09:51:28 -0000 Received: (qmail 16413 invoked by uid 22791); 26 Jun 2006 09:51:24 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Jun 2006 09:51:21 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id C22B2EF19; Mon, 26 Jun 2006 11:51:18 +0200 (CEST) From: Andreas Schwab To: Joel Brobecker Cc: gdb@sourceware.org, gdb@sources.redhat.com, Eli Zaretskii Subject: Re: Should "dir" override the full path encoded in debug info? References: <20060624071058.GD22750@adacore.com> <20060624075143.GF22750@adacore.com> <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> X-Yow: I'm working under the direct orders of WAYNE NEWTON to deport consenting adults! Date: Mon, 26 Jun 2006 12:38:00 -0000 In-Reply-To: <20060626024422.GJ22750@adacore.com> (Joel Brobecker's message of "Sun, 25 Jun 2006 19:44:22 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/msg00232.txt.bz2 Message-ID: <20060626123800.gtgjxjOSsfvpF1Auet7q3idIQhcvXNGbQAW3FMSp_wQ@z> Joel Brobecker writes: >> > Please correct me if I'm wrong, but wouldn't something like >> > substitute-path be more correct. I mean, this doesn't relate to a dir or >> > a filename does it? I may not completly understand what the new >> > functions input/output is though. >> >> Works for me. > > substitute-path works for me too. (and I verified, no collision with > other commands). > > Right now, the interface I have in mind is the following. > > (gdb) substitute-path from to > > Sets the substitution rule using "from" and "to". How about adding subcommands `add' and `remove' and having more than one substitution rule? Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."