This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Patch to support spaces in filenames & paths
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