diff options
author | Tom Tromey <tromey@adacore.com> | 2022-08-16 09:31:33 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-05-17 09:39:41 -0600 |
commit | 5c51acfcce1e1ed997e3c2504c2a93a9ad16015e (patch) | |
tree | 9f8548423080e7b6a5662357682716fa14919314 /gdb/python/py-dap.c | |
parent | 650a81d87bc438c67b077fcf4e529e3e9c772d5d (diff) | |
download | binutils-5c51acfcce1e1ed997e3c2504c2a93a9ad16015e.zip binutils-5c51acfcce1e1ed997e3c2504c2a93a9ad16015e.tar.gz binutils-5c51acfcce1e1ed997e3c2504c2a93a9ad16015e.tar.bz2 |
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>
Diffstat (limited to 'gdb/python/py-dap.c')
-rw-r--r-- | gdb/python/py-dap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/python/py-dap.c b/gdb/python/py-dap.c index 861514d..d5555c9 100644 --- a/gdb/python/py-dap.c +++ b/gdb/python/py-dap.c @@ -62,6 +62,9 @@ public: void pre_command_loop () override; + bool supports_new_ui () const override + { return false; } + private: std::unique_ptr<ui_out> m_ui_out; |