From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2658 invoked by alias); 22 Feb 2006 19:24:29 -0000 Received: (qmail 2632 invoked by uid 22791); 22 Feb 2006 19:24:27 -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, 22 Feb 2006 19:23:53 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FBzaW-0007z5-PP; Wed, 22 Feb 2006 14:23:48 -0500 Date: Wed, 22 Feb 2006 19:28:00 -0000 From: Daniel Jacobowitz To: Andrew STUBBS Cc: Jim Blandy , gdb@sourceware.org Subject: Re: Quoting, backslashes, CLI and MI Message-ID: <20060222192348.GA30642@nevyn.them.org> Mail-Followup-To: Andrew STUBBS , Jim Blandy , gdb@sourceware.org References: <20060221213324.GA30729@nevyn.them.org> <8f2776cb0602212223p1b8fda93meb9b12e5d187b3b6@mail.gmail.com> <20060222142953.GA20393@nevyn.them.org> <8f2776cb0602220939i5189212ds8fb249747851cf72@mail.gmail.com> <20060222180137.GA27535@nevyn.them.org> <43FCB929.2060808@st.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43FCB929.2060808@st.com> User-Agent: Mutt/1.5.8i 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-02/txt/msg00302.txt.bz2 On Wed, Feb 22, 2006 at 07:19:05PM +0000, Andrew STUBBS wrote: > Daniel Jacobowitz wrote: > >Then there's the question of what to do with CLI "set args". People > >use this today and it is passed literally to the program, without any > >interpretation of quotes or escapes - if you want that to happen you > >wait for the shell to do it. I don't think that we can really change > >that - we can bump the interface version on MI, but we can't really > >bump it on our CLI users' fingers :-) > > remote-sim.c already uses build_argv for its args. I think that the number of people who pass complicated args to programs run on the simulator is probably much smaller than the number who do so to programs run natively; fork-child.c will trump in this case. For instance, local system filenames. -- Daniel Jacobowitz CodeSourcery