diff options
author | Tom Tromey <tom@tromey.com> | 2020-07-01 21:21:12 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-07-01 21:21:14 -0600 |
commit | 9ab26b4a0fdc5fba707abf56abfb4c503b35c3e5 (patch) | |
tree | b8c09ee746234a419312422f8c6bc705ca240610 /gdb/tui | |
parent | e555083f95748276ab7a229c46aa8d5c0ef9fbc4 (diff) | |
download | gdb-9ab26b4a0fdc5fba707abf56abfb4c503b35c3e5.zip gdb-9ab26b4a0fdc5fba707abf56abfb4c503b35c3e5.tar.gz gdb-9ab26b4a0fdc5fba707abf56abfb4c503b35c3e5.tar.bz2 |
Remove tui_data_window::name
The "name" member of tui_data_window was set, but never used. This
removes it.
gdb/ChangeLog
2020-07-01 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_data_window::show_register_group): Update.
* tui/tui-regs.h (struct tui_data_item_window) <name>: Remove.
Diffstat (limited to 'gdb/tui')
-rw-r--r-- | gdb/tui/tui-regs.c | 1 | ||||
-rw-r--r-- | gdb/tui/tui-regs.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 15ce7a0..39f5d73 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -262,7 +262,6 @@ tui_data_window::show_register_group (struct reggroup *group, if (!refresh_values_only) { data_item_win->item_no = regnum; - data_item_win->name = name; data_item_win->highlight = false; } tui_get_register (frame, data_item_win, regnum, 0); diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h index 250f4e7..7acc0c7 100644 --- a/gdb/tui/tui-regs.h +++ b/gdb/tui/tui-regs.h @@ -48,7 +48,6 @@ struct tui_data_item_window : public tui_gen_win_info return 1; } - const char *name = nullptr; /* The register number, or data display number. */ int item_no = -1; bool highlight = false; |