]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Don't allow new-ui to start the TUI
authorTom Tromey <tromey@adacore.com>
Tue, 16 Aug 2022 15:31:33 +0000 (09:31 -0600)
committerTom Tromey <tromey@adacore.com>
Fri, 17 May 2024 15:39:41 +0000 (09:39 -0600)
commit5c51acfcce1e1ed997e3c2504c2a93a9ad16015e
tree9f8548423080e7b6a5662357682716fa14919314
parent650a81d87bc438c67b077fcf4e529e3e9c772d5d
Don't allow new-ui to start the TUI

The TUI can't really work properly with new-ui, at least not as
currently written.  This patch changes new-ui to reject an attempt.
Attempting to make a DAP ui this way is also now rejected.

Regression tested on x86-64 Fedora 38.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29273
Approved-By: Andrew Burgess <aburgess@redhat.com>
gdb/interps.c
gdb/interps.h
gdb/main.c
gdb/python/py-dap.c
gdb/testsuite/gdb.base/new-ui.exp
gdb/tui/tui-interp.c
gdb/ui.c