From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) by sourceware.org (Postfix) with ESMTPS id 8E4F438930F0 for ; Wed, 29 Apr 2020 11:16:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8E4F438930F0 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 8BFE8160063 for ; Wed, 29 Apr 2020 13:16:48 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49BwvM5G1yz6tmY; Wed, 29 Apr 2020 13:16:45 +0200 (CEST) From: Michael Weghorn To: gdb-patches@sourceware.org Subject: Patches for PR 25893 "gdbserver incorrectly handles program args containing space" Date: Wed, 29 Apr 2020 13:16:33 +0200 Message-Id: <20200429111638.1327262-1-m.weghorn@posteo.de> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2020 11:17:02 -0000 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