From 82e3b5645f9c4edc1d84e57c32665d0e76bbbd77 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 20 Nov 2019 16:02:29 -0700 Subject: Treat inactive TUI specially in "info win" I noticed that "info win" will print the table header, but no windows, when the TUI is inactive. This patch changes this to print a message instead. gdb/ChangeLog 2019-12-01 Tom Tromey * tui/tui-win.c (tui_all_windows_info): Treat inactive TUI specially. Change-Id: Ia860be8c786a71289da6609aa14d86b8365424db --- gdb/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e61b08b..497626d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2019-12-01 Tom Tromey + * tui/tui-win.c (tui_all_windows_info): Treat inactive TUI + specially. + +2019-12-01 Tom Tromey + * tui/tui-winsource.c (tui_copy_source_line): Don't advance past \0. * unittests/tui-selftests.c: New file. -- cgit v1.1