Patches for PR 25893 "gdbserver incorrectly handles program args containing space"

Michael Weghorn
2020-04-29T11:16:51Z

Hi,

I have taken a look why gdbserver currently cannot correctly handle
program args containing spaces (PR 25893, [1]) and am sending patches
that implement a potential solution for this in follow-up emails.

This is the first time I'm trying to contribute to gdb and I haven't
completed an FSF copyright assignment so far.
I'm happy about any feedback on the patches, and also other hints in case
I've missed anything when reading the contribution guideline.

If anybody has a better solution for the bug, please also go ahead and
I'll be happy to just drop my patches.

Thanks in advance and best regards,
Michael

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=25893