This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch to support spaces in filenames & paths


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]