From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta038.useast.a.cloudfilter.net (omta038.useast.a.cloudfilter.net [44.202.169.37]) by sourceware.org (Postfix) with ESMTPS id D36E33882052 for ; Thu, 13 Jun 2024 16:18:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D36E33882052 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D36E33882052 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718295490; cv=none; b=LpWkLcK0evKWbZ5fpWpFcGdE/FvaphRsD8JsKsApTkKVGNppA1qZNOlI3gjgOyrcs+704IIj5LQQqERkK1sVNtbNnd9VoZugzi7t1qEDsLOIrclxHpx6JW97Y19OItu4DSpmxqtBa6YkRUiEREyDThuuvZACHZwWtLTbtqIw/8o= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1718295490; c=relaxed/simple; bh=/7UOAn+AAR8lH3ODlFQrUGPlxppB2f17WrRfKtjQzBY=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=s4oIDdCJXPmPC00AMxD3QwjNii3zgMEUG2Wsk/fWpKK05Iwdny+PsagjALLAYY+l4DU0pSlSz1RfjZE4Frj3kYlcPwGfvtka9IaKiUWUOB2ASROdly55wY/FgSYQ9BFCdSlGmYr5Y6lE31SB5ZB7YjUd+CYZRy43K7aMSufW3DE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5001a.ext.cloudfilter.net ([10.0.29.139]) by cmsmtp with ESMTPS id HkJksKuwmjfBAHn9Ks3KhG; Thu, 13 Jun 2024 16:18:06 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id Hn9JsF7LiCaXoHn9JsZIkP; Thu, 13 Jun 2024 16:18:06 +0000 X-Authority-Analysis: v=2.4 cv=deBL3mXe c=1 sm=1 tr=0 ts=666b1bbe a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=T1WGqf2p2xoA:10 a=Qbun_eYptAEA:10 a=n9Nvxce8AAAA:8 a=bLWzJEdPRZpeNNFaHw8A:9 a=weQxluJwSbgA:10 a=zZCYzV9kfG8A:10 a=V4tbcg9hxeXQX3VEsxKP:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=w1HcOhNtUm2BfeKrYNZTnKhY/AMajecqHnP/rOupHcE=; b=HTW1+qDI1pgLF1GbmgUWi0CvUf GZJeXoIqpNk5Wvr8Qe/GOFRum8sC98B/9tt4+ASPW22hrQcN8qxkOf6bZhJ/6fkLk9Doms36JXJJO /vRcZwXtLqVRZUhtunYqQkzCI; Received: from 75-166-134-4.hlrn.qwest.net ([75.166.134.4]:35748 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1sHn9J-002FE2-0b; Thu, 13 Jun 2024 10:18:05 -0600 From: Tom Tromey To: Mark Wielaard Cc: Tom Tromey , gdb-patches@sourceware.org, William Ferreira Subject: Re: [PATCH] gdbserver: Don't try to reopen stdio just quit In-Reply-To: <20240612192243.GI21923@gnu.wildebeest.org> (Mark Wielaard's message of "Wed, 12 Jun 2024 21:22:43 +0200") References: <20240611221916.3146658-1-mark@klomp.org> <87h6dyfeoo.fsf@tromey.com> <20240612143724.GG21923@gnu.wildebeest.org> <874j9yf1bs.fsf@tromey.com> <20240612192243.GI21923@gnu.wildebeest.org> X-Attribution: Tom Date: Thu, 13 Jun 2024 10:18:04 -0600 Message-ID: <87o784es03.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.134.4 X-Source-L: No X-Exim-ID: 1sHn9J-002FE2-0b X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-134-4.hlrn.qwest.net (murgatroyd) [75.166.134.4]:35748 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfJeBH7cgiQd8WJwMrYKRSSGCfihbN+E1x9vO6HdJu+eBc9XbSqeeD8vO0gUwdk5J0OH0OwxvCKIvnzVc7YY/33rREfthKz2oipTGAZnrI2/wPIdyo/G4 kDARY+KvKqhUJD0mVq3AcPcJgfYH91/Pxi2F36VX3UIb26oCZFgCMJI6Dry3LDdxRtgGN1+OxZE8usYeP1n7EIiJW43w+3pF5gA= X-Spam-Status: No, score=-3014.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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: >>>>> "Mark" == Mark Wielaard writes: Mark> Maybe you could try running: Mark> echo | gdbserver - /bin/true Mark> and see whether it terminates with a timeout? It seems to me that with expect we can just send an eof and verify that gdbserver exits? Tom