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] Don't split executable paths with spaces in into multiple arguments


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

>> gdb/
>> 2009-11-04  Jon Beniston  <jon@beniston.com>
>> * remote-sim.c(gdbsim_create_inferior) Quote executable path in case
>> it
>> contains spaces.

Joel> OK.  This is not handling the case where the filename contains a double
Joel> quote, but it is not making things worse, and double-quotes in filenames
Joel> are probably extremely rare.

It seems to me that it would not be significantly harder for the code to
do the correct thing in all cases.

Tom


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