From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ig+ABB+jBWpZYjkAWB0awg (envelope-from ) for ; Thu, 14 May 2026 06:25:35 -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=r3VZccTH; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=r3VZccTH; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E57581E0BA; Thu, 14 May 2026 06:25:34 -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 A1E011E093 for ; Thu, 14 May 2026 06:25:32 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 514AE4BC7EEF for ; Thu, 14 May 2026 10:25:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 514AE4BC7EEF 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=r3VZccTH; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=r3VZccTH Received: from DU2PR03CU002.outbound.protection.outlook.com (mail-northeuropeazlp170110003.outbound.protection.outlook.com [IPv6:2a01:111:f403:c200::3]) by sourceware.org (Postfix) with ESMTPS id 8330A4BC7EE8 for ; Thu, 14 May 2026 10:24:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8330A4BC7EE8 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 8330A4BC7EE8 Authentication-Results: sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:c200::3 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1778754293; cv=pass; b=pGlWefhYkC+1XDMvU1JbN1WWGAVBI1f1iQ44q7p4BP+d3AkJo/xjkibhRNyO1NeoXvXMkB8oSQ2rpWToux2ZjCYb8IlPP1mZdFFlnvRs2FO9Vj+rcdDCjGBhgGgcVTAIAcXqa2YFGOiveeK9vegs1nVTLh9kDZ6TeG48kYfW/4U= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1778754293; c=relaxed/simple; bh=S2bWP2R7hi/WO3iGzcDysTCZ8SYayI4ng0Jmraqsz1I=; h=DKIM-Signature:DKIM-Signature:Message-ID:Date:Subject:To:From: MIME-Version; b=kFIYNzZvIAnrG83C10grds2ZUoag2MijP0ad/z6umaGo1dBcGgtghcrfHgJrkud3CVb/HBMZPOAspj44R5CwsfzLtw41MYBdKdSu7NN41jwEviQ0Y3QuA9dtC6+XVBRmwTzMcRnon5ZagJsY+zvUxQbyvTrE8YaANF3hSEBR2H0= ARC-Authentication-Results: i=3; 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=r3VZccTH; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=r3VZccTH DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8330A4BC7EE8 ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=kQngfnOhlEErNYsiSOFYIhnQMChchUEsEpr26Ps5za+GvuKqKg6p9VdDHgVhFKYV/BsqBPLTaHGoftI+Ge9ZhMXHRocE3WZUe1WC14ktauOr4dqS+zSjYWN0krZmh3P+Y620u8xvWTVAUopW8YlqjtI6zcyf7tuEHY3eKq4ft4mq0Pjg7GBb2HTn0rhgfUHl8sSkQwvYjS4dEmmNvH8yt8cEx0ZI0ejeTa4qKKx7K3HOxea3UUc5qy6lFsGCiChoykl2reaMS9nyivHC5dDyjpsDDPi+2qPsQHCacpsz3Py0+dbmptEghzth2lGW6qevLj+azx0BxvbFYgwGGYFfUA== 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=qPxwUs9hHazHPYV6z7r4HTnU0vqcULE+hlES3Z/xTz4=; b=Khjt1A6DOsv5oBni3WUJtFOl1t90IHrryH08K87F13nyorDG4/QA7kELgtcU5p/vF2OJJCIJcuiQ/0pyF6TAab/F8f9GzarTUW6OZFnjJDb3wzW7HPzb38HlZywbD2lWwNPFAZ/BBdOchhJzkaCyqDDhOdX9+80ShDXc6CmTrkahgUVw0qdh6x5Beie6eHC9oB0aeFmp6QFOoxzJdRxdP5guCzhgTHkDBl7n2tGYd1TiOIrogNM5DQySV76/5wQj+paUcauEmoKORBJOa5czjRD7ImTrg882fmM5G/ikTZ2vSTO3/+j5rngThMLvjBKm8f+PjqU8SOwoxCaMatyUVA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=tromey.com 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=qPxwUs9hHazHPYV6z7r4HTnU0vqcULE+hlES3Z/xTz4=; b=r3VZccTHacqA4UwJ86ZxU8srmmxEbghjD56+01nHQpV8MW1mJBYBMHllxOux7KSXhvI8fmuzR7TidhgU33XNtobeGW3YGEATPkg/VoP9/L0+1hCqtFMOG7Z9MVJuAiOHNdz19KX0Xx+iZLq12mAowXZrdbZdRrf8+d0txhUgwu4= Received: from AM0PR02CA0144.eurprd02.prod.outlook.com (2603:10a6:20b:28d::11) by AS8PR08MB8733.eurprd08.prod.outlook.com (2603:10a6:20b:565::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9913.12; Thu, 14 May 2026 10:24:46 +0000 Received: from AMS0EPF000001AB.eurprd05.prod.outlook.com (2603:10a6:20b:28d:cafe::21) by AM0PR02CA0144.outlook.office365.com (2603:10a6:20b:28d::11) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9913.12 via Frontend Transport; Thu, 14 May 2026 10:24:46 +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 AMS0EPF000001AB.mail.protection.outlook.com (10.167.16.151) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.25.13 via Frontend Transport; Thu, 14 May 2026 10:24:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LbKDbYxu/vlC2NM0LMrE1cD3UXZhGvHLfMfDkWbdM9kZ/jYsY0LAjn8nppmT6G4RMxNkLyJFuNBP9RY+2BAFG9T++7XmJIm/YN7iV3v7qsEwdmFAsW1P9A6hykcnXPE2jBA2aLm2BnGuQwjEltVnqhyvDlB1QoLXDOqjBbR1xkQ10hWbYAz9iUuu0kYlEtguzE06Id7vfkFJw1aoduqXqKCcGxbxrdYk3rgDf1CjDrAFPOXPZxUR0jk3MCDcHv1J0GCDhFGDtxgLOKieRZnXRQD9Fqt0g+t2xnlY1UAxPvyi6GNVw5pGz7jK7qwtVAQSGTT7RD8Sm5DPa1jPD6NW7g== 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=qPxwUs9hHazHPYV6z7r4HTnU0vqcULE+hlES3Z/xTz4=; b=EWU+NRxvcDVjs0S+nNS3HXH9XXaZLRAYf+9lTZ3NgbNmTWfKglB+NGlLsAU3jgAp4fkZnC4lftlX+1SnXZ07lEtdm44n5UDOtedD9cLe5hQ/b2NXQQBSkYFKuHK0nTBvJlUo2dbIeux4nyCpwKr5uyTSv+j628T98S9nv8FnShEfbdMJYcLDGuFQEX53b/L+Y/+WxhEw9AEIuhLAqsVbc5FnvHtgJvgrEgHZKXcg2PtpFpxMFssst+qdkSwgeRi2l7k8ABVvmx7nq0C11XQSIUp3gfP+UxoGdIDYaEv9pPIsOlKrWIEo7fowwIQgTJvSNZxhGxUsRv6+/AeQFeUtUw== 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=qPxwUs9hHazHPYV6z7r4HTnU0vqcULE+hlES3Z/xTz4=; b=r3VZccTHacqA4UwJ86ZxU8srmmxEbghjD56+01nHQpV8MW1mJBYBMHllxOux7KSXhvI8fmuzR7TidhgU33XNtobeGW3YGEATPkg/VoP9/L0+1hCqtFMOG7Z9MVJuAiOHNdz19KX0Xx+iZLq12mAowXZrdbZdRrf8+d0txhUgwu4= 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 AS8PR08MB6567.eurprd08.prod.outlook.com (2603:10a6:20b:318::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9913.11; Thu, 14 May 2026 10:23:43 +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.9913.009; Thu, 14 May 2026 10:23:43 +0000 Message-ID: <99b4aabd-dd9a-4de0-a8c6-ff06bb27c0b6@arm.com> Date: Thu, 14 May 2026 11:23:42 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/4] gdb/python: more fixes again for Python limited C API support To: Tom Tromey References: <20260428162416.511367-1-matthieu.longo@arm.com> Content-Language: en-US Cc: gdb-patches@sourceware.org From: Matthieu Longo In-Reply-To: <20260428162416.511367-1-matthieu.longo@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0087.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2bd::18) To DU0PR08MB8663.eurprd08.prod.outlook.com (2603:10a6:10:401::6) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DU0PR08MB8663:EE_|AS8PR08MB6567:EE_|AMS0EPF000001AB:EE_|AS8PR08MB8733:EE_ X-MS-Office365-Filtering-Correlation-Id: c0ef7b5d-0176-4e03-be0d-08deb1a3053c x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|1800799024|376014|366016|18002099003|56012099003|22082099003|11063799003; X-Microsoft-Antispam-Message-Info-Original: tWp0V9QWSqZ5ykhLxbl/FqFuxT0pV1RoDgKIo12Zu6shXWQVGZM4t6yjXzhLktj6ORmuBYdmwHNFckDexy5bw/Dp4i9zKFm155x9tuXph8q2Bwx2pI52wPyXm5rAYPxtCpXbsKfuCGMK6fskLumz4W0Sar84tx32i+VB0Iv408O5CXCplz6w1PNjr3H7zWeaJQIzijRRInCH9ePUmY4cE2gBIteaGX6GeHtHEYb/uk0n1qipXS6OGsOSlIp7THQAxpDm0gMBF8l40U2FGx/ZccGswNOUr4PnVDidYIwSPU28Fr38QBjFtaRxzc10tumnr8EY5iDu1F3kH12obPujH9Jsa4QbXlOWdXPOaKP7OOHHrt1s+tKZ0csfBD2YKONkMZxIedv8IexPqkIoKzlpCPVS07HjcbtHuVUEH9RxT9g6zIHBxkZO4MwQGV7VTorjbL62LRBPafDjV0VF39ogjKaYg5v9r7eRfTh4OOwMxvLhygaeTxyOzBERJbTvtQ2NH2IeRAaAx1NEuxtbJmZCkw204+jEac6RiRs+vkwqR1HNtPcKEucvNgscfjZmqPE1a/6ZRSLDsK6GUBA0wQQJ0xjvEQetuKvdFbVDNzRynIXn8e/O2Ph2hdLlpTAVoeejNTgwTzbcufSGdBXoyp+qkA== 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)(1800799024)(376014)(366016)(18002099003)(56012099003)(22082099003)(11063799003); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: gFYXwQdjQdNIL30BdGl+Fi+MSMaWnOl55NAruKe017DzLBlLpE31becbCoLfHB9wIRv7OVgQgf1IHFB5IPZMrW03V3ynmtTyU1THoiesE08Wc1W2+dMlhiKGLnQl6b5jyzmVGU5QYi+iUD7Td6V20Pgwpvb3uHlau0cFiKIBjZ7G918uNrB/wG13lvr6UQihZ0GwtB34lP3J3Q3MRzcb6Mr+F4hoftsoSXr+HrFzaMfTwvZHDJL+48yGrcatBQns/KBOYFKyhIc/N82z8ATpQaq9V7uCIR+HDSpB555iOEad4Wqw2zI3VnQZAyM3vmbNNCAvPlN7Zgzca0A+wIYLsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6567 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF000001AB.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: f6de71aa-c338-4fba-a0ca-08deb1a2e007 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|14060799003|82310400026|35042699022|36860700016|376014|13003099007|11063799003|56012099003|22082099003|18002099003; X-Microsoft-Antispam-Message-Info: dOKbR4nlBe2BWIn1l38XxMadqhsTQI7KMaB6Q3jy3kz9BMsng2FPFiaUKN/dbgApngI+OQEqvXq3m7wDwaXcdVvmtDEPdoeDLRHhpW6Dbbe73pI4W8ZP+DMQ3CRN8MPc+TvqtrpwannP2meIMKQSyRJtuGMNQa1w4SHFXbNBGfYBRSI24pvIM0PIM3zvwxYaG+n/+dpz1gkG3Fiicg7dOzv75SCSa/xPoj6b/JlfTkazinuf6ocAZJ5ofexHYCBxh3EHZYg4B4lJkgqwVciMs74sAOrM5t6y/5PJU00LCSlRaIPFo2VkXAHJErTJ57i6NCcf3xaDtWACVJdEpHZjlbB8YUiZgYz1PWczbE3nV9LhBDeYCh9+dW1V1mlDFZtJ5Ipon2ovw2CASlmm8h//ID6RaEMcOfCoXrBtHJ+LcLXnNPicIcKUdGnWmJ7NNW9S8WPeRo5LsfKv1b0ikHnqjQfffcJDUrbh8+S5r+9E5vzY/P51OnxO8ck5LKmcay/zcxDCPd0gzrgj+sBYCQpGFt6ynnm21nF3JVe/p/T+plR14pY+yshVN1Oo037ZjUvUiNpa5O0j8wCMAGezUftY10ibZDUrpOJIZh4sxqGkgIkKN8RHlwIRp56KEcXloTesZCnFR/PKK21dNX56amNji/bwlnqPh7MbYu8QcyePPKNlhYmo1Rd7EYmT8OiVF3zd 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)(1800799024)(14060799003)(82310400026)(35042699022)(36860700016)(376014)(13003099007)(11063799003)(56012099003)(22082099003)(18002099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /LDDbTekkACbNQ/yw5VFMMTUZGNg91IKuvgs84yH4EE3JuJlFcvH/tgY8zpZiaGH9uWFST879e9JFEKHAzTW3J4vLF7oqH0P+xziFpqYb5q3WbjjQjuVH97oNX+AL4mYYhQsDIN/uSLTTEreFaoe/ADQK7Kbabc4EIHCL3tM0bTRzvbKoxLP3G2ZnYF9/iAopYzldyAOJaS1VX6WaFy/xZc0uN67GjiPujY35B70taQPgfU9X/qxNJ1AdYE82TUpr1h0GrXADzRs96ErUdDr/B74flOUaHw31TI/LnrLq/sq9hDjQjVG3fj2oMWzkSkRWn07ETYXxm7oJuCLW8MnnT21WCTLmtKYMMj/zoL2dFGJe6MrURwM4A1xlcl7M0OJJA4hqLOtewuGymofTDh/K4LyelToDkX3a7FiXSBbU8dbPlC6sxMWgl/G0GhpT9cx X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 May 2026 10:24:45.8430 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c0ef7b5d-0176-4e03-be0d-08deb1a3053c 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: AMS0EPF000001AB.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8733 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 28/04/2026 17:24, 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. > > Diff against v1 (https://inbox.sourceware.org/gdb-patches/20260409105155.1416274-1-matthieu.longo@arm.com/): > - eval_python_command: return pointer to result of evaluation. > - gdbpy_borrowed_ref and ref_ptr: add an implicit cast to bool. > - gdb_PyInitializer: replace throw_error() by error(). > - init_done: use exception_print() to print the exception. > > Regards, > Matthieu > > [1]: https://inbox.sourceware.org/gdb-patches/20260222200759.1587070-2-tom@tromey.com/ > > Matthieu Longo (3): > gdb/python: eval_python_command returns result of the evaluation > 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 | 2 +- > gdb/python/py-ref.h | 115 ++++++++++++++ > gdb/python/python-internal.h | 7 +- > gdb/python/python-limited-api-missing.h | 62 ++++++++ > gdb/python/python.c | 197 +++++++++++++++++++----- > gdb/varobj.c | 11 +- > gdbsupport/gdb_ref_ptr.h | 5 + > 7 files changed, 346 insertions(+), 53 deletions(-) > create mode 100644 gdb/python/python-limited-api-missing.h > Hi Tom, Do you know when you will be able to start having a look at this patch series ? Matthieu