Remove tui_display_data_from
authorTom Tromey <tom@tromey.com>
Wed, 26 Jun 2019 22:00:05 +0000 (16:00 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:18:57 +0000 (12:18 -0600)
commitdf5f8cab00a8076a5582efec028002d323950c8f
treea78199b05cacb3dd2a1986f34b5c302f659e01a6
parent80cb6c27099e199cca01bc1a2efb8e8fbc941a48
Remove tui_display_data_from

tui_display_data_from is only called from a single place.  Inlining it
there lets us remove some uses of the TUI_DATA_WIN global.

gdb/ChangeLog
2019-07-17  Tom Tromey  <tom@tromey.com>

* tui/tui-windata.h (tui_display_data_from): Don't declare.
* tui/tui-windata.c (tui_display_data_from): Remove.
(tui_data_window::refresh_all): Update.
gdb/ChangeLog
gdb/tui/tui-windata.c
gdb/tui/tui-windata.h