[PATCHv2,0/3] Python/TUI Window Creation / Destruction Fixes

Message ID cover.1674654912.git.aburgess@redhat.com
Headers
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