Remove tui_clear_source_windows_detail
authorTom Tromey <tom@tromey.com>
Fri, 19 Jul 2019 18:59:35 +0000 (12:59 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Sep 2019 19:49:04 +0000 (13:49 -0600)
commit78d5933a43f8a4dd5fd54f5344a7dd9c2d4b8769
treee8c5f2c2b38eeca3c4c1b36ee54dd70ec956508b
parentd42076962798cd2329090cea213e797f4c69c03c
Remove tui_clear_source_windows_detail

The calls to tui_clear_source_windows_detail in tui_add_win_to_layout
aren't needed, because (after the resize unification) resizing will
update the window contents.  Removing these calls lets us remove
several other things as well.

gdb/ChangeLog
2019-09-20  Tom Tromey  <tom@tromey.com>

* tui/tui-data.h (tui_clear_source_windows_detail): Don't
declare.
* tui/tui-layout.c (tui_add_win_to_layout): Don't call
tui_clear_source_windows_detail.
* tui/tui-winsource.h (struct tui_source_window_base)
<clear_detail>: Don't declare.
* tui/tui-winsource.c (tui_source_window_base::clear_detail):
Remove.
* tui/tui-data.c (tui_clear_source_windows_detail): Remove.
gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-data.h
gdb/tui/tui-layout.c
gdb/tui/tui-winsource.c
gdb/tui/tui-winsource.h