From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id BD41A3858D32 for ; Sun, 21 Jan 2024 10:23:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BD41A3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BD41A3858D32 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705832589; cv=none; b=fMtrsmuBPF02v+htNFZMEvFfu7avrqnKJ4QRCEzaW4YqG1R72IYXMg7OxkQCfI038I5zjcM220pbkpjA58n6a1DEfzKSHN88A/SyiBzAdIYPiJlvOkMkUfNJEUXoOse0aUtwDxyoES9gBWl+sg2zNRV4dUUwwORDYwDYq4NZODA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705832589; c=relaxed/simple; bh=JVQG3jIswkddL9hrDWX/qHxuVx2yVFcpcuwLkvN7o6M=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=PHcNjfsXVVCNi7nvQhEFveBS6b68pNQEMSLXn0e/IcHA54MzSo8AjMmrS+mTJjKSr1EM3nsKYgrkclz05NPbIUk9kxi9JrYqF11WiJ0OGPt6uGUn4kKzhbL6hChvsWwuY36czx8+d4NAAC6unDtOHSl8ucG5RyLToRtbpLFsnjk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRUym-0000QS-Lw; Sun, 21 Jan 2024 05:23:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=8M6vQByLfY1szpE+tTNbm0whtx9vBb6qtkT7jZPkYOk=; b=qk6o1CNBeSNB 0X2rlUsRkG31y6mFDoU3kp3F13tN4k4ZO5Sxm9OTkeGyLcuNyqDMF9hpJfdd0RHjTbY0/4kl7+/Ow YnUeKVseMCKi3ErHVRzEw9Owc2u6EpeSFFE+bLfFHi/n5MC6G2LLMRbufIVlg74Okp2DQYUD4U2Ht gice26JOO9xeXRUnmr9wAQ5+Qgm4fGwGGKtcJHvBbEyivYjHltFmohk1l/v5LgcFq+JvAwL0rbcki CuRuc70IihtrZ05iOkxzXvWz47yfA+0CHu5YopTDBSCc+lCNYiEpyAIJfcM5HglKnSnxyZH6T7waE prYsUcQQhFbaAGb1F10g4Q==; Date: Sun, 21 Jan 2024 12:22:48 +0200 Message-Id: <8334urrnnr.fsf@gnu.org> From: Eli Zaretskii To: Andrew Burgess Cc: gdb-patches@sourceware.org, m.weghorn@posteo.de In-Reply-To: <87bk9f62tx.fsf@redhat.com> (message from Andrew Burgess on Sat, 20 Jan 2024 22:46:02 +0000) Subject: Re: [PATCH 00/16] Inferior argument (inc for remote targets) changes References: <835y02phor.fsf@gnu.org> <87bk9f62tx.fsf@redhat.com> X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > From: Andrew Burgess > Cc: gdb-patches@sourceware.org, m.weghorn@posteo.de > Date: Sat, 20 Jan 2024 22:46:02 +0000 > > The question makes perfect sense. > > My hope is that the situation on Windows is no better or worse than it > ever was. > > I'm reluctant to start writing documentation saying feature X does or > does not work on Windows and why though as I don't have access to a > Windows machine on which I can test any of this. How about saying in the manual that for the embedded newlines to work, the inferior should be started via a Posix shell? This should be enough to hint Windows users this will not work for them. > I believe it's already possible today to inject newline characters via > the Python API. Maybe the window-nat.c code should be checking for > invalid characters and throw an error if the user tries to start an > inferior. If doing that produces some error message from the inferior or the APIs we use to start it, that should be enbough. > I agree that platform specific limitations should be documented. I'm > willing to help however I can to get that done. But I'm a little > uncomfortable trying to document something I can't test. I'll see if I > can source a Windows laptop, maybe I can build/test in that setup. Maybe someone else can test that, and we could then amend the documentation as needed? IOW, I see no reason to delay installing your patch series due to this. Thanks.