Remove tui_data_window::display_all_data
authorTom Tromey <tom@tromey.com>
Sun, 14 Jul 2019 14:27:34 +0000 (08:27 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 30 Aug 2019 18:57:02 +0000 (12:57 -0600)
commit18bb55c7225dfd07ec8d75226a83da1872db8b90
treeb7a56d031345a4a8eed81b4aace4b6983b5c3105
parent1f6d2f100ae6de462f1e81b5de17de059f6b17ef
Remove tui_data_window::display_all_data

tui_data_window::rerender clears the data item windows, and then calls
display_all_data.  However, that method only does anything if the
contents are not empty.  So, display_all_data can be renamed and the
wrapper removed.

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

* tui/tui-regs.h (struct tui_data_window) <display_all_data>:
Don't declare.
* tui/tui-regs.c (tui_data_window::show_registers): Call
rerender.
(tui_data_window::rerender): Rename from display_all_data.
(tui_data_window::rerender): Remove old implementation.
gdb/ChangeLog
gdb/tui/tui-regs.c
gdb/tui/tui-regs.h