Checked in: [RFA/commit/Windows] run program with space in path to exe.

Pedro Alves
Wed Oct 24 14:57:00 GMT 2012

On 10/24/2012 03:45 PM, Joel Brobecker wrote:
>> Doesn't gdbserver need the same treatment?
> It doesn't, because it provides the "image name" in addition to the
> command line.

Ah.  The "image name" is a mandatory argument on Windows CE, not optional.
Are you saying that that would be an alternative fix for gdb?  Or is there a
downside?  (Wondering in the sake of convergence in the code bases.)

> Although, now that I look at the code, there might
> be a different bug. The program is going to start fine, but I am guessing
> that argc/argv is going to be miscomputed. I'll put it on my list...


Pedro Alves

More information about the Gdb-patches mailing list