Message ID | cover.1674654912.git.aburgess@redhat.com |
---|---|
Headers |
Return-Path: <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 94CA03858412 for <patchwork@sourceware.org>; Wed, 25 Jan 2023 13:56:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 94CA03858412 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674655001; bh=OD24ozjszYz9XXU9xOfikxGnYB/7bn3D+k2WQimQREc=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=RZkB7ROVvk+Bw1SrV6ziAfp7jdexlWJxyjboNQeZoALX3xlRvaXMThSLVR2G3U4sb wIuQ6WkhKJbxsDV9MP5ZsKfWNzwXJuylRhjGrcLTxXwwxAR5i1PY9L3ni8Yovc7q4U omKQ+Krk19iYkm4qZ5N58ejPvN07FdzsmkB4Rj7k= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id C687E3858D33 for <gdb-patches@sourceware.org>; Wed, 25 Jan 2023 13:56:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C687E3858D33 Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-14-2R_7csKTNdaqOjXl-mJbIg-1; Wed, 25 Jan 2023 08:56:16 -0500 X-MC-Unique: 2R_7csKTNdaqOjXl-mJbIg-1 Received: by mail-qv1-f72.google.com with SMTP id f16-20020ad442d0000000b005376362aa66so3382421qvr.1 for <gdb-patches@sourceware.org>; Wed, 25 Jan 2023 05:56:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OD24ozjszYz9XXU9xOfikxGnYB/7bn3D+k2WQimQREc=; b=wUNaOPfsAc2dAunT9mFoIRVJ7FcymDlbP0rSUmyu3ljTK9au3PMQSO0OK9at26K4tf IN0Afm2GUrZZ8DD49lO3QKI8r0G0hAt6TzNK2kcSl9hJyyPsikczPUtrpuMMMbjMM3Lf 9Z7j7tVdNbhfn+um05RicFjRMhJcoad03lHUtMpjb8XgA+wV0JqQjFsrR0/KUbDdqOLR lpoMwixykErtDKVhN040RMg4uSKuIa91dtozB6zml+KL9a/EFyEneigZZzeS2rukzbG4 R99AO8Ws1YLi5FlM8ejPf4xBHbgLapxcG0nyoZIl+//SCwVMhmqZXb0rDAkfWYv5OP2y hOhw== X-Gm-Message-State: AFqh2krMAgYErmi0NAxkO2us5e7xVAplI6c8wxcxFUjbeR7ejiBczjIS RtmXt+4qPCs+bVW0+hGYYtgN8wXmM9FY7SJv9kB02zRIgu/fKtVUtE5V9v9GXwsCPlq6GFntLqb 5uyU0++DLSZFsm7rt1JJjG87qOPO0jjSncsmeBe8qdo8BWxaygyxad8tEJsVqSfkScjd+k1DAFA == X-Received: by 2002:a05:622a:4897:b0:3a5:3cb5:2485 with SMTP id fc23-20020a05622a489700b003a53cb52485mr54020701qtb.0.1674654975315; Wed, 25 Jan 2023 05:56:15 -0800 (PST) X-Google-Smtp-Source: AMrXdXt8kTqM1dFRLNW3jMDF7e7enH84/DManz7DYR2dxqiPyHBjlRyY4jMDAWKb6mTn7XAoJeeF7g== X-Received: by 2002:a05:622a:4897:b0:3a5:3cb5:2485 with SMTP id fc23-20020a05622a489700b003a53cb52485mr54020672qtb.0.1674654975017; Wed, 25 Jan 2023 05:56:15 -0800 (PST) Received: from localhost (95.72.115.87.dyn.plus.net. [87.115.72.95]) by smtp.gmail.com with ESMTPSA id r4-20020ac84244000000b003b63a734434sm3315576qtm.52.2023.01.25.05.56.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 05:56:14 -0800 (PST) To: gdb-patches@sourceware.org Cc: Andrew Burgess <aburgess@redhat.com> Subject: [PATCHv2 0/3] Python/TUI Window Creation / Destruction Fixes Date: Wed, 25 Jan 2023 13:56:08 +0000 Message-Id: <cover.1674654912.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <cover.1673550880.git.aburgess@redhat.com> References: <cover.1673550880.git.aburgess@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> From: Andrew Burgess via Gdb-patches <gdb-patches@sourceware.org> Reply-To: Andrew Burgess <aburgess@redhat.com> Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" <gdb-patches-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
Python/TUI Window Creation / Destruction Fixes
|
|
Message
Andrew Burgess
Jan. 25, 2023, 1:56 p.m. UTC
Changes since v1: - Rebased onto HEAD of upstream, - Reworded the commit message for patch #2. --- Andrew Burgess (3): gdb/python: allow Python TUI windows to be replaced gdb/python: deallocate tui window factories at Python shut down gdb/tui: don't leak the known_window_types map gdb/python/py-tui.c | 52 ++++++++- gdb/python/python-internal.h | 1 + gdb/python/python.c | 1 + .../gdb.python/tui-window-factory.exp | 105 ++++++++++++++++++ .../gdb.python/tui-window-factory.py | 48 ++++++++ gdb/tui/tui-layout.c | 39 +++---- 6 files changed, 225 insertions(+), 21 deletions(-) create mode 100644 gdb/testsuite/gdb.python/tui-window-factory.exp create mode 100644 gdb/testsuite/gdb.python/tui-window-factory.py base-commit: 2e10cefd83b6a5b0b3745da1134d35a4924db6c5