From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 84F9A3858D33 for ; Tue, 17 Oct 2023 13:38:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 84F9A3858D33 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 84F9A3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697549912; cv=none; b=OUMtH/+YiMpbYpxUSSRlMtJ2rdsnlzA1g3T0MJq/zPS12coRJKDTNGWMDF7xr3zdOCJfzuCiR9IY4HI1FiNNAoP4uCN0fT4ksNnhRzq6pZqmAjCrHGBcRArUAMshOSQeZsTBJ6Z9FL+nw7EruoqDC4QfIyM8BzHpAp9Ca0iO/Us= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697549912; c=relaxed/simple; bh=nHlQOrq0DWrxuUDeD+xARekqjxcycrM8xZWThZpim0Q=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=otY6ASp1O8uUJn5fRD2POghfK54DciWJkvTOSJ12Pq5n/gEYBOLO6nTYOIAB4Hv/neSDzk3V91puuxz5nMIkbF0JUqi74l4pFZsWgnmrSWo54dvugIzViFO4IcaqDgEF58ObvmH+27ZbcoenTUTYUnK2aLV7mfyxIvmupp0325g= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5007a.ext.cloudfilter.net ([10.0.29.141]) by cmsmtp with ESMTPS id sX4LqqNuM2A3sskHEqaWfE; Tue, 17 Oct 2023 13:38:28 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id skHDquYgkrhpJskHDqEKxH; Tue, 17 Oct 2023 13:38:28 +0000 X-Authority-Analysis: v=2.4 cv=NpnCzuRJ c=1 sm=1 tr=0 ts=652e8e54 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=IkcTkHD0fZMA:10 a=bhdUkHdE2iEA:10 a=Qbun_eYptAEA:10 a=FFBvU6-hAAAA:8 a=a5MK7-nnmEfqMrifZysA:9 a=QEXdDO2ut3YA:10 a=1SEXxaFcb-ezNmKD8_e4:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: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=nHlQOrq0DWrxuUDeD+xARekqjxcycrM8xZWThZpim0Q=; b=Rrp+EsXZf/36uu70ZhoYFKhU54 498EovV+Eklvf08ssP02TnHS+VqojI0CC4bnOCwKOBUke0vKZSD/4P1Pjmhl+9++un5Jp9sTMfQ11 9iNPu30yWlqoCSftSZoE7+V7/; Received: from 71-211-130-31.hlrn.qwest.net ([71.211.130.31]:59068 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qskHD-000FyR-0n; Tue, 17 Oct 2023 07:38:27 -0600 From: Tom Tromey To: Shivam Saxena Cc: "gdb-patches@sourceware.org" Subject: Re: [RFC] [PATCH] [PR gdb/29796] Fix gdbserver delay before quitting in extended-remote References: X-Attribution: Tom Date: Tue, 17 Oct 2023 07:38:26 -0600 In-Reply-To: (Shivam Saxena's message of "Sat, 14 Oct 2023 02:01:42 +0000") Message-ID: <87il75qsh9.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 71.211.130.31 X-Source-L: No X-Exim-ID: 1qskHD-000FyR-0n X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 71-211-130-31.hlrn.qwest.net (murgatroyd) [71.211.130.31]:59068 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: MS4xfO/7ol1+qi+GuSM6pHnsYjj1MbvZ+BYlOpu3VUWWfKtcvqRbZ7w560FAexKb5RLiCe2EEo0i/LyOOHek3ogU6AHQDIVuDA0QxeuDWJ9YC+YBkV+AQMvl /PnVxoNy6Xp+6RKDRgpj/7DrmfRLRMTx1mW0H1ujYYy7KJH+QI+bZ6iHfgrotYWpNc4V+1FboAWeE7ULpwRIrqf5L1OI170XCVQ= X-Spam-Status: No, score=-3018.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP 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: >>>>> "Shivam" =3D=3D Shivam Saxena writes: Shivam> I've explicitly set the run_once=E2=80=8B flag when stdio=E2=80=8B = is detected at Shivam> launch of gdbserver. This does fix the problem as suggested in Shivam> the bug since the conditional at gdbserver/server.cc:3958=E2=80=8B = is Shivam> always triggered. This patch probably should also update the documentation. thanks, Tom