Remove tui_make_visible and tui_make_invisible
authorTom Tromey <tom@tromey.com>
Mon, 1 Jul 2019 20:41:28 +0000 (14:41 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:19:19 +0000 (12:19 -0600)
commit4a38112da00f45527de4aec0b645443c6ee0e01e
treecbee1663c64ef041e3bab86b35b386b054e9aae1
parent0912922656b9fec5f04623ea49292b7ae564c7ef
Remove tui_make_visible and tui_make_invisible

tui_make_visible and tui_make_invisible are just wrappers for a method
call, so remove them and have the callers simply make the method call
themselves.

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

* tui/tui-wingeneral.h (tui_make_visible, tui_make_invisible):
Don't declare.
* tui/tui-wingeneral.c (tui_make_visible, tui_make_invisible):
Remove.
* tui/tui-win.c (tui_source_window_base::set_new_height)
(tui_source_window_base::set_new_height)
(make_invisible_and_set_new_height)
(tui_source_window_base::do_make_visible_with_new_height)
(tui_source_window_base::do_make_visible_with_new_height):
Update.
* tui/tui-layout.c (show_source_disasm_command, show_data)
(show_source_or_disasm_and_command): Update.
* tui/tui-layout.c (show_layout): Update.
gdb/ChangeLog
gdb/tui/tui-layout.c
gdb/tui/tui-win.c
gdb/tui/tui-wingeneral.c
gdb/tui/tui-wingeneral.h