Remove tui_display_data_from_line
authorTom Tromey <tom@tromey.com>
Wed, 26 Jun 2019 21:56:56 +0000 (15:56 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 17 Jul 2019 18:18:54 +0000 (12:18 -0600)
commit80cb6c27099e199cca01bc1a2efb8e8fbc941a48
tree6f43371dde339a22c8325a17374539db3afe3254
parentbaff0c28b83bd1ad7949d07b78fdb85ad6be49a5
Remove tui_display_data_from_line

tui_display_data_from_line is just a wrapper for
tui_display_registers_from_line, so remove it.  Also, nothing passed 0
as the "force_display" parameter to tui_display_registers_from_line,
so remove that parameter as well.

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

* tui/tui-windata.h (tui_display_data_from_line): Don't declare.
* tui/tui-windata.c (tui_display_data_from_line): Remove.
(tui_display_data_from, tui_data_window::do_scroll_vertical): Call
tui_display_registers_from_line.
* tui/tui-regs.h (tui_display_registers_from_line): Update.
* tui/tui-regs.c (tui_display_registers_from_line): Remove
"force_display" parameter.
gdb/ChangeLog
gdb/tui/tui-regs.c
gdb/tui/tui-regs.h
gdb/tui/tui-windata.c
gdb/tui/tui-windata.h