Remove tui_data_item_window::value

The field tui_data_item_window::value is not used, so remove it.

gdb/ChangeLog
2019-08-20  Tom Tromey  <tom@tromey.com>

	* tui/tui-regs.h (struct tui_data_item_window) <value>: Remove
	field.
	* tui/tui-regs.c (~tui_data_item_window): Update.
This commit is contained in:
Tom Tromey 2019-07-13 15:55:48 -06:00
parent 1a4f81dd7e
commit 8e114aab8b
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (struct tui_data_item_window) <value>: Remove
field.
* tui/tui-regs.c (~tui_data_item_window): Update.
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_register_format, tui_get_register): Move

View File

@ -103,7 +103,6 @@ tui_get_register (struct frame_info *frame,
tui_data_item_window::~tui_data_item_window ()
{
xfree (value);
xfree (content);
}

View File

@ -38,7 +38,6 @@ struct tui_data_item_window : public tui_gen_win_info
const char *name = nullptr;
/* The register number, or data display number. */
int item_no = -1;
void *value = nullptr;
bool highlight = false;
char *content = nullptr;
};