Split the tui_win_info destructor
authorTom Tromey <tom@tromey.com>
Sun, 16 Jun 2019 16:52:27 +0000 (10:52 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:27 +0000 (07:48 -0600)
commitee1d42d6c1a05725868a8ea4855eaa81cbbda635
treed5ea292264121e4e42af3d3dd70603796c2c2853
parentb4eb24524b5838141bd3c3998afc81f65302eca1
Split the tui_win_info destructor

This patch adds destructors to tui_source_window and tui_data_window,
and splits ~tui_win_info as appropriate.

gdb/ChangeLog
2019-06-25  Tom Tromey  <tom@tromey.com>

* tui/tui-data.h (struct tui_source_window)
(struct tui_data_window): Declare destructors.
* tui/tui-data.c (~tui_source_window, ~tui_data_window): New
destructors.
(tui_win_info): Simplify.
gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-data.h