]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Introduce tui_data_window::erase_data_content method
authorTom Tromey <tom@tromey.com>
Wed, 26 Jun 2019 22:07:45 +0000 (16:07 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:18:59 +0000 (12:18 -0600)
commitf76d8b19e80b43a141ce31c0e0230e23f676182d
tree8c6d2d14379c0ba218549bf0ab1b2b709d535ab8
parentb4094625d8a3e2b528032e2ca8d8cdecf222bb7c
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.
gdb/ChangeLog
gdb/tui/tui-data.h
gdb/tui/tui-regs.c
gdb/tui/tui-windata.c
gdb/tui/tui-windata.h