From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id MTzPKFyw2WoZdQoAWB0awg (envelope-from ) for ; Thu, 22 Oct 2026 02:42:36 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=cIa2bLVe; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9A9C31E047; Thu, 22 Oct 2026 02:42:36 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E9BCE1E047 for ; Thu, 22 Oct 2026 02:42:34 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 168FE4BA2E22 for ; Thu, 22 Oct 2026 06:42:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 168FE4BA2E22 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=cIa2bLVe Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 182284BA2E24 for ; Thu, 22 Oct 2026 06:42:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 182284BA2E24 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 182284BA2E24 Authentication-Results: sourceware.org; arc=fail smtp.remote-ip=148.163.156.1 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1792651325; cv=fail; b=QGgXhqHC9rlaKv0bBUm+zVwtkuT1K64Gwe1WOu2RsqVjw8lvDNpzDXlh3NQ9qi+h1kz25HMFuVUJOaznkbsvWLbxmj0fkP7hMpTdf0Lekj7qFPLlspdpwZ/0T9qIWdfpbc+VzqWZnJNGcJQBvA472IBytZzsi4eH8nF3ycl6OQY= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1792651325; c=relaxed/simple; bh=KBxaIyhuLfT2hlAYQ4Lt8PCImMNMpaauMn4M5QLSGNk=; h=DKIM-Signature:From:To:Date:Message-ID:MIME-Version:Subject; b=GHSJ3obcqtrf+MwPs8ZSDTn5MWZX18x8wpEnVv6GMV7JE4/AL4PhAKTrKITO0mav45+gRnwp/n+t/NSWE3ixfuYEx0JHF5nG3qVSYd9TkgxsMOiziUYB9TQpPHEH8HepTKbEKbDymtWdqUPSiiep0/13t2YymNxsXiCPMbMotz8= ARC-Authentication-Results: i=2; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256 header.s=pp1 header.b=cIa2bLVe DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 182284BA2E24 Received: from pps.filterd (m0353729.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69M3iWYo1340420; Thu, 22 Oct 2026 06:42:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=pp1; bh=FXpVBMF7dOfOeZ4MwzimXLessKuBNj nCC1Eqe0jjSoI=; b=cIa2bLVerHqurMypEzd/FPKoIXSoH0htwuuXVxpcrzSq4b aZ1BKva3fYTsFXqzXnGchblPlDh1/4fxnHVpaOWrl/VdNZjOqqcpqzZ5YURFe9BW bHxFta21bkQi7YCpDzGzgNxCD+L0tN4pxoB0dwf7zcXcZ5KTSF5FrATNcW28LZQv nC4VL2cx4YWx43u+ryKixhDGekQCrXjUy2ZaquikZGJ5XCDYpKmShCBgq+dUimoL CjDs0BYpsgk/sGQnW68G58mXhjxrXTjJFGsaYk/tqV/Y7kjsGZ6wA3MX9OP5EUGQ RdmDrf75h69DazvPrVoli2LfLRtuR7SdneTc6BVg== Received: from dm5pr21cu001.outbound.protection.outlook.com (mail-centralusazon11011050.outbound.protection.outlook.com [52.101.62.50]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4hdw5bnhrc-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Thu, 22 Oct 2026 06:42:02 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=DSy8otjw9JyA/d4MGkv77X0Hj9FbeMhPP598C7iikTbnfDWdJ6T9Qv4VDxagoZ8XbPiyQd3PxN2mJo2AsXtYhFBO5tarZAMY5gF1j+JusO5UTS6rAubGA3KK+S/GtrjlF3RqTTLhcM85nuZvJwt8BTsvRi3YMPhhPSQ5xo8mq3LjZFe8HGJOcnpZUZ/6JqcArV8vD8m+gsCrtyCivoQRnTOn2busoFZphvBMfVE+xTq9CGlvBW3h3fBRcsrHDGvY6iSDF/SckkzBNXTYOa8V4Flmy8GnXSnaS34lpUdIwAjVJW/yRENu+CvWM7UXDiKLfXSSbBb/F6BW/urGtsuMtg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FXpVBMF7dOfOeZ4MwzimXLessKuBNjnCC1Eqe0jjSoI=; b=TuPSDc9ZqcOHbfd+BCbv9DAaqJPIvc8y0O+WWmEYF2x0FzLeTtvIAbiHv3vx4d/pJIKbklp9x/VXAXNX91wDMVlQk3Ro3JDPHQmMcCihe/0F1aKlzzxg5SIuATPn39pxIHvSNp0Wl2mYnswCM/kktmdi8ik/y/WXNw+oHOSY4lCRP6dGjH4sQsjCyLCx4NfDGUy/39O7tU1+OC6EAV0vjsk6wm0x4ygRH9CVIefYGrMQbq9jgQzV34Uz8QDWmxwZwLcd4shBjs81SYT0bY9cF1u+3S0EE7MYTqmSVo5khOPVmunlhh/pUri2MICTXZT7HDxOoalGgiX5EYT+uDJ5gQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ibm.com; dmarc=pass action=none header.from=ibm.com; dkim=pass header.d=ibm.com; arc=none Received: from DSWPR15MB319817.namprd15.prod.outlook.com (2603:10b6:8:3b5::13) by SJ0PR15MB4712.namprd15.prod.outlook.com (2603:10b6:a03:37d::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.522.19; Thu, 22 Oct 2026 06:42:00 +0000 Received: from DSWPR15MB319817.namprd15.prod.outlook.com ([fe80::be5:16ae:394:f4c8]) by DSWPR15MB319817.namprd15.prod.outlook.com ([fe80::be5:16ae:394:f4c8%7]) with mapi id 15.21.0546.012; Thu, 22 Oct 2026 06:41:59 +0000 From: Aditya Kamath To: Simon Marchi , Aditya Vidyadhar Kamath , Ulrich Weigand , "tom@tromey.com" CC: "gdb-patches@sourceware.org" , SANGAMESH MALLAYYA Thread-Topic: [EXTERNAL] Re: [PATCH v2] Accept ksh88 exit status for SIGINT in shell.exp Thread-Index: AQHdYXCpB/uYh4k7iEmTef/rjv5yR7cJHFwk Date: Thu, 22 Oct 2026 06:41:59 +0000 Message-ID: References: <20261021091128.28234-2-akamath996@gmail.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-IN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-reactions: allow authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ibm.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DSWPR15MB319817:EE_|SJ0PR15MB4712:EE_ x-ms-office365-filtering-correlation-id: bd7f20b6-38eb-4456-2f7c-08df300792f6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|23010399003|366016|56012099006|10067099003|8096899003|3023799007|22082099003|18002099003|38070700021|261021135927099003|11063799006|4143699003|261021121427099003; x-microsoft-antispam-message-info: 66Xn2WyfGEO3Pk21Js8DpnFGYRQqF97pMD/BpDOFe4T9FxG0CtHQYXXsVvRj/lmo/AEhTBmXOnOVuIOpJgOP6POKaQYckxwPAOjOxtd2Femi/g2/h7xh+nee9q3POcrJj2P2NAXDdl7jiPXk1poECTOJi+8m0kX0CDvJ3diynWE6DKcQx2YMKHKmuF2oJusafTTBId5dbmmr9CECOlQy8Axk96MiuAhDE94EO8oeFo5MljB2fUXje91OEEhBylI6MtXThOz066iEwOZyRvc7xwwVo416Vu2vBTzYgd2fd36gLhCJQJ4RmQFPwra0fnUTZ3js1npCIU83pv4We6WnMaTYTAsG5M2L74O9ATE1KxGlJRX6k7Y/l0t+HR/71c/ErV7TKqxAYtAqKzwetZ9zXB9zPDpDhdfWZzTQeQRx5HKVwekwwfFPGiW02EiB5jBujdTOjG9k5BkSlbKFQxssKp7TpKVgLb82qzMIOLcW0dhKwtyJMpdQnW7mlqs4EgtvXVuhAkH2N+XcJTXZTWMxKADj6vBswxl89gFkN3ye6YuVU3DuAEYddoLQlfBLryYwEZBDkAZxI/b+W+JYf6vGyIgh1r646oYj/otAunUzhW5Z5ZHjPxgUrmFKhPlKjgwWQgE6sG7Xs3KHE/kqJXQDKJMMa4uoO6A9AjQJ6AorV+lpmd8O1EO5R51FtJInIKTOYqzmeoBxVkUHJcYpVmH7t7LrvEsYOPdLsj7XI+Y1c7E= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DSWPR15MB319817.namprd15.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(23010399003)(366016)(56012099006)(10067099003)(8096899003)(3023799007)(22082099003)(18002099003)(38070700021)(261021135927099003)(11063799006)(4143699003)(261021121427099003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?WMZ914C9Su45XlwUKHxhLn0rq5GOW6HXJPS+L55hZp6WehH7Bf3JAmevVqzx?= =?us-ascii?Q?wJ3ZQ4B97NvRLYGmb9oynUO9hmEphOrLrBAc134L1N3gtoc4+O+a58zaZPDA?= =?us-ascii?Q?E3GnkjA9Pguz4dPWNOPh6Mki6/rbb3P5v7SdwtLozAgSI3mo+nquwPNHa1+2?= =?us-ascii?Q?HZKKHst+Zh7/HSdqwvIkmKRt2OUjIEXwS1nard0hIf0SqcsZu6BB7aPHxk7W?= =?us-ascii?Q?aH4UQoxrrRWW6hcODIKeQ+UEGpj8MR2hAT04ICJi8Ke6lbuzpAIP6fy37+RQ?= =?us-ascii?Q?zEANunUuRZah1TkNwWBch+Sr7qr4gtprfC9c/1TibV5ZQBgoCh3QrhypKgXk?= =?us-ascii?Q?WTlRZjgJTenwZdZ0GIU+Xw9tragkAmIbowHmAuQO4y0mxM+tQPcfMRTNUUsa?= =?us-ascii?Q?sXfINk0t1239M8MESZj+AQiMTRqayvNXx+prW+hZOVnW6jmvMiVy5Kwu3Zzr?= =?us-ascii?Q?0e5MNnno2BAh2mIMPkqE9ukWmggtR3e7Ks7c4DdT6mSip79M7geRsDH5z2WX?= =?us-ascii?Q?gtvb9UNxyFFcHYuGuzSe3xRseAklVid+4Ki18la8oBRTqtW5hClUqXTW3ztv?= =?us-ascii?Q?+UbbFN/TXoZRfFGfruYU2xMstggvULs8+H6rNR1JUHRnUeI9+NqwotKWTZ+6?= =?us-ascii?Q?Ps+SKKzvlZvIKQ7il13lV52e2HyrdhYlkA4rsIH/44ZsRu9pGZu3Etpjf0tf?= =?us-ascii?Q?wglChLh0Vc4k1VltDDISRjbybYCrEjT6uT1tsCQyaqYWdDnc/Fpce52MOSKY?= =?us-ascii?Q?x55i8yn6bx8IBiVIedCAOvBNcev5NWEhqgh5w/0ZeLigpwcjMPym2v3bR4ew?= =?us-ascii?Q?4rnGH+KOx+tXnvVfQ4neuEf+LEmUnqK/V7+Lj8V0itOJwzjJkFnJscFBv+nF?= =?us-ascii?Q?tSIJgzeFAGvfhZNUSdfw+sL0cpl9ZyfjfW6QeMO6FZWWs/5aPtT20gLyN3Ce?= =?us-ascii?Q?6DSjcLGZbTYS4oELTdKfRteI2meVtP+kYoVGIorE97Y9TxOFk4fCBdYpq5lY?= =?us-ascii?Q?JEJ5o7FDIcnNBYZansjOQMzVfSxMudfJvlAlqyU99cr4XEjHvS3npfG1i2ws?= =?us-ascii?Q?J3VFxwQ10yk3pxMyY1ui/72K+x4lLBe+soAtMK+Y6XDX1NmHJ3810aiwajM5?= =?us-ascii?Q?eTFUJzAdvty3Vg3flc4AEaH6XiGy69WCKSAP0Xm9vkv5/VpYDEhS8jVF6B+2?= =?us-ascii?Q?GwJoPeaz4dLSyQSlrgBF35S2Blb2cezvbNfkM+Kub+wsqbIj1+wHNeFkrK8L?= =?us-ascii?Q?hHwqWJAfHcJHeFihaWEWljMMN1Rq2IZTxj9IOo7x8pQLulmFpd6b5yShaNw7?= =?us-ascii?Q?uA2Zzflq3Fm+w6UH0g88SLvJnbGVSBRLgeOO7BjeBS4DOOcEABm0SIJmcUE6?= =?us-ascii?Q?J/ZHa0mnnUCUYIjuR8ZdZ6HeN7Vk7x8qYDiANrUCB+HU9ZAHVYTuawLvBdke?= =?us-ascii?Q?zbA+LdZn2iIzn5Utp3MM0ULi0zXBxYS8UcQqQWaIZet0dPZFzZ6T7DQdVbrH?= =?us-ascii?Q?XsI9N5RI52/ZwJuOTkEwfOnjlL2OJEW8yACVhV66FsDj6cmfWW69pC5svIbK?= =?us-ascii?Q?J/vcE4i1K4ps/zZlVeEaql9rKrQkfnGQbZjzfT9N+xdMQZlvf1sGrWr8O4MQ?= =?us-ascii?Q?oLUw+vOZ5vzUaoo7r845pZGSHwEkoswX9mR9uNBILz6UwGXdzjswLQk/yBx3?= =?us-ascii?Q?WsARVv43813qN9hzd2H2g18W/b2KThPHuQLWZHe0wc/W1n3BEiU3tKoEdFas?= =?us-ascii?Q?KMi6yII5SorQG/tufH1wmXR1Ka70sTA=3D?= Content-Type: multipart/alternative; boundary="_000_DSWPR15MB31981741361EE3D0C187652954D6652DSWPR15MB319817_" MIME-Version: 1.0 X-Exchange-RoutingPolicyChecked: rOol6xgu3tPTLPVhL2xduDPtE+UDKsgXQfjBItr+QZmE1lM0RaLItmRVm9moM2H3MAaHO5iShTMp0ejIvRSrUItAmiVNp7j1WUO/+m/6N6ZSVwI6Fu7xfc3AZMExjR1oXaHXqC6DXFd3lqXaq5ND+CnwyjQoU6FBrj3prUhcsUAIBGpBNX+gb+wvvYyR+akq6a/jhGjOm0uNDD2jE5Q/JHZ5lkjiLAYHZAfYk6GYztBWZzfQ1bS1PzHqt+e62PjvVdFBugMofYNwwZh8LMtrHl3AV0TOfak8FKDAb+xbGHo7H1uiT3Zk2cekqRCV4wzHo6rVLh9NfswI1Pz+ttTGeA== X-OriginatorOrg: ibm.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DSWPR15MB319817.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd7f20b6-38eb-4456-2f7c-08df300792f6 X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Oct 2026 06:41:59.8308 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fcf67057-50c9-4ad4-98f3-ffca64add9e9 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: AM2/PJZl2EI2srBlC2X8wP8k6w2HQ6tKjwTWH0eY7x2YpEdgK5wfW9PKWDk8uyufVsuy5kvxjNkk7rr9m/JGmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR15MB4712 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Proofpoint-GUID: FtvxcYkR0phVjBoMs3KFibRSdbGiyAsX X-Proofpoint-ORIG-GUID: tjUB-mRejOPZSSWwsXmimG8G2BQLk4zL X-Proofpoint-Spam-Info: AW1haW4tMjYxMDIyMDAyNCBTYWx0ZWRfXy6YgmRBJg0Oh gJqRw8rFi7/lnAulyW3sfFau42ITTCCCBYLei5wSKD5dUSM0TSuBgW68l7+oYAuFrWz7EtaPyLA DYX256V+ctHPx5j/C/BeF3xXfDCvAs8= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDIyMDAyNCBTYWx0ZWRfX70Ao2EZ1cH4i pSCmhp5yq69RkZozmgIU8ecYvzLBjdA778tmTTm9lMNxbs3NKm19GdAcV9dSV6rtOauA8oxStHH CR266NcW+tSwc5Ht7M32+sxQZKHgUHeXUHt/ymnOHTEYSPGo2vBclxV7oh9rCxd5FpB4qQaipqF N41TOw171uGwDKcnO6baH8Dw2K0GIPzeEO/zjS+neY3+frE5U2/9TjsrrBPve0T0p8Cb6aWUOQ3 QrIq56c4RKaw7exfqVgG3UCUIyShdmyiEW6seiiM/QQ3aTbqUclbGeJr+iNKP6fkwhwm5YjYBGV Ap9mwsYHDLUPJu0aNG5cFYEpEw2pm9ZlGFT/5n5RRqkHvtce7yfMZA4oF+0+yP4YKJ/ThlD6/OW h47qi1gI8l+EJgOc+OKHC7Z4ST9naZzDdKPf3DG7wEmnoB7o1q9VZWfPFqvhcZAH7Fo8ci73WXc 7G6ZDpk8J6soN3FkrzA== X-Authority-Analysis: v=2.4 cv=Gb2CDgXL c=1 sm=1 tr=0 ts=6ad9b03a cx=c_pps a=Vx/W+/sNOQWsPBnrpFcqzw==:117 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19 a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=660iZSQnnn4A:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=uAbxVGIbfxUO_5tXvNgY:22 a=yE-d2E7FXuONRfZ3XoYA:9 a=CjuIK1q_8ugA:10 a=EUC_W-Row3hsl3HOYoIA:9 a=QJGlNsTECO46vKa6:21 a=_W_S_7VecoQA:10 Subject: RE: [PATCH v2] Accept ksh88 exit status for SIGINT in shell.exp X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-10-22_02,2026-10-21_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 malwarescore=0 spamscore=0 phishscore=0 clxscore=1015 bulkscore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610220024 X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org --_000_DSWPR15MB31981741361EE3D0C187652954D6652DSWPR15MB319817_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Simon and community members, >I like the idea of testing the actual shell's behavior to set our >expectations for what GDB should output. There are just two >problems: >- Your check uses TCL's exec, which runs on the build machine. That > wouldn't be right in a remote-host scenario. I think we can restrict > your check to when running with a local host. This assumes that you > are not doing remote-host testing with AIX. I missed thinking about this. Thanks. Sending a v3 version of this patch wh= ich addresses this. > - The shell and pipe commands don't necessary use the same shell. The > shell command reads the SHELL env var, but the pipe command uses > popen, which is hardcoded to use /bin/sh. I presume that if you run > your patch with bash as your shell, you'd see a failure for the pipe > test. > Can you test this patch, which addresses those two problems? Yes, when I ran with bash SHELL I got 2 failures. Thanks for pointing out. = I have addressed the same in v3 version of this patch. All 3 shells ksh88, ksh93 and bash are tested and we have 125 passes. Thanks again for pointing them out. Have a nice day ahead. Regards, Aditya. --_000_DSWPR15MB31981741361EE3D0C187652954D6652DSWPR15MB319817_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hi Simon and community members,

>I like th= e idea of testing the actual shell's behavior to set our
>ex= pectations for what GDB should output.  There are just two
>pr= oblems:

 = >- Your check uses TCL's exec, which runs on the build machine.  Th= at
> &= nbsp; wouldn't be right in a remote-host scenario.  I think we can res= trict
> &= nbsp;your check to when running with a local host.  This assumes that = you
> &= nbsp;are not doing remote-host testing with AIX.

I missed thinking about this. Thank= s. Sending a v3 version of this patch which addresses this.

> - The sh= ell and pipe commands don't necessary use the same shell.  The<= span style=3D"color: rgb(0, 0, 0);">
> &= nbsp;shell command reads the SHELL env var, but the pipe command uses
> &= nbsp;popen, which is hardcoded to use /bin/sh.  I presume that if you = run
> &= nbsp; your patch with bash as your shell, you'd see a failure for the pipe<= /span>
> &= nbsp;test.
> Can you test this patch, which a= ddresses those two problems?

Yes, when I ran with bash SHELL I got 2 failures. Thanks for pointing out. = I have addressed the same in v3 version of this patch. 

All 3 shells ksh88, ksh93 and bash are tested and we have 125 passes.

Thanks again for pointing them out.

Have a nice day ahead.

Regards,
Aditya.

--_000_DSWPR15MB31981741361EE3D0C187652954D6652DSWPR15MB319817_--