From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +J7wJ0Nf62py8hkAWB0awg (envelope-from ) for ; Wed, 04 Nov 2026 11:37:23 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Rr8SKnfa; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 91027378002; Wed, 04 Nov 2026 11:37:23 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.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 A8EAD1E052 for ; Wed, 04 Nov 2026 11:37:21 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2D5314BA2E3D for ; Wed, 4 Nov 2026 16:37:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D5314BA2E3D Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Rr8SKnfa Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by sourceware.org (Postfix) with ESMTPS id 5E5E84BA2E28 for ; Wed, 4 Nov 2026 16:36:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5E5E84BA2E28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 5E5E84BA2E28 Authentication-Results: sourceware.org; arc=fail smtp.remote-ip=198.175.65.12 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1793810210; cv=fail; b=PhUSWlqEsVeymHREcF2rv9fiwHwDOEmfI4OMnx9vli5MGUL/MAAsiDzNh6zcUURS1432h/eRfIqQZQMHBfMgkpTWrPqt5q6eMllJxQVgIfS/TTkno7cqtx8mEc7XrEHgxbLVOJCK7KrppxF27Fj7CN6WDCduuJaAaebVBalR3TY= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1793810210; c=relaxed/simple; bh=oTM0Sjm52HqL7YugbELs1wbmB32XHWEYilF6iDG519c=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Viq52rQA9dJjYTFkqwXKL1EbSeJ3GHFEZ6x20EJySpMx57DoIQ8WZH0aRe/24V38AvpWW9KtA2u3TVe6weD1GS7AZQLZud+PfgiOI6SQe1Od6Gq5dpoiDxGEGDd3XlGjBccaSRHct8HFSZAXZYr1t5wQDvEuntNu8Qnt0YwjLmI= ARC-Authentication-Results: i=2; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Rr8SKnfa DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5E5E84BA2E28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1793810210; x=1825346210; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=oTM0Sjm52HqL7YugbELs1wbmB32XHWEYilF6iDG519c=; b=Rr8SKnfaGR7qJpAaMJUT2Eb9xNE5f7GwgkraF37YyiRqfolOFdDIRB3l ngiWA+Fxepw/vFlgYE6wHLxVp858+0VsPIci5qRHGVnnkH7z6+KB4zdLN XEEdluou558s58XsBGMSM2V/0mCKDwf1HGDk00n4y6QTdTDK0dvBYesbV apWQlLKq43salS6j+vHwUwCXD61Wmog830EKLlQYfD3MBTIgByor6UH1/ K9877KZgMTHYINMe4CWqIkAXgXG+Bbh7rrXlLoKGHM6kxj+PYH1ozlsSm 6deByLVIdpfRQyUW7wtRPkbgAdxfEpNjpbJ5N+YUGiMzLZuZyP3Ev2DyZ A==; X-CSE-ConnectionGUID: tOj4CT6fTbq5pGypP1MamA== X-CSE-MsgGUID: e1Nxic0VRf6eF0u5WrHp0A== X-IronPort-AV: E=McAfee;i="6800,10657,11956"; a="2448121" X-IronPort-AV: E=Sophos;i="6.27,195,1787036400"; d="scan'208,217";a="2448121" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2026 08:36:47 -0800 X-CSE-ConnectionGUID: sG/kbTedTveq5F7LmBkLvQ== X-CSE-MsgGUID: mZDs3ayOREi6PaYqa+92+g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,195,1787036400"; d="scan'208,217";a="6910793" Received: from fmsmsx903.amr.corp.intel.com ([10.18.126.92]) by fmviesa003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2026 08:36:47 -0800 Received: from FMSMSX901.amr.corp.intel.com (10.18.126.90) by fmsmsx903.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 4 Nov 2026 08:36:47 -0800 Received: from fmsedg902.ED.cps.intel.com (10.1.192.144) by FMSMSX901.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56 via Frontend Transport; Wed, 4 Nov 2026 08:36:47 -0800 Received: from MW6PR02CU001.outbound.protection.outlook.com (52.101.48.63) by edgegateway.intel.com (192.55.55.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 4 Nov 2026 08:36:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Oj3135qeCyhV6fEzFHvEm7+/JGY3L5OLMwEvWB8uxvI0VOi7FvUvrvNLoF8oUWD5L72o5JQFDzq1TM9Vf7s08ceMcLysNLF1QLyeK1wnShRlITWRyz80GnIzQiYBzAyfuIpzXSuHRSKrXHQUD9XSgm/iqqlAtnuS0aBm957oQtCk3BdBfydMGWi3bNChGpQTaq04a1zqW2M2p/HcMA2v6FjlnxxmjF4/tix9E5I50HsYmpNm/kce5+PjjW4ufSFVT2gmFccImNxc/CJd9rUbT0vjMwhtduFhbU5TLw9SgUMdXfg5PYiGRjbgZgpC67+p5cNnKPqT0JJOdyIv7SA7UA== 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=LnE6vXRVOrqYaK6cHkPQ4j7eOxw3sXQ3YPti+JOaebo=; b=hHpOy+zPoNm/rdjYQzlMhPOpBPLr9gxURwTJsOVvbkCKhxAbh+ofjGJ0+ofJdPKSF+QBm7MzSZWG3iXpmp2wPn+CUcvjJXHxywspntwyF79b1HPWyXdYR/0TMxqENGNf1xjyRX+7jTClZ54h48G+hme0TPZbIw+9IqMt8ilxIQtxWb0ZeWVNyCkmQ6GN5LxodT/ttOyMThCVdhIXZZf553A4F+omfAkEjwKXrPZpUpVXzqMCZdraAIG2womjnpCbqQN2FCf8tA1qO1BQIN8gKPDWi4Xz7Th7TmQjg5TPflw8S0PQw16cIHA1vd2BCFBBt/Eqbv1ovbYjV9Kf/JIsPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SA1PR11MB6968.namprd11.prod.outlook.com (2603:10b6:806:2be::22) by CH3PR11MB7370.namprd11.prod.outlook.com (2603:10b6:610:14e::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.592.8; Wed, 4 Nov 2026 16:36:45 +0000 Received: from SA1PR11MB6968.namprd11.prod.outlook.com ([fe80::ab18:2ee7:3448:d71a]) by SA1PR11MB6968.namprd11.prod.outlook.com ([fe80::ab18:2ee7:3448:d71a%6]) with mapi id 15.21.0592.009; Wed, 4 Nov 2026 16:36:45 +0000 From: "Bouhaouel, Mohamed" To: Pedro Alves CC: "gdb-patches@sourceware.org" , "Metzger, Markus T" , "Rohr, Stephan" , "eliz@gnu.org" , "aburgess@redhat.com" , Tom Tromey Subject: Re: [PATCH v4 00/11] Add AlwaysNonStop remote protocol extension Thread-Topic: [PATCH v4 00/11] Add AlwaysNonStop remote protocol extension Thread-Index: AQHdPJeRb2AknnvFj06UR/EPF1H3Aba+xHwAgF+2+JM= Date: Wed, 4 Nov 2026 16:36:45 +0000 Message-ID: References: <20260714092128.12941-1-mohamed.bouhaouel@intel.com> <87jyp028ux.fsf@tromey.com> <42bc9fd0-1396-494e-b7af-a5af10a94172@palves.net> In-Reply-To: <42bc9fd0-1396-494e-b7af-a5af10a94172@palves.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: mx.microsoft.com 1; dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA1PR11MB6968:EE_|CH3PR11MB7370:EE_ x-ms-office365-filtering-correlation-id: fa3ae157-1c28-4b3d-08e1-08df3a91d06a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|23010399003|1800799024|10067099003|22082099003|18002099003|8096899003|3023799007|38070700021|56012099006|4143699003|261022075727099003|11063799006|261026140227099003|261026121527099003|261028144727099003|261009223027099003|261022105027099003; x-microsoft-antispam-message-info: XLrQ4ofrZvpyIL8VTH2LVBRuJ255sQDwwm5uYfJZhTjV84F7gTmKZnXpCuHKWqOql+8E4iOpuHs0pp/Tz7AuP4TlWAExYpTPSulCZ/3VgaeUpy8SzQh/yA8CCIeEVxWu8cbCkGEcSLGP+cqimOIBzFdO2HpfXN7HXXoOYzA0sDylxe8HGwmYalphOvCYvs/z6kF/r1hhGPd/FWk8OyLC7tC/alhN58yFbR/hEUY8cqhrESvyOg1r3cP7GZIP9H2gZteDjgF0wfdt2yR9HYQa2PU8j1ureR8DPg6uA2K9zHfwNCFS8sobu4/LnK1DTXarmgiu/MwaED5imyUC4m72iLEWb62XFmysPpovKsihyEvWuTavp1mOHYw9ZqngQ3rea0JVwbcltUo0YAvfUo8ssLaWaO6lct2VkLO2VGweXdoPOmx9yZ3G416/PAOrwck/wXiyHM5myq2cCjiw7ebuuegGxdissr11yvBRr0mw0Q8d3ym2HDA5ZpwqZ9HNtIK7K2dur3/LWr8FG57umm33Jqdj421NssxnBsNcl6cBsT9MK6FWUCX99Rn7ruO3NGBKmAquY+V9NEQbfIc51vn7AtLfgS0V0Lsk5ts2ZGUoIhjsD4TFjxV3mUDIDKoFHwDXKBNLfHCnqtVNcdCNJOWQGHUbOZVtxGjuxuESHAb+cxInXDfmETRJw2sKiXpmkfcZqTGRsnQ3mgyfUic3XzSvKIU2op0dpmGKD6QPBvVDxVU= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA1PR11MB6968.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(23010399003)(1800799024)(10067099003)(22082099003)(18002099003)(8096899003)(3023799007)(38070700021)(56012099006)(4143699003)(261022075727099003)(11063799006)(261026140227099003)(261026121527099003)(261028144727099003)(261009223027099003)(261022105027099003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?vIpR/leZOzNSy9ed2b0ImRD13PSDQN5E37N+jnmz8CeTpFOWxGcDmLRoa5?= =?iso-8859-1?Q?vrpgVwUwBzCT1QFxr7W3NIzD4CJb/+grKJt9ClLU5V6TOddEkkqlBYRsfe?= =?iso-8859-1?Q?MMyKJAz9iotsYKZzs3vpoxVO8fvXxD0IeeqVcY5nnysNups7tIMbhCOTl0?= =?iso-8859-1?Q?HxyJpjYK31NEG783rwmQaK06cJFw6gTlu6jII5ZfC8kZ0hBORt8rXu4SW3?= =?iso-8859-1?Q?lrzna9pa2pcvTdPjHOfG9SuAcaoSwOzV/093jHffukYn58xWXAJWUV+n72?= =?iso-8859-1?Q?8UoeZHnDnnSBmMXL9zbef84ny/jpQdnyUxlZgttRiqpaMVdUosJyHAzmog?= =?iso-8859-1?Q?k0QjDyIiRqjyYzysh4Mve4P39E3vRQGYFg7pZYwgbuIUfDlXPMeYOEQPau?= =?iso-8859-1?Q?QLet/I+JFYcvjI05a3k/a74PAI6pfkTcyhLD8jwa+yvSxCg5JdSv4iXm+v?= =?iso-8859-1?Q?tsXZ38QF8Ko6IVJPFq7lbHT1aWpyxZS8PMPueHi06HNSLs37qFiK6F8s6G?= =?iso-8859-1?Q?Yhyevoza+s+tsZoqxP/jqG+/sjpp/WQ5sy5TQkYVORLn78pongDWu4TcQ2?= =?iso-8859-1?Q?oJxkY4IuUJnxWzxAa/Cd91GxMD87yS4V5sKY+tT8vbOZXJlhGXlaiGnQ9k?= =?iso-8859-1?Q?B+2YS0voo2s/FqcX+an18DctM/57dDffdR0h9PzysX+qOLQl8/iT7B2A2l?= =?iso-8859-1?Q?v6BjIA7x8E1EyXzcXkRei4GoleQHEhZTECbgFFFSKQKKwKuYF3LhL5zDUH?= =?iso-8859-1?Q?KMJ71TLxfSZcBWxuXdLZtun9Kh1+poyIu0A/ZTcro1cyoUlCgyuYoHsbXz?= =?iso-8859-1?Q?ds4rA1Y93h873rKWtzcX1j3bLNNLUIEvZnqTtm/2CWoVnHLeCD7d7PKFf1?= =?iso-8859-1?Q?E5braI0CJlOqGYUOzLt45MBbOr0w6vnPJlfsPMkJUG07ZUPwGlZ+0ux1b1?= =?iso-8859-1?Q?qSwLqg7vHEdvmsFx4xFIVDa7AVRfao0NvS3eT0abqpeOG/8I33Z7u4pph5?= =?iso-8859-1?Q?CATIicYaBFVLXeARC7/7x+yR144pHZNuHHDY1QM2onZA8tw9ENxJ7sci4V?= =?iso-8859-1?Q?/cf1hS8ldNXhFqcGG5uiEdeEO5TxGjwXyQpZ/bzIWEWowa2LH/iMv/rwgi?= =?iso-8859-1?Q?29ydor0bVGDT66C6oOOpCvwLJGfEtw8YtH3UNKWbQgDtfh87EvvfrrFllh?= =?iso-8859-1?Q?zVH5K0+8fh1NzcBV7NHMqpIbc/jCR+8YLi9ox9OTMuRfXeRxlkgXfKhkBK?= =?iso-8859-1?Q?tapoChFyYLq92Y1PaofL1XrYQLLPW3L50icSqdrQ9pSJhzfZ7z6K1mSkPJ?= =?iso-8859-1?Q?EYJq1md/b05kNCY0G3Gvoeoz1oJc0OU3uwvQW/BFhhYMxEtHCxyoXAMuwG?= =?iso-8859-1?Q?/fzkTX/HOtXCM2Q1U9VXrGYUnfaO2NuNdEQXkErxxggL9SQlGhFRc+gHux?= =?iso-8859-1?Q?eds57iFmleLcwptnUf8krZroSEgn0MskCFS0c8s7e5/9RrcujjnP+el8EP?= =?iso-8859-1?Q?XTCs0V898yT3KcHZFBo6040QQckL4oSyXxwgBha3mB10RXm8BJdH+Giz84?= =?iso-8859-1?Q?JTDgKs5f46BCatOqBnpsjGu6VH5HSoVS0EGHuiRB058DrF0c38Su9fIar9?= =?iso-8859-1?Q?tlthl1Y8p5+99S16gR4QCA38imLDXmKtncrjmM3TWmis6lEWYqW7c1pHxf?= =?iso-8859-1?Q?I4gvWf3wfQoElvdBZO/czrBZwpW2mzPmhiqX9qz4cdab+Upbuumo0pXtaC?= =?iso-8859-1?Q?9jevkgGPJRKR7EO9SxL+XE7XiRQNf+j0iQ22nz0VCtrrBPUCoXa8T9Hcda?= =?iso-8859-1?Q?rMP/knxhcw=3D=3D?= Content-Type: multipart/alternative; boundary="_000_SA1PR11MB69681BBED916E0233F264A0DE4682SA1PR11MB6968namp_" MIME-Version: 1.0 X-Exchange-RoutingPolicyChecked: rOad2MqjA02/0M91YFy6LIg1EyLrTPE1zjWIBnh6XWoREiNxlJ52R5BJtTBMHUUG6q/zZWJOTF+layB4tfoqVhmVDUeE8k7fwUGgTommYDNtHEt5FxEFUWAj6yw4MGjdC8FL8C9UzNopVnEGLRvH4sK12c01kcMxQRYKAQ3CsUYtryks72ICy6kxdPjXBC1WpYzaX7Exn/JclUx+BOBW4TS9abrdYAFxQcx41OmvMgKmh1y23ChAwRKAYocOhiOxrpq547tMDwwQoKI5F87oIG7xNUQrIO4t9C+4Qwe64koTh0C2slVI38nuiY3rKe8Wn54VSaKig0xurhtWsc0XCg== X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA1PR11MB6968.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fa3ae157-1c28-4b3d-08e1-08df3a91d06a X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Nov 2026 16:36:45.0830 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6Ihd4S/SRITZpYririWd+XEg7g8Gdf3Nz+oBNemoI+48o6B1baRdj3vciEH3TD5qELtt4nlGf6WM34TaSgT102uzGwL3QKAKoE4eabk7NvY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB7370 X-OriginatorOrg: intel.com 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_SA1PR11MB69681BBED916E0233F264A0DE4682SA1PR11MB6968namp_ Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Pedro, Just a kind reminder to review this when you get a chance. Thank and lookin= g forward to your feedback! --Mohamed ________________________________ From: Pedro Alves Sent: Friday, September 4, 2026 8:54 PM To: Tom Tromey ; Bouhaouel, Mohamed Cc: gdb-patches@sourceware.org ; Metzger, Marku= s T ; Rohr, Stephan ; e= liz@gnu.org ; aburgess@redhat.com Subject: Re: [PATCH v4 00/11] Add AlwaysNonStop remote protocol extension On 2026-09-04 19:02, Tom Tromey wrote: >>>>>> Mohamed Bouhaouel writes: > >> This series introduces the AlwaysNonStop extension, enabling remote >> stubs to declare preferable non-stop mode operation. When advertised, >> GDB defaults to non-stop mode. Attempts to disable it might be rejected >> by the stub with a descriptive error message. > > One thing I don't see in the series is the motivation for this. > It doesn't seem like something that would be useful to a user. > > And if a server wants to work in all-stop-on-top-of-non-stop mode, > I don't think there's really anything preventing that; but also this > wouldn't require any kind of protocol extension. > > I looked at this a little but I'm perhaps not the best person to review > it. I can take a stab at some of it at some point; but I would like to > understand the purpose. > FWIW, I discussed the design that led to this with Mohamed and others off-l= ist, and I do plan to review it once I'm able. I'll try to give it a shot next = week. The main purpose is that Intel's GPU support is designed as combining two inferiors, one for the CPU side, and one for the GPU side. The CPU side is a standard linux-nat target, which runs in all-stop-on-top-of-non-stop (= AS-NS). The GPU side is based on a remote gdbserver connection. Combining a non-stop (native) with an all-stop (remote/gdbserver) target is something that infrun is not really prepared for. So I've suggested that i= nstead, it'll be better if Intel's gdbserver always works in non-stop mode, too. There is really currently no way for the server to tell GDB that it wants t= o work in that way. Users would have to set "maint set target-non-stop on" manual= ly. AS-NS on the remote side has some user-visible advantages. The AS variant = of the protocol doesn't let you talk to the remote side until the target next stop= s, for example. so no setting breakpoints, no reading global variables, etc., non= e of that is possible while the target is running, while it is, in AS-NS. The main diff= erence is that vCont is asynchronous in the non-stop remote protocol. So ideally,= we'd switch over to that variant when we can, by default. But since there are limitations (the ones I listed in the discussion of a previous revision of = this series), a remote target reporting that is supports non-stop mode, should not be tak= en as meaning that it prefers to use non-stop mode by default. That's what the new exten= sion gives us, a way for the remote target to tell GDB what it wants. I ran out of time this week, but I'll try to look at this soon. And of cou= rse, others shouldn't be discouraged from looking just because I said I would. The mor= e eyes, the better. Pedro Alves ________________________________________ Intel Deutschland GmbH = Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany = Tel: +49 (89) 99143-0 = www.intel.de = Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramachandran Sitar= aman Chairperson of the Supervisory Board: Sonja Pierer Registered Seat: Munich Commercial Register B: Amtsgericht Munich HRB 186928 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. --_000_SA1PR11MB69681BBED916E0233F264A0DE4682SA1PR11MB6968namp_ Content-Type: text/html; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable
Hi Pedro,

