mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 09:58:19 +08:00
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:
@ -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>
|
2019-08-20 Tom Tromey <tom@tromey.com>
|
||||||
|
|
||||||
* tui/tui-regs.c (tui_register_format, tui_get_register): Move
|
* tui/tui-regs.c (tui_register_format, tui_get_register): Move
|
||||||
|
@ -103,7 +103,6 @@ tui_get_register (struct frame_info *frame,
|
|||||||
|
|
||||||
tui_data_item_window::~tui_data_item_window ()
|
tui_data_item_window::~tui_data_item_window ()
|
||||||
{
|
{
|
||||||
xfree (value);
|
|
||||||
xfree (content);
|
xfree (content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,7 +38,6 @@ struct tui_data_item_window : public tui_gen_win_info
|
|||||||
const char *name = nullptr;
|
const char *name = nullptr;
|
||||||
/* The register number, or data display number. */
|
/* The register number, or data display number. */
|
||||||
int item_no = -1;
|
int item_no = -1;
|
||||||
void *value = nullptr;
|
|
||||||
bool highlight = false;
|
bool highlight = false;
|
||||||
char *content = nullptr;
|
char *content = nullptr;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user