From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; Fri, 27 Jan 2023 16:34:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EC5FA3858C00 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1674837250; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EmLsvjuyIQ3vaqQTp2g1mR88Yhsb2JOahl12/IfvKek=; b=Kh42VaGDNBhOGOyfZtOjd+DQT7sRtA5OISTzgU7U+XdHiJPPWhMj1lS8W+X55QsI0sM3vH YHMmCMVGHsu20h3QmShcD6SZje+hLLi3FWEpSJrkhYQgH+JAWTnjQMm5pvqx31BTFktDqY vYIVuLYRhAXXDo7nGywMJvTaQyVYz7Q= 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 ; 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) From: Andrew Burgess To: gdb-patches@sourceware.org Cc: Andrew Burgess Subject: [PATCHv3 0/3] Python/TUI Window Creation / Destruction Fixes Date: Fri, 27 Jan 2023 16:34:02 +0000 Message-Id: X-Mailer: git-send-email 2.25.4 In-Reply-To: References: 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 List-Id: 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 -- 2.25.4