Simplify tui_make_all_invisible
authorTom Tromey <tom@tromey.com>
Fri, 5 Jul 2019 18:29:18 +0000 (12:29 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 13 Aug 2019 20:52:09 +0000 (14:52 -0600)
commit3f3ffe54e229482bdb0785ae2162f03d60870400
treef8a5c7ae3054cb1661cb92c91277824ab5c31264
parent69258091762bce83b0f3dc9e07800b87bdc0649f
Simplify tui_make_all_invisible

This simplifies the implementation of tui_make_all_invisible.  Also,
because show_data is only called by show_layout, this hoists the call
to tui_make_all_invisible and removes the call from show_data.

gdb/ChangeLog
2019-08-13  Tom Tromey  <tom@tromey.com>

* tui/tui-wingeneral.c (make_all_visible): Remove.
(tui_make_all_invisible): Simplify.
* tui/tui-layout.c (tui_make_all_invisible): Move from
tui-wingeneral.c; simplify.
(show_layout): Hoist call to tui_make_all_invisible.
(show_data): Don't call tui_make_all_invisible.
gdb/ChangeLog
gdb/tui/tui-layout.c
gdb/tui/tui-wingeneral.c
gdb/tui/tui-wingeneral.h
This page took 0.024943 seconds and 4 git commands to generate.