Remove "data_content" and "data_content_count" from TUI data window
authorTom Tromey <tom@tromey.com>
Sat, 22 Jun 2019 18:07:13 +0000 (12:07 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 25 Jun 2019 13:48:48 +0000 (07:48 -0600)
commit115ac53b852ed91e23d97e8357f24216609fa86f
treeeafc89b461c1ea3fe593dc863c75eaa0468d930a
parenteaf9738bedf8de68d4bf8eafd0689cf1973648aa
Remove "data_content" and "data_content_count" from TUI data window

The TUI has some stub code for adding data other than registers to the
data window.  However, it doesn't do anything, and apparently never
has.  This removes the dead code.

gdb/ChangeLog
2019-06-25  Tom Tromey  <tom@tromey.com>

* tui/tui-data.c (tui_data_item_window): Update.
* tui/tui-windata.h (tui_check_data_values): Don't declare.
* tui/tui-windata.c (tui_display_all_data)
(tui_display_data_from_line): Update.
(tui_check_data_values): Remove.
* tui/tui-regs.c (tui_show_register_group)
(tui_display_reg_element_at_line): Update.
* tui/tui-hooks.c (tui_register_changed)
(tui_refresh_frame_and_register_information): Call
tui_check_register_values.
* tui/tui-data.h (struct tui_data_window) <data_content,
data_content_count, data_type>: Remove.
(enum tui_data_type): Remove.
gdb/ChangeLog
gdb/tui/tui-data.c
gdb/tui/tui-data.h
gdb/tui/tui-hooks.c
gdb/tui/tui-regs.c
gdb/tui/tui-windata.c
gdb/tui/tui-windata.h