From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 2Sn6K9dHTmp+VSwAWB0awg (envelope-from ) for ; Wed, 08 Jul 2026 08:51:35 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RZPkmDhw; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id AF6731E098; Wed, 08 Jul 2026 08:51:35 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 1C86E1E070 for ; Wed, 08 Jul 2026 08:51:35 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D10634BA2E0B for ; Wed, 8 Jul 2026 12:51:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D10634BA2E0B Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RZPkmDhw Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id CFAA74BA2E1F for ; Wed, 8 Jul 2026 12:51:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CFAA74BA2E1F Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CFAA74BA2E1F Authentication-Results: sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783515070; cv=none; b=kLaJQu7c9UtZdhEGTMwMnqLYw11PI4eQf/NSG4wkt/8ikKtK6lQEJ3pErQGXHpP6A6dCpYPSIPm1PhXSjo0bVVbRwK1UPJJgbVAHkhiAdnEFsjK/QxlYErmDo1z0PRZsJT0kkE0bSB570RM16xJt1xlhvoOBFcclANZPGAfKsGs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783515070; c=relaxed/simple; bh=ILDOPi0FVJmLnscxzcL9mrnLH8k2cyhQdvHUHtbOllQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=KHK56InL/Ve1MJFPIscWyCiKoWkn4s24d8tbbn1haV2ONVHuUT8OeeddPue7Mgnv52lhlzVlLZpKQ06nJinJu1PIAgs8qMkds9KGCMclWb0D1gMfxXaMyaaCMZxtSDDgOWpvCAAK72otvNJn+1iDlT2bG1/C6Wysc3eA8tcdN4Q= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=RZPkmDhw DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CFAA74BA2E1F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783515070; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=uM/9Wq1q8ItDQkSJ25eF3rN8Rpu/RYtkIDh2ZadTj88=; b=RZPkmDhwQyEyfR4YIW0RwSNYN4sz2RgYoS9JrpRSvzuFSHFrkE3oMAimRyicr1XLFPeyMX K9tSN4/OM2Qm5tBDjTlAv1I9J/2D998pupjK4aUstJY3fG4H9Kts4TYmKEmG69SfXCAwZx 4iec5a3QMz3dxuPercF8Pwb2Jxr12T4= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-376-tz3tdSOPMp2EGIAlS5chOg-1; Wed, 08 Jul 2026 08:51:09 -0400 X-MC-Unique: tz3tdSOPMp2EGIAlS5chOg-1 X-Mimecast-MFC-AGG-ID: tz3tdSOPMp2EGIAlS5chOg_1783515068 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-493bc2b376fso6181775e9.3 for ; Wed, 08 Jul 2026 05:51:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783515068; x=1784119868; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uM/9Wq1q8ItDQkSJ25eF3rN8Rpu/RYtkIDh2ZadTj88=; b=LFuOyiPc2JLkwrfuj4gAY4L4WGgK6WzwmWzj9CACXz7r15Y4C+d5hGWbZGfgPGsh1Y +vl8vK6vy4bHbBwdCxdFJ9iEwzU+fzxTR+mgzoNuj/NeVp35XruGvPinOWWeOw48qtIG gbym5uksGeEH4Cu5Ml/ii3OQJz6XOl37hJ1njFAycqGiC73iLZVYZJ4ftOHybab72AKR RP+jw13TUwWAWJIIvSdb/hAqFSQSwCesaW6xh3pED9fyTB6OFJ6AVz6C9DwsdTs8PfDV R1F5HnQp7dUMMiqHcwc0wsUJCOUx+RMpO9lBeSdSRMAMu/RZjo+GJG+4H0l0BNrc/RV6 n6OA== X-Gm-Message-State: AOJu0Yx325lttGKK6vwvctYUees18AIpvipESun9c9DpVMrhcAnFx11m 6z/vfxOTVJ+pnTP3ZZMLXgOxOraXfdPvU3/ZIqqSffBplwPk1f/pUEa5L7KDuUA1x8LXTuKVh88 gCMXTAZMdoVU55qbC2FrDM0SpuqlZRkHAcgwHFSN5CRKffcmJlijDfiF4jEd5MwXjqxfroPA6cO KV4DS+jvWdLvWmhfmsSe28ePxM9fWJ+ATYP93PhfmS0WD92pg= X-Gm-Gg: AfdE7cnO3UTTDhEGN+mag9YnT5eoSkg9ugnT4feghiIjDJWs75z0XQADKe5JKMZc6nC 4MoveOn+m5uGdHoz8im2dT5XYdt8Z52sQS34FxYxdON2cGMshhf/qNK6news46j976Y4gtb2LlK 1bEQ3pZo3nxJ91mV62QETrbEkxArrr5Pflum1AiYnglbPRNGMoa38rw8Qr6mMxdvg2WwPdlnxXk +szVBXDXk98B3sPr0oGaJHMNv+8pikfXm7l6QnrJwKKwFPHik2KHZuSK4uQw3C3CnKr1WJ+HUXT uxCDGNjVNl9LVYyOYoF3yQKJeNzj6HXZgGlwa2n9K2l7fFhYZb8Nje1qoRt2Y3aa9IEWq/rZl4I 1sRec2Yo= X-Received: by 2002:a05:600c:4753:b0:493:b84f:9c28 with SMTP id 5b1f17b1804b1-493e6892e6dmr22379495e9.4.1783515067960; Wed, 08 Jul 2026 05:51:07 -0700 (PDT) X-Received: by 2002:a05:600c:4753:b0:493:b84f:9c28 with SMTP id 5b1f17b1804b1-493e6892e6dmr22379325e9.4.1783515067556; Wed, 08 Jul 2026 05:51:07 -0700 (PDT) Received: from localhost ([31.111.209.233]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47aa0a558easm42466672f8f.27.2026.07.08.05.51.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2026 05:51:07 -0700 (PDT) From: Andrew Burgess To: gdb-patches@sourceware.org Subject: Re: [PATCH 0/2] Cleanup in Python frame_object In-Reply-To: References: Date: Wed, 08 Jul 2026 13:51:05 +0100 Message-ID: <87jyr5fxvq.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: HHBFcphOruNW0lVGep5Uo4u4W80Mt_RmZBx-cdVtL9g_1783515068 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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 Andrew Burgess writes: > While working on another patch I ran into an issue with Python's frame > handling, this got me looking at how Python holds a frame's id. > > GDB's frame-id handling has evolved since the Python frame related > code was added, and I think we can now clean up the Python code, and > fix a small bug in the process. > > Patch #1 is a small testsuite cleanup. > > Patch #2 is the actual change to the Python code, updates to the > expected output for a couple of tests, and a new test that exposes the > bug. > I've gone ahead and checked this in. Let me know if any issues show up. Thanks, Andrew