Just a kind reminder to review this when you get a chance. Thank and lookin= g forward to your feedback!

--Mohame= d

 




From: Pedro Alves <pedro@palves.net>
Sent: Friday, September 4, 2026 8:54 PM
To: Tom Tromey <tom@tromey.com>; Bouhaouel, Mohamed <mohame= d.bouhaouel@intel.com>
Cc: gdb-patches@sourceware.org <gdb-patches@sourceware.org>; M= etzger, Markus T <markus.t.metzger@intel.com>; Rohr, Stephan <step= han.rohr@intel.com>; eliz@gnu.org <eliz@gnu.org>; aburgess@redhat.= com <aburgess@redhat.com>
Subject: Re: [PATCH v4 00/11] Add AlwaysNonStop remote protocol exte= nsion

On 2026-09-04 19:02, Tom Tromey wrote:
>>>>>> Mohamed Bouhaouel <mohamed.bouhaouel@intel.com&= gt; writes:
>
>> This series introduces the AlwaysNonStop extension, enabling remot= e
>> stubs to declare preferable non-stop mode operation.  When ad= vertised,
>> GDB defaults to non-stop mode.  Attempts to disable it might = be rejected
>> by the stub with a descriptive error message.
>
> One thing I don't see in the series is the motivation for this.
> It doesn't seem like something that would be useful to a user.
>
> And if a server wants to work in all-stop-on-top-of-non-stop mode,
> I don't think there's really anything preventing that; but also this > wouldn't require any kind of protocol extension.
>
> I looked at this a little but I'm perhaps not the best person to revie= w
> it.  I can take a stab at some of it at some point; but I would l= ike to
> understand the purpose.
>

