From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20510 invoked by alias); 5 Jul 2006 23:01:38 -0000 Received: (qmail 20498 invoked by uid 22791); 5 Jul 2006 23:01:37 -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; Wed, 05 Jul 2006 23:01:32 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FyGN7-0000K7-F3; Wed, 05 Jul 2006 19:01:29 -0400 Date: Wed, 05 Jul 2006 23:01:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] New substitute-path commands Message-ID: <20060705230129.GA1145@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20060705215606.GF3580@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060705215606.GF3580@adacore.com> User-Agent: Mutt/1.5.11+cvs20060403 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: 2006-07/txt/msg00018.txt.bz2 On Wed, Jul 05, 2006 at 02:56:06PM -0700, Joel Brobecker wrote: > (gdb) substitute-path add > (gdb) substitute-path remove > (gdb) substitute-path > > * "substitute-path add" adds a substitution rule, where the first > instance of is replaced by . > > * "substitute-path remove" removes the current substitution rule > if one was specified. No effect otherwise. > > * "substitute-path" prints the current substitution rule. Given your later explanation that you only support one entry, I find "substitute-path add" a bit confusing. Shall we take a moment to think about a general interface for lists? If we had one, we could use it for other variables, and we could access this using something like -gdb-set. -- Daniel Jacobowitz CodeSourcery