aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui')
-rw-r--r--gdb/tui/tui-regs.c1
-rw-r--r--gdb/tui/tui-regs.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 9ea6e72..aebea49 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -103,7 +103,6 @@ tui_get_register (struct frame_info *frame,
tui_data_item_window::~tui_data_item_window ()
{
- xfree (value);
xfree (content);
}
diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h
index 7b0bb50..d54b556 100644
--- a/gdb/tui/tui-regs.h
+++ b/gdb/tui/tui-regs.h
@@ -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;
};