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
- From: Michael Snyder <msnyder at vmware dot com>
- To: Jon Beniston <jon at beniston dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Tue, 02 Dec 2008 13:17:22 -0800
- Subject: Re: Patch to support spaces in filenames & paths
- References: <7D653316E38B4305941199D722BF20B0@bibi>
Jon Beniston wrote:
Hi,
Attached is a patch that adds support for spaces in filenames or paths for
CLI commands such as restore, by supporting quotes. E.g:
restore "path with spaces/test.x"
2008-12-02 Jon Beniston <jon@beniston.com>
* cli/cli-dump.c: (scan_filename_with_cleanup) Add support for
quoted
strings to allow spaces in paths and filenames.
Fascinating -- now we have two overlapping patches submitted on
the same day, both mentioning "restore" as one of the commands
affected.
Denis, is it possible that Jon's patch will serve in place of
the filename portion of your patch? And that you could then
resubmit your patch with just the other portions?
Jon's patch:
http://sourceware.org/ml/gdb-patches/2008-12/msg00032.html
Denis' patch:
http://sourceware.org/ml/gdb-patches/2008-12/msg00029.html