From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5397 invoked by alias); 4 Dec 2008 13:11:13 -0000 Received: (qmail 5384 invoked by uid 22791); 4 Dec 2008 13:11:12 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 04 Dec 2008 13:10:32 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A4D4E10D5F; Thu, 4 Dec 2008 13:10:30 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 2F30810A09; Thu, 4 Dec 2008 13:10:29 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1L8DyO-0006hH-Dv; Thu, 04 Dec 2008 08:10:28 -0500 Date: Thu, 04 Dec 2008 13:11:00 -0000 From: Daniel Jacobowitz To: Denis PILAT Cc: Doug Evans , Michael Snyder , Jon Beniston , "gdb-patches@sourceware.org" Subject: Re: Patch to support spaces in filenames & paths Message-ID: <20081204131028.GA24868@caradoc.them.org> Mail-Followup-To: Denis PILAT , Doug Evans , Michael Snyder , Jon Beniston , "gdb-patches@sourceware.org" References: <7D653316E38B4305941199D722BF20B0@bibi> <4935A5E2.5050503@vmware.com> <20081202233738.GA15530@caradoc.them.org> <4937A4E3.4040609@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4937A4E3.4040609@st.com> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-12/txt/msg00061.txt.bz2 On Thu, Dec 04, 2008 at 10:37:39AM +0100, Denis PILAT wrote: > Actual implementation of append/dump/restore does not accept spaces at > all, except in the last argument, and I think it's just a side effect. > To me comma must not be considered as a separator since dump command > accepts expression and the calculation of START , END address or OFFSET > is often a function call like sizeof (), but can be more than that like a > function that takes more than one parameters, "max(a,b)" or whatever. I don't think it applies here, but take a peek at the function Doug mentioned - it does handle nested commas. It's not perfect, but it's pretty good. -- Daniel Jacobowitz CodeSourcery