From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id A45273875DD1 for ; Wed, 12 Jun 2024 14:37:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A45273875DD1 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A45273875DD1 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=45.83.234.184 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718203047; cv=none; b=KBQnWIBpg4mUowxPx8j1WE5pUnfosiEq8uyeT8mbjHCOhgR3OB6Yr/nFSZ7Vqn75zKVU8Gro6cs1AiWWf2a1AB0AwDAd4yzQdrza71L0jLzr5r0yF1F3pTmwtKayBuiqSy5DUFLKgMZ3vctw2Sx3RV7QjsSNAvfOL/VZBoCnnn0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718203047; c=relaxed/simple; bh=VW9YrMi6Xe2vuSLHZCLYsm2XgB52YsmsMbKrIF0odMg=; h=Date:From:To:Subject:Message-ID:MIME-Version; b=ajmHqxUQfysCtRuTQhU4CSx5UuAOEgT55p94gTKkwMOOXFBP0THz8bbjTMbN/DLbRD51MH8M2+kPt2ktauSaOj/AH8zxStiJgCWCT0pY+3eaIF2Le5fYdvGDHJxFkujD48/BAGrwtXn7MtG8gtzcFC0Vui2qIOyTxWrJs56j3BA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by gnu.wildebeest.org (Postfix, from userid 1000) id AEDAD302FB80; Wed, 12 Jun 2024 16:37:24 +0200 (CEST) Date: Wed, 12 Jun 2024 16:37:24 +0200 From: Mark Wielaard To: Tom Tromey Cc: gdb-patches@sourceware.org, William Ferreira Subject: Re: [PATCH] gdbserver: Don't try to reopen stdio just quit Message-ID: <20240612143724.GG21923@gnu.wildebeest.org> References: <20240611221916.3146658-1-mark@klomp.org> <87h6dyfeoo.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87h6dyfeoo.fsf@tromey.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi Tom, On Wed, Jun 12, 2024 at 07:55:51AM -0600, Tom Tromey wrote: > >>>>> "Mark" == Mark Wielaard writes: > > Mark> The testsuite sometimes leaves around gdbserver processes that are > Mark> stuck in a loop trying to reopen stdio, which will not work. Once the > Mark> write side of the pipe is gone it won't come back because it cannot be > Mark> reconnected to another process. > > I was wondering if this is also fixed by > > https://sourceware.org/pipermail/gdb-patches/2024-May/209398.html Yes, that is conceptually the same fix. I actually like it better. So I withdraw mine. Please approve and apply that one. Cheers, Mark