From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id bP1PKTVY32kvzRgAWB0awg (envelope-from ) for ; Wed, 15 Apr 2026 05:19:49 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=KyC9okCF; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=KyC9okCF; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 91FE71E0C3; Wed, 15 Apr 2026 05:19:49 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 15DC61E0B1 for ; Wed, 15 Apr 2026 05:19:48 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 60D134BA2E0A for ; Wed, 15 Apr 2026 09:19:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60D134BA2E0A Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=KyC9okCF; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=KyC9okCF Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazlp170100001.outbound.protection.outlook.com [IPv6:2a01:111:f403:c200::1]) by sourceware.org (Postfix) with ESMTPS id 121364BA2E1F for ; Wed, 15 Apr 2026 09:19:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 121364BA2E1F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 121364BA2E1F Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:c200::1 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1776244753; cv=pass; b=IvOMvka/3aNZ+9WfJs5+LxWaSKL18e4bveTZj0JaGIRaLe3kL8qfXy9N+27G0QjYqtB6KBPS2YWF52ChrLFYicZxJ3Dqc1/sOuf8xQzxJ3SdJET98176XmQT66uSfSnC1OD9jKGrqIUzhcQE44li4ijS9ZFzhQICPOQrh6IvHMY= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1776244753; c=relaxed/simple; bh=HCimxkF19+Bfzq9vdUJMBAziy10tGAo5kCJF0w6+qJA=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:Subject:To:From: MIME-Version; b=h6FKNgAJDavEYrAqRVy9ko1XsURBAAQzVDohRL3VpEfFKCntu4B0kuTSmm7nguSV6ls7GvmWRIG6ENNjZcH/WybY0EpaQai7xyuUmJRXecqEoUIU37w2+LntEkdZdo26MhsOlAFPK6MwSXcXusqUPBzptJ8/198E1hDV2m2b+s0= ARC-Authentication-Results: i=3; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 121364BA2E1F ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=EHlwm7zuReKXnWvtUyQr0nDMKRh9Zwi1rluZNZNHsRhUgSmzvGivxMjv8s/zWr6tTZUbdeqdZ4n6Pbxe5xIBEEjgZVFDeTUiqHBEF8/f8BLJWxBIXJ8bZOHYcmwZyQMRR37CfHXE9Au8TQyY89KxHdoV2aleJJGRRULqbE1E14MCsB8U2ZSBEW4v0hDuxdoBrHJLLJLWW8nMP8GTtdPXafFienXW8oePF2lHm+Cng12aszWCksubnH6pyyfc4k5++7/Y5dyjmPy5kwCFG9DAOe8cFGZE8Boiu9UgwhXwcPgQNB1DGbDpByqTxNRylAcUuEhjPSdwH/AP6CGCvOFboQ== ARC-Message-Signature: i=2; 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=XzXUL8hDX6yEKy+BWYaMUNx0s4z3eAsSkJ0lSAoS1Ys=; b=Vd2eFXKvyQ3NTvr3dFmQuMJyXB8tcRnfCzZX55JX5+oO6sWbHEhCGcznZ5QUATRF+hENfIRhpBapqOjDSoiD1VFb/vBWlKbv/UOZAmIbH0gqeEAFY2aK7hQeZXCoFSL3AWh9rjjYhHlhAAngYm+aWel1OaBrIlsUKqPWOUgHxSdDe4LZbpWljABpDtnaNgdVqrYxlDZx2+GtJu1zii3EB3KdUy6zqaU0ZliSdBZBvT+zgOAKfQYj02D/Q9rRC+drQRHiAlB2ECeS+luOFgyGNNl/EwA39s+ZoQf+/FICvmGJ5AzvbnGIXn1Mf4+9FHqRoJQn4yAalLXqwNU6Bjc18w== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XzXUL8hDX6yEKy+BWYaMUNx0s4z3eAsSkJ0lSAoS1Ys=; b=KyC9okCFPW9D6Hp4rC4QkVGUj50amOVGCPFLPigh4B1CFtr6eVhMn5GFtV65At1cLfnfmHaj/SO3InAYZ3L/yrSUP7KQoMx+nrwbg4+QRGhjioRrGToIzxGlrngOWFWCluPUUpDdicVrrCsSsG3x4+w+Az8lF4U4YmgEn5ao2lU= Received: from CWLP123CA0027.GBRP123.PROD.OUTLOOK.COM (2603:10a6:401:58::15) by DB9PR08MB6537.eurprd08.prod.outlook.com (2603:10a6:10:250::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.48; Wed, 15 Apr 2026 09:19:07 +0000 Received: from AM3PEPF0000A790.eurprd04.prod.outlook.com (2603:10a6:401:58:cafe::59) by CWLP123CA0027.outlook.office365.com (2603:10a6:401:58::15) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.50 via Frontend Transport; Wed, 15 Apr 2026 09:19:05 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 4.158.2.129) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 4.158.2.129 as permitted sender) receiver=protection.outlook.com; client-ip=4.158.2.129; helo=outbound-uk1.az.dlp.m.darktrace.com; pr=C Received: from outbound-uk1.az.dlp.m.darktrace.com (4.158.2.129) by AM3PEPF0000A790.mail.protection.outlook.com (10.167.16.119) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.17 via Frontend Transport; Wed, 15 Apr 2026 09:19:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JX9WJKUE0IhKHM+6BRSyaeEGkPIIgm+vxd0n+QYTSFDkV21NvZ1Rv3bIzjURDxcB3zfVamJ0sIQOFoVS51sAP6P1gRYhTu2M6ORIxl29IdurA6UadCeGgtCkaamQLQtfVcQCIOjGdsT1De9u1jDeAMyrLqblE1HzCy8ui7o2QKfCh7C3W3d3cRZDhmI7owaSevd6jvBImWgK00shSPaHLP6YmEAqe3dzdfrZ/lfJyrKPaodc4/fchRGC60JDhmcfmw6lz0Rf3Z6Gz67AQq04yaZesOnjLTwwP7rUsP3bzMt8/SWZYtfZ5D+dB6AlMjzs5a8p7AXIKANJYMOuAMbopQ== 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=XzXUL8hDX6yEKy+BWYaMUNx0s4z3eAsSkJ0lSAoS1Ys=; b=q585q9cJ+shjRQQ62+UA1nc2VJpKQ4g8yo5O4//Nrj0pxCu6oUB69XiSdkk17UBHD+PDB+PPC3FlDjxT4tV3ubmly9uAAPj6lGeJlAA3P/Co25Hkw6KnLLFe65n6gbhnwUiURtnIZnj2x/+UWi5oTfDTFkSOGp9/+RtM0+WZzSslqee7iwO6slmpMzPSU2asrklH039CE5TrmcwhwFD1FO5Nwr0UJr9c5FN/pFMikvqN5MB7ZNuo7r50eaPCBrCRm92/bszVE0nNZjsVun9729XKZ3504CgRgcr2XuO/e4I6lBlN9NfqNMROcPYNEVUbGykDQLf3VJ4pfyw/ivxcyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XzXUL8hDX6yEKy+BWYaMUNx0s4z3eAsSkJ0lSAoS1Ys=; b=KyC9okCFPW9D6Hp4rC4QkVGUj50amOVGCPFLPigh4B1CFtr6eVhMn5GFtV65At1cLfnfmHaj/SO3InAYZ3L/yrSUP7KQoMx+nrwbg4+QRGhjioRrGToIzxGlrngOWFWCluPUUpDdicVrrCsSsG3x4+w+Az8lF4U4YmgEn5ao2lU= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DU0PR08MB8663.eurprd08.prod.outlook.com (2603:10a6:10:401::6) by AS8PR08MB8221.eurprd08.prod.outlook.com (2603:10a6:20b:524::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.48; Wed, 15 Apr 2026 09:18:01 +0000 Received: from DU0PR08MB8663.eurprd08.prod.outlook.com ([fe80::f957:cec9:ec8d:7968]) by DU0PR08MB8663.eurprd08.prod.outlook.com ([fe80::f957:cec9:ec8d:7968%2]) with mapi id 15.20.9769.046; Wed, 15 Apr 2026 09:18:01 +0000 Message-ID: Date: Wed, 15 Apr 2026 10:18:00 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 0/4] gdb/python: more fixes again for Python limited C API support To: gdb-patches@sourceware.org, Tom Tromey References: <20260409105155.1416274-1-matthieu.longo@arm.com> Content-Language: en-US From: Matthieu Longo In-Reply-To: <20260409105155.1416274-1-matthieu.longo@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PR3P193CA0053.EURP193.PROD.OUTLOOK.COM (2603:10a6:102:51::28) To DU0PR08MB8663.eurprd08.prod.outlook.com (2603:10a6:10:401::6) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DU0PR08MB8663:EE_|AS8PR08MB8221:EE_|AM3PEPF0000A790:EE_|DB9PR08MB6537:EE_ X-MS-Office365-Filtering-Correlation-Id: bbfd8831-d157-4655-f50b-08de9ad00a26 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|376014|366016|1800799024|22082099003|18002099003|56012099003; X-Microsoft-Antispam-Message-Info-Original: yBgpScu5fXcEsZycx653Yj0HJxSBLDC2i9sp1QyRGMij1e0Ka/h6gKpnpQ5pCRmN+sSmHBuDm8KTaHJMhQ8UDMIO7BtPKLfEzP1PK4ozKjMkCnkoEUh4zv1eZJsBtAA9Jniu8py/Kf5AdexxAaQhnvatSNnS1Q3PPhJcToq48L7dJ43OGi+i6j0YexzPvzlEdZ5YerZXLPLNXeLFWmNJlGrJQvNM/8yIq2UxdDPTA43NEIzTbY7KPAj6qnF+uytQVsFsPnyi54PTokZ0I1zTFo1GA5PSiriKLLYcUnNBT6nOWGggx9InB6cCcdavE236tho5Zo9gifmQIEu7HOtkxIXjEGNNmEYcKKPd5z4ez+qVfYxzGP9utMgip6owCViSg2Nu7X5Swzij/1eF6Wcm9IyDCZ9/5XfORYzKkHz+bNXiJ/744Jpo0JwBUgr2axFRDHkg9HijYM6mjLa+IxE+Z3izXhdubQEG59xBYOq3zl1W3VcbwP0fTKuyWTrwkHAEIWCNKjowBi7IEBaepApJiAEmisiOf6zNiYi6H7EBPeXEZXlcHuA4xqucIFJgs7i2nXL4HNkrsBRCi73Wbk3X5TeZlzZ4EXRhM+NfiOcfnv675a3uWqw8gteJfUS4nw4MaURF+Ux3mVsUFXL6kX9I56vrzcKCpIKGqS7AxKrIACaXvcI1QGWjXU9ANqs3kIGmZUeNyBe/ua95mz7XubOxeDne9FHA87sHFCPpRCjIV+c= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR08MB8663.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(366016)(1800799024)(22082099003)(18002099003)(56012099003); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: W8tmJIqInP2RdWC0SmyRrLCGvbpDNmhuo0jE++AN8A/yY1N2tPgPIPkQtJxtxrf4GaPAHCcaTjjjqsaoYtHWXxb8n9PDvhsm+0Pq23UaMWcyAWPirpsg1WpGXTQX1Bm3zBLQf3dHIN2qygkxYr7e0sosGi8xvGeEXeGYu4M1rBMoCZRlt60Xv5YVZCgRmD5q/Gh6w1dhLFCQFibSvZqKW9Rv/2asDUPv06QiX/GtxY8V6xkfGCqHKli9i9c3xsSrf3xuVtvbuk8lm55/0/YNq66jniK0SvlKoAOCZc5NyNeh8pBoRN0IGlJQLfvHVOy3PRDFRdGVh8SqX8/5ert4/A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8221 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM3PEPF0000A790.eurprd04.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: e733ec66-a7c8-4b87-454f-08de9acfe420 X-Microsoft-Antispam: BCL:0; ARA:13230040|82310400026|30052699003|35042699022|14060799003|1800799024|36860700016|376014|13003099007|18002099003|56012099003|22082099003; X-Microsoft-Antispam-Message-Info: fsaY0188focLmIjK/XiZdToMCysaAb7jfqojXLI2RkIWn1ckOiDBqgMBbW3+rhyl+Hf3J4UWGQR6d/rozHcLkXrlpuP3mEWu5pq0uxVaS5AwavNcotlHJjQ2w+6r3n9ghmWmLmoZNen+uSytKK+lWzaJ5CRW/ctQG/J9mp/tb5vvJ20WBWbW3UtkI4qGsmPbm7rrK9X52Y/SXSQSlTkfX8pfOWpOdI1aJjfxsiJGcDVHUGzRMLRfN3mn3GdDvN09Yb496uYQSQ7dbgaba0dOgpCcVWjMsZkXQ4CN/w+WGDlHt3Iq5S0ESflGqr/iBq6XFehoul1C9Nk6iyTv2QD991AYGJssS7T6m3ZRwI1LGvodNf7HgW5PQMA5/aTylipEmbfLPYQYSDaaB/twUU66ndy1MTVE1r8cW8fUnMzpP7pJZ9QlgzIN78f7Q7kgBFwj0hmpGzLgUhgnTxFjyWMwNM1HfjX9HJMk33hh76QmXs59jBMaHDvXoawVbSMMAhiBpud84OOBgM76ewDWSYTlwsqrz9fPstQj6a2fhHiYZeQJceQi7d/HTHtZffdeHig6pOsOhhnA8Qv+w35qbw0i3SlwnRYUyvSE2F7XfyAJPw5Gwhzk/DelAfcXGqT0g6E+hOwFwMD61nHSJ76v5g9pjizWAKIC3Rjd9iNwy1HNG7Js9JF6Tan1XMAM0Y7DuZD/1tI1E6R8l2GE2SX3jpVT/nhlf9nrGm7uWDFhopnrX38LftRJV5uaGJg3h72YxHkbgt95aG3r4K/mOn5BkBUWIg== X-Forefront-Antispam-Report: CIP:4.158.2.129; CTRY:GB; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:outbound-uk1.az.dlp.m.darktrace.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(30052699003)(35042699022)(14060799003)(1800799024)(36860700016)(376014)(13003099007)(18002099003)(56012099003)(22082099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OBKLoeDr7gU2c7guV2DAzyuF5V6uO8l1ZzyTVeQ01PMicBsPb70k+cgdqAVNDYmcjOEbH/gyf96DAzLfHbn7V75L+4NccuAXx6jyLTZtM9i1r7OWoXNp4Qj+/Pz2RZwisZY8TkWgJwnpTX9YuYFQk2dNfEa6bwhUGvCr7GQgMZHcbt67huKcG3W+lf7xBKMUvqtJt/Ix8+VYXa8z4yrsXA/F6hL7PpYwzjUsdKxfd8hJF3tjQ4lHGZ3xyOvw96KpO0VPVHf8aST+RaEyiY3V/P9PaJf9ITwTMPGsd4nvT0ZPBsRk7zck/CUkw8Q0IfXt5nIZBstOIoJ5bGIXIe0C4AlDG4GNwhPiz5pdiBl/OaFe5sKpiMSQyMiIfawrhuf/nC3ZymxaDPdCiZNCAmpqVFPdiHh2SX+5a+5RP3YnPDA/bHoDYbLxViBfPjrLnBmD X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Apr 2026 09:19:04.6908 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bbfd8831-d157-4655-f50b-08de9ad00a26 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[4.158.2.129]; Helo=[outbound-uk1.az.dlp.m.darktrace.com] X-MS-Exchange-CrossTenant-AuthSource: AM3PEPF0000A790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6537 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 On 09/04/2026 11:51, Matthieu Longo wrote: > This patch series fixes more issues encountered while enabling the Python limited C API in GDB. This is probably the last relatively-small patch series before the Python C extension types migration to the limited API. > > Patch 1 reuses a previous patch publised by Tom Tromey [1], with additional modifications that are required for its usage in the Python C extension types migration. > Patch 2 adapts the signature of eval_python_command() to return both the exit code and the result. > Patch 3 migrates Python initialization to use the new config API (PEP 741) introduced by Python 3.14. Old code is preserved for older versions of Python. > Patch 4 proposes a workaround for the missing symbols not yet part of the limited API. Thanks to it, I was able to finish the compilation of GDB using the limited C API and run all the Python tests successfully. > > All changes were tested by building GDB against the unlimited API of Python 3.10, 3.11, 3.12, 3.13 and 3.14, and the limited API of Python 3.14 (no build regression), and no regressions were observed in the testsuite. > > Regards, > Matthieu > > [1]: https://inbox.sourceware.org/gdb-patches/20260222200759.1587070-2-tom@tromey.com/ > > > Matthieu Longo (3): > gdb/python: eval_python_command returns both exit code and result > gdb/python: migrate Python initialization to use the new config API (PEP 741) > gdb/python: work around missing symbols not yet part of Python limited API > > Tom Tromey (1): > gdb/python: add gdbpy_borrowed_ref > > gdb/python/py-gdb-readline.c | 3 +- > gdb/python/py-ref.h | 114 +++++++++++++++ > gdb/python/python-internal.h | 7 +- > gdb/python/python-limited-api-missing.h | 62 ++++++++ > gdb/python/python.c | 182 ++++++++++++++++++++---- > gdb/varobj.c | 12 +- > 6 files changed, 341 insertions(+), 39 deletions(-) > create mode 100644 gdb/python/python-limited-api-missing.h > Hi Tom, Do you know when you will have a chance to look at this patch series ? If you are short in time, you might want to focus only on patch 1 for now. As you probably suspect, this patch is going to be used in various places in the upcoming patches. I would like to get gdbpy_borrowed_ref merged, or at least agreed upon even if it requires some reworks. Regards, Matthieu