Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/3] [gdb/tui] Allow second tui enable if first fails
@ 2026-05-11 10:35 Tom de Vries
  2026-05-11 10:35 ` [PATCH v2 1/3] [gdb/tui] Factor out require_tui_terminal Tom de Vries
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tom de Vries @ 2026-05-11 10:35 UTC (permalink / raw)
  To: gdb-patches

Commit fb23d7ba4a2 ("[gdb/tui] Handle error in tui_enable") handles a
particular error during tui_enable, but doesn't allow trying to enable TUI
again.

This patch series fixes that.

The first two patches do some refactoring.

The third patch contains the fix.

Changes in v2:
- change fix approach: check tui_active in ~tui_batch_rendering, instead of
  replacing endwin with reset_shell_mode

Versions:
- v1: https://sourceware.org/pipermail/gdb-patches/2026-April/226966.html

Tom de Vries (3):
  [gdb/tui] Factor out require_tui_terminal
  [gdb/tui] Factor out init_ncurses
  [gdb/tui] Allow second tui enable if first fails

 gdb/tui/tui-wingeneral.c |  2 +-
 gdb/tui/tui.c            | 95 +++++++++++++++++++++++++---------------
 2 files changed, 61 insertions(+), 36 deletions(-)


base-commit: a8f34ab5485c9a16e7c8853eeacaca5dfb946461
-- 
2.51.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-05-19 18:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-11 10:35 [PATCH v2 0/3] [gdb/tui] Allow second tui enable if first fails Tom de Vries
2026-05-11 10:35 ` [PATCH v2 1/3] [gdb/tui] Factor out require_tui_terminal Tom de Vries
2026-05-11 10:35 ` [PATCH v2 2/3] [gdb/tui] Factor out init_ncurses Tom de Vries
2026-05-11 10:35 ` [PATCH v2 3/3] [gdb/tui] Allow second tui enable if first fails Tom de Vries
2026-05-19 18:52 ` [PATCH v2 0/3] " Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox