Message ID | cover.1674837139.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 5B11A385E44C for <patchwork@sourceware.org>; Fri, 27 Jan 2023 16:34:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B11A385E44C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674837277; bh=EmLsvjuyIQ3vaqQTp2g1mR88Yhsb2JOahl12/IfvKek=; 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=puYz6ejJYBJX43yBOJo8dZErxfHgbqgD1jlNHtCbiJa575PdSoP9R2vBTPfTAM+Op JIz/GLdh7kgQamsSJZPzgpS/aBpBYaJC4ETQbZBTFD4OXT01Tafsaks/XxFlatiVUU X429u5ZUlhsXExNfcA2ghORq3W1BMaJByIPDGkWU= 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 EC5FA3858C00 for <gdb-patches@sourceware.org>; Fri, 27 Jan 2023 16:34:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EC5FA3858C00 Received: from mail-yb1-f198.google.com (mail-yb1-f198.google.com [209.85.219.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-444-HOTXYUzfPhSbR6sQkY9gLg-1; Fri, 27 Jan 2023 11:34:08 -0500 X-MC-Unique: HOTXYUzfPhSbR6sQkY9gLg-1 Received: by mail-yb1-f198.google.com with SMTP id k15-20020a5b0a0f000000b007eba3f8e3baso5838331ybq.4 for <gdb-patches@sourceware.org>; Fri, 27 Jan 2023 08:34:08 -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=EmLsvjuyIQ3vaqQTp2g1mR88Yhsb2JOahl12/IfvKek=; b=5vUkoEe0phvw5CNtHPwhbjq7GK81s95RBnz15d9/Po1T3xwlDiGwBrXIsd+btA2Mof AoHneX2XIkDVMZgqMpFRKjyVgfmPpGLhLF4puPV5C2w6JXsviYp6Vuu20jVVLedcX6am 2ZKkBZ31q0c2yA4xweUlxJBGT89cjciWhzjdn5VdAzULzS+gfxyPSlALD4GNoa+XO3+m UCdQsJSPbNWx24IxVzUz2bSGCYWnDP4s14f8JT1uvttRqrJagjcf2twRzekB190kX8Ww T+2S/+UczA1VpKnPKKrkIBpDZR138X9mJeWKIRGtKtR0WNdLlicOw6Ba1gdCLlZoGWeR zzQg== X-Gm-Message-State: AFqh2krJpcUN6O+arf9FVv7YkTY8IqjSTJykmcxPEYs5IrYf4XLflyCP gYq9JUWx/SZptANqpUhIle+f4IredxB3E7h4QDK/01tog6XtNTwHXZn3HCCVV44MoLkMLCWzKid R8oUdvXBcaWm0AChnpE9pp9E0/sJLnm8dsl2/kZySpRKdviboEZg7L4vx7AFCYpATvXUelEKpmg == X-Received: by 2002:a25:3154:0:b0:7e9:f0ee:c4dd with SMTP id x81-20020a253154000000b007e9f0eec4ddmr23875679ybx.33.1674837248281; Fri, 27 Jan 2023 08:34:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXvQNkChbHS72d5KmqfDUGrIPJT7UXzS3wQtQr9DXosQ9ld1KmqIvYkd3dQwos0dqeGu11FoTQ== X-Received: by 2002:a25:3154:0:b0:7e9:f0ee:c4dd with SMTP id x81-20020a253154000000b007e9f0eec4ddmr23875660ybx.33.1674837247961; Fri, 27 Jan 2023 08:34:07 -0800 (PST) Received: from localhost (95.72.115.87.dyn.plus.net. [87.115.72.95]) by smtp.gmail.com with ESMTPSA id u20-20020ae9c014000000b006bb29d932e1sm3069827qkk.105.2023.01.27.08.34.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Jan 2023 08:34:07 -0800 (PST) To: gdb-patches@sourceware.org Cc: Andrew Burgess <aburgess@redhat.com> Subject: [PATCHv3 0/3] Python/TUI Window Creation / Destruction Fixes Date: Fri, 27 Jan 2023 16:34:02 +0000 Message-Id: <cover.1674837139.git.aburgess@redhat.com> X-Mailer: git-send-email 2.25.4 In-Reply-To: <cover.1674654912.git.aburgess@redhat.com> References: <cover.1674654912.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.7 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. 27, 2023, 4:34 p.m. UTC
This series conflicted with my other TUI series, that I just merged. No real changes in v3, just resolved the merge conflicts. Changes since v2: - Rebased onto HEAD of upsstream, resolved merged conflicts in patch #3. 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 | 43 +++---- 6 files changed, 227 insertions(+), 23 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: 2d46b103a52e4597ee60aa224ef4e5fb225ba893
Comments
Andrew Burgess <aburgess@redhat.com> writes: > This series conflicted with my other TUI series, that I just merged. > No real changes in v3, just resolved the merge conflicts. > > Changes since v2: > > - Rebased onto HEAD of upsstream, resolved merged conflicts in patch > #3. > > Changes since v1: > > - Rebased onto HEAD of upstream, > > - Reworded the commit message for patch #2. > Ping! If it helps at all, only patch #2 is really interesting. Thanks, Andrew > --- > > 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 | 43 +++---- > 6 files changed, 227 insertions(+), 23 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: 2d46b103a52e4597ee60aa224ef4e5fb225ba893 > -- > 2.25.4
Andrew> Ping! If it helps at all, only patch #2 is really interesting.
This all looked good to me.
Reviewed-By: Tom Tromey <tom@tromey.com>
Tom
Tom Tromey <tom@tromey.com> writes: > Andrew> Ping! If it helps at all, only patch #2 is really interesting. > > This all looked good to me. > > Reviewed-By: Tom Tromey <tom@tromey.com> Pushed. Thanks, Andrew