FWIW, I discussed the design that led to this with Mohamed and others off-l= ist,
and I do plan to review it once I'm able.  I'll try to give it a shot = next week.

The main purpose is that Intel's GPU support is designed as combining two inferiors, one for the CPU side, and one for the GPU side.  The CPU si= de
is a standard linux-nat target, which runs in all-stop-on-top-of-non-stop (= AS-NS).
The GPU side is based on a remote gdbserver connection.

Combining a non-stop (native) with an all-stop (remote/gdbserver) target is=
something that infrun is not really prepared for.  So I've suggested t= hat instead,
it'll be better if Intel's gdbserver always works in non-stop mode, too.

There is really currently no way for the server to tell GDB that it wants t= o work
in that way.  Users would have to set "maint set target-non-stop = on" manually.

AS-NS on the remote side has some user-visible advantages.  The AS var= iant of the
protocol doesn't let you talk to the remote side until the target next stop= s, for
example.  so no setting breakpoints, no reading global variables, etc.= , none of that is
possible while the target is running, while it is, in AS-NS.  The main= difference
is that vCont is asynchronous in the non-stop remote protocol.  So ide= ally, we'd
switch over to that variant when we can, by default.  But since there = are
limitations (the ones I listed in the discussion of a previous revision of = this series),
a remote target reporting that is supports non-stop mode, should not be tak= en as meaning
that it prefers to use non-stop mode by default.  That's what the new = extension gives us,
a way for the remote target to tell GDB what it wants.

I ran out of time this week, but I'll try to look at this soon.  And o= f course, others
shouldn't be discouraged from looking just because I said I would.  Th= e more eyes,
the better.

Pedro Alves

__________________________= ______________

Intel Deutschland GmbH

Registered Address: Dornacher Strasse 1, 85622 = Feldkirchen, Germany

Tel: +49 (89) 99143-0

www= .intel.de

Managing Directors: Candice Moore, Jeffrey Schneiderman, Ramach= andran Sitaraman

Chairperson of the Supervisory Board: Sonja Pierer

Registered Sea= t: Munich Commercial Register B: Amtsgericht Munich HRB 186928

This e-mail and any attac= hments may contain confidential material for
the sole use of the intende= d recipient(s). Any review or distribution
by others is strictly prohibi= ted. If you are not the intended
recipient, please contact the sender an= d delete all copies.

--_000_SA1PR11MB69681BBED916E0233F264A0DE4682SA1PR11MB6968namp_--