From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id oZXSBEKF12muzg4AWB0awg (envelope-from ) for ; Thu, 09 Apr 2026 06:53:54 -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=XOiSd+Il; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=XOiSd+Il; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id EA5481E08C; Thu, 09 Apr 2026 06:53:53 -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 590E71E08C for ; Thu, 09 Apr 2026 06:53:52 -0400 (EDT) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 4AD2A4BA2E35 for ; Thu, 9 Apr 2026 10:53:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4AD2A4BA2E35 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=XOiSd+Il; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=XOiSd+Il Received: from MRWPR03CU001.outbound.protection.outlook.com (mail-francesouthazon11011042.outbound.protection.outlook.com [40.107.130.42]) by sourceware.org (Postfix) with ESMTPS id 858704BA2E08 for ; Thu, 9 Apr 2026 10:53:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 858704BA2E08 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 858704BA2E08 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.130.42 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1775731998; cv=pass; b=T7tdmWwpqz0K+rGwoYx3eL2mNHOyimwOzdk6flEwRbPiruOWrwBN/BGtiQgonJgEDNrmkj5W6tsFG3pkNPNqTn/+qN1w6UhUdawNU8etYs8HFy33675NnjPZsdLXdoR+3NnGmkXeri2fAZSIoEkseVugSLV+DOfIUR0i6tXJn+o= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1775731998; c=relaxed/simple; bh=KFz7S/YoX1ZuJwpWT5vf+NM+Y89do9CHkypvz4R7VzA=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=P5YfTu2gktSrRzKbKKnOSHVWI4DtLFX55xdq7WdhW2VyCNK1sjnVcP1DKgwKM2y9yoQzKfjaGUYq8YGo2LuFGu3ZcRW1FLkBJsxvscFCMjTUnQBt4okvqR6EBeOr6Y41JqB9rNGZYnrewgqt0oOgs2cPyovsApDCDExiGtfXu5Q= ARC-Authentication-Results: i=3; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 858704BA2E08 ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=st7HO55+JVPBKBN6aCU3Hk21n06CgACvdhpGPDo8MZOgQCofK2X/kHPg7IpSto/6R6Nz18CKPd9nH7nQEcI8pNQA1Mt0y7V7cjZ76+6D5TVpGdWCabZtyBa4v+NEWrWpEiD1m6aECQvAOESPUwkUlqMfwTNx6Dxddg237hVZ9ojZfYiJFTOTPMMzMVaJagVLl3su3VsUk1jCe8N0WHJhKTJIS91//C7WvzDeI1Y1vEmocJ9VK+15HWgiw3zhflE1CAjD0cRM9p1a3bhMvtQG3/v5oRRymd42FWDEqLMWV+5IkNATAsKsGmmt46riMCoQrGdVnf/capJu/tH+cJ09lg== 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=1aoed8CF64jj4fU5vIOV/cIHhXHvBhKtEU4KHayTDLw=; b=T/JgE72UxWwUajY226iUJwf6kITgnvwH/mR+G0BeSczbzBoDCWaPcUmYNz3S93ZLddqZVJ9J3Y8I/QwTFpzzpvMt4BIAFYrzQuxC51Dw4+zKOZ/XraD9Ox5YRQvAALzbKTqfg9ZzVFs8lwV/bHdew4vO7/8FoMlRRnTXBRXFF63SVLKw+qCjvt0lJgL8wpX0bmd7Luz3rWNomFeVnSRCUdZ3GsXNe+DP/4ztYfmbASzRdQ6IZultuiA8WXXjQKcmDFKF/s2bRGtTK5hSn9gxczFzN7XHOfdqPhH5EEjbiPTehysttv/LjfZj+Uktywxw/tnY0MhAtgYmIL/XXqNTMQ== 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] 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=1aoed8CF64jj4fU5vIOV/cIHhXHvBhKtEU4KHayTDLw=; b=XOiSd+IlFr1NnrIouFsUs4ZsTPRPEAVte+tTOMSCqHNJmYyFB3m9uidxY/CJmSdFNPmr3Pq/z0MT2KxukXdyiCZfSMkMVrXejWHf5jSe1cGqvlAAsNSP1uGgTlxnRhh+uEq/NISIAORfedG+gHpZlr0Jx59K5d5l/SuPkTWWWfc= Received: from DUZPR01CA0252.eurprd01.prod.exchangelabs.com (2603:10a6:10:4b5::22) by DU0PR08MB8686.eurprd08.prod.outlook.com (2603:10a6:10:402::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.17; Thu, 9 Apr 2026 10:53:05 +0000 Received: from DB3PEPF0000885C.eurprd02.prod.outlook.com (2603:10a6:10:4b5:cafe::75) by DUZPR01CA0252.outlook.office365.com (2603:10a6:10:4b5::22) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.40 via Frontend Transport; Thu, 9 Apr 2026 10:53: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 DB3PEPF0000885C.mail.protection.outlook.com (10.167.242.7) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.17 via Frontend Transport; Thu, 9 Apr 2026 10:53:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QjRSiU3MR/fLYKc8nNTL7kv0StI7pB336DfiKmSQCvIsRYRDMkGH1ycPs28PiaCHKJ7Fs/YBjziw0qDPX9QhyOcQKtARyNqhyKm/wbF7kA03omzf4ETKOEexCiLaO1jjSCabT5GzQ1o+LpPC6ePe+06ymPify9MPAoNeQqOA/C5Kn4uo/iP6a8MFCEFr/xk8Au5RPoXAkw3Kgbpuskob5/aWvM566Zv8iX10KzihM0wl8hvoWyPmvoFDBYlJQq/527EkopBMjaarEdg9tlmNyeFiwqGe9LdLCcBFkFd4KaYSfRd78fkro14gSLG4lI0qPcphetoD1MxzRYZOlbU2nQ== 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=1aoed8CF64jj4fU5vIOV/cIHhXHvBhKtEU4KHayTDLw=; b=ZzYCjWn0p7b3kQlmMFXyOtHTPWNh8pOCxZM+5br+XH8AKrvIA4cIqTuRoY0ThkUVEFX6kVm3OTbkKTx2fyc1IysGqzIZN7xT94ZZsY/67t6Jz4/sXU9BQkBtND/Se3b0UzIIBJuBklBNa07mbwRPk9kcVsR5THdBHEJ+oLzxsu1VxQffvMVeKTQvATitdHxzeQgG9JJyMJLNOPAK6yxkV9oYdsgUVbexYYigSUYzkRV9TaezCf42Synxvn+kq7Jt/+RXhFHggk5OiZgIbK30sWuUEw6MCuantLvGQ8Yv9VnfjMzVedsYkpHwmbLMOimGVZdl+JV5QTmptp29kwWk/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 172.205.89.229) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) 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=1aoed8CF64jj4fU5vIOV/cIHhXHvBhKtEU4KHayTDLw=; b=XOiSd+IlFr1NnrIouFsUs4ZsTPRPEAVte+tTOMSCqHNJmYyFB3m9uidxY/CJmSdFNPmr3Pq/z0MT2KxukXdyiCZfSMkMVrXejWHf5jSe1cGqvlAAsNSP1uGgTlxnRhh+uEq/NISIAORfedG+gHpZlr0Jx59K5d5l/SuPkTWWWfc= Received: from DB9PR05CA0029.eurprd05.prod.outlook.com (2603:10a6:10:1da::34) by DB9PR08MB7626.eurprd08.prod.outlook.com (2603:10a6:10:30a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9769.17; Thu, 9 Apr 2026 10:51:59 +0000 Received: from DB1PEPF00039230.eurprd03.prod.outlook.com (2603:10a6:10:1da:cafe::95) by DB9PR05CA0029.outlook.office365.com (2603:10a6:10:1da::34) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.9769.38 via Frontend Transport; Thu, 9 Apr 2026 10:51:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 172.205.89.229) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 172.205.89.229 as permitted sender) receiver=protection.outlook.com; client-ip=172.205.89.229; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (172.205.89.229) by DB1PEPF00039230.mail.protection.outlook.com (10.167.8.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9745.21 via Frontend Transport; Thu, 9 Apr 2026 10:51:59 +0000 Received: from AZ-NEU-EX04.Arm.com (10.240.25.138) by AZ-NEU-EX04.Arm.com (10.240.25.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.29; Thu, 9 Apr 2026 10:51:58 +0000 Received: from PF4S4363.arm.com (10.1.34.63) by mail.arm.com (10.240.25.138) with Microsoft SMTP Server id 15.2.2562.29 via Frontend Transport; Thu, 9 Apr 2026 10:51:58 +0000 From: Matthieu Longo To: , Tom Tromey CC: Matthieu Longo Subject: [PATCH v1 0/4] gdb/python: more fixes again for Python limited C API support Date: Thu, 9 Apr 2026 11:51:51 +0100 Message-ID: <20260409105155.1416274-1-matthieu.longo@arm.com> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: DB1PEPF00039230:EE_|DB9PR08MB7626:EE_|DB3PEPF0000885C:EE_|DU0PR08MB8686:EE_ X-MS-Office365-Filtering-Correlation-Id: dd66304b-7f58-402c-49ed-08de96262dd1 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|82310400026|376014|1800799024|36860700016|18002099003|56012099003; X-Microsoft-Antispam-Message-Info-Original: kNEsEryNJY+tmSqnVY8ZvIcw2pWqFTSB3sl9df8qCKkYyXMmv9x22unKnPfKpP27G+PW0jWO1Esw2w00QKNQRu/hjBzYcuTrHFQCAUGQFwzRCURDyJV15ArPRjyZ4KPuOaOOIo98/CPCNM7Z7olbc3hi8NkR6SCumX+i1+wm5Nk3WTW4eBVIsL5nJhTsppbnnADRm4XMVVKDtp0e0vQMHI2IPZbuEQJ5hnV6lHPLQ4j0oQKPIz007eEoP3urNdNf9og/+NoZZpRD4mjyV2c53/OAv0s/E+LPVQsP+XWJziNR4ioZ+xOvCeeB1410gX9QlunXWvDrXWRz5omy/8p19HTp0HhlxsvtxAJ+fAev0I0NyL02mUWM7vFoG4l6dGa5iSd+hFlVIredeEhYm/Ov38QEOZdliPDTyQCk3NDg6TZhF9Fx6iMWK0kITpCBIiJ3+VmnvPEZ9hWVUh6/gdkppJP53zvTyFcejlaBTQdQYyWvymhZKbUEdE6EHfc7nvv7iHVjrz6SvagOT3Y5fgUIOJ5Ii32G38JWxBLaS1bABAp71yn6CodNi35Oz3tJk1E/RZ5Hc0/wU0j30Jo1oVkj7/4MbJwclRcjaqehY7bTcdpfWeZQCP/6Wygp2RscGSaNMxCxJmOXm3NoPsw1zPtOEn8LFgoFZwbmS/kw/vVL9x9cwIUEgYqz8IU2Czwnwn9ckECzg0Usn8bS0CUYPxZ8ztS5YspTBg6XluA5C2kyeso= X-Forefront-Antispam-Report-Untrusted: CIP:172.205.89.229; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(82310400026)(376014)(1800799024)(36860700016)(18002099003)(56012099003); DIR:OUT; SFP:1101; X-Exchange-RoutingPolicyChecked: DwIoojjuobncPV/d+wSH4kF0OEqiyesOVZizX3hdR11+Ia27Ds81iTviyIZplKfJJpVcfOsvQ4rzS0d0e8B0MCXqe11aU4dNwCT2T4AGqHOxutNCV8a4d5gxJi2rmyrreAPFC0+t10DXnnT5VBHKoGjhoE7u4QedOw4FnUr3Rfglx1w9UoKodvaFMpPPGCWt9tLzYHUmP0WLnFFfVqSpe4YCQ1Vvd+TPb7pxcRzMpa9e0KzsmPpzVsDnVpQYMKj26jhJ1H4u/0tXkwMW1ZnnjChNje9B8cwwEpOS0jZiGsLrE2Gzhy5pSH1PbJGePWPGEUXRog0uQLGfa7/ZvXAoZQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7626 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB3PEPF0000885C.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 50fbf3f9-a319-463e-8bfd-08de96260657 X-Microsoft-Antispam: BCL:0; ARA:13230040|14060799003|82310400026|36860700016|35042699022|376014|1800799024|18002099003|56012099003; X-Microsoft-Antispam-Message-Info: wMAx+rHXhtdIJjBN1Y0MyVqYFQJBh1RKtBNnT/0gVeJC0SDIMRc8jSAZM/F942NwhvGdJFa9TzDaMRnhOSXs33klGvYk3F2HkE2AqyDo0FCQCw3+GWvO+crSNuMT1nRHZlfCBFbAG2DlLBGKGwAiWC/ZEvdhQq8pX9ICeeQQIYrSFI5rFmQV3W/969hLTEGv9yrtuqrnyj0pguR19BGOwzj6niFCUtUAykJp+y8ml6MEzefFwrtEAiWMRpYPwHwfAD0x2oJyNv/OaUzNi5iYYl4cXegjbu/0/z53Jgq3h7FAkdzouAe5iw55S+VbAEZQ+15rPOGkSw68jE/VvbyUD1/7xMnKU0SU/9XmhEq2jbZ+jGxYzYW9yc9Gj1Q2sA3lbZ8s2NoLFlc3HnDzYdPOIaj7pdnwhYiaavlGEJjUzaTW+AZyfRz6fikAQAjuNbL/YkdNMSpCE9CaCkKiA54QEJrtDYza7xikJF+lkLydQlbZMXKJQUohyh1RzpaiIe3MxPIBfL5WM13RyVjCIv5un+Kw9x4KQPCZJ35YlMXHVBzo9VnU7zCr15ykYnIm/Xh3KyjEZ+ybi/kJCjO0nof2lfsg2C25sCwBztGi0f0KHXwGkZOhduA9fQxeJdKOUO3d58gG31fXOLNFWx2g3UVP7T0GpvZ1iQBM9cYJ1WuV9cogOzFEAl5qi1Spuyr5FlQ1jOaYCMiVk8xY2J0mzGIknGHbEjGjrXiEsfGGYeRfAqg= 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)(14060799003)(82310400026)(36860700016)(35042699022)(376014)(1800799024)(18002099003)(56012099003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cyG18fowhfkK1GfJPuPmxmr/+/x6PtP2gHw08hRkpALL9rdgSC32rtEx/2IqBdLXRoP3HpMNyShhJroQA0djai1RedZVjCwT88C+0bLZaPAoMno/qmm+Cbh8qO9M5U3uMgWtv9QCBk2e35fzUEsuzP1qoGpVkzZsISmZVY7ovUooLW1dOOqbOyqVvTLs1/p+4rhfR0RJtSRuuHkZN9hZ0zY40pv8m13Y51VU6fEup02INaarYyYlvrG58FIr1yinNJ6PyYoIlcZnyL/9cZQoKDe/IGT0T1rkKGatj4n0VRupfpSmCg/S0Iihwxq01PWm+SF9LbUwU8EcgtDftiH3JU+e2za5gWy4obI/5sce28CJmhCJeRbiq6gVlrNsRV/8+7SycBSR3SYMxvMgI+uAlj/UIobPCnoZl747dvJdEEIT2elX+pRCA6yczdwoiYiE X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Apr 2026 10:53:05.4296 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: dd66304b-7f58-402c-49ed-08de96262dd1 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: DB3PEPF0000885C.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB8686 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 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 -- 2.53.0