diff options
author | Tom Tromey <tom@tromey.com> | 2019-06-26 16:07:45 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-07-17 12:18:59 -0600 |
commit | f76d8b19e80b43a141ce31c0e0230e23f676182d (patch) | |
tree | 8c6d2d14379c0ba218549bf0ab1b2b709d535ab8 /gdb/tui/tui-regs.h | |
parent | b4094625d8a3e2b528032e2ca8d8cdecf222bb7c (diff) | |
download | gdb-f76d8b19e80b43a141ce31c0e0230e23f676182d.zip gdb-f76d8b19e80b43a141ce31c0e0230e23f676182d.tar.gz gdb-f76d8b19e80b43a141ce31c0e0230e23f676182d.tar.bz2 |
Introduce tui_data_window::erase_data_content method
This changes tui_erase_data_content to be a method on tui_data_window,
allowing for the removal of some uses of the TUI_DATA_WIN global.
gdb/ChangeLog
2019-07-17 Tom Tromey <tom@tromey.com>
* tui/tui-windata.h (tui_erase_data_content): Don't declare.
* tui/tui-windata.c (tui_data_window::erase_data_content): Rename
from tui_erase_data_content.
(tui_data_window::display_all_data)
(tui_data_window::refresh_all)
(tui_data_window::do_scroll_vertical): Update.
* tui/tui-regs.c (tui_show_registers): Update.
* tui/tui-data.h (struct tui_data_window) <erase_data_content>:
New method.
Diffstat (limited to 'gdb/tui/tui-regs.h')
0 files changed, 0 insertions, 0 deletions