Treat inactive TUI specially in "info win"
authorTom Tromey <tom@tromey.com>
Wed, 20 Nov 2019 23:02:29 +0000 (16:02 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 1 Dec 2019 20:17:37 +0000 (13:17 -0700)
commit82e3b5645f9c4edc1d84e57c32665d0e76bbbd77
treeb8dc1a29f2b806f86b90d292cfe5935b7caeb22c
parent517d261dfafb7e5317b841b01ab853a76deb8128
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  <tom@tromey.com>

* tui/tui-win.c (tui_all_windows_info): Treat inactive TUI
specially.

Change-Id: Ia860be8c786a71289da6609aa14d86b8365424db
gdb/ChangeLog
gdb/tui/tui-win.c