Introduce tui_data_window::display_all_data method
authorTom Tromey <tom@tromey.com>
Wed, 26 Jun 2019 22:02:36 +0000 (16:02 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:18:57 +0000 (12:18 -0600)
commit50daf2683bad925470f6f1bd08aef928c2f4d6fe
treedeb09d7654e9d82a4a036c163a74ec6996a8e22a
parentdf5f8cab00a8076a5582efec028002d323950c8f
Introduce tui_data_window::display_all_data method

This changes tui_display_all_data to be a method on tui_data_window.
This helps cluster uses of the TUI_DATA_WIN global.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-windata.h (tui_display_all_data): Don't declare.
* tui/tui-windata.c (tui_data_window::display_all_data): Rename
from tui_display_all_data.
* tui/tui-win.c
(tui_data_window::do_make_visible_with_new_height): Update.
* tui/tui-regs.c (tui_show_registers): Update.
* tui/tui-layout.c (tui_set_layout): Update.
* tui/tui-data.h (struct tui_data_window) <display_all_data>: New
method.
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-layout.c
gdb/tui/tui-regs.c
gdb/tui/tui-win.c
gdb/tui/tui-windata.c
gdb/tui/tui-windata.h