diff options
author | Tom Tromey <tom@tromey.com> | 2019-07-13 16:36:07 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-08-20 16:45:50 -0600 |
commit | 100c2bf31fa9bde80d997a5b39d1a07e0505a1cb (patch) | |
tree | dcef57e1101dd6a965e174d8680205bc12b98ba8 /gdb/tui/tui-regs.h | |
parent | fa4dc567aec7664b3508dd9401b1fbb6d304f281 (diff) | |
download | gdb-100c2bf31fa9bde80d997a5b39d1a07e0505a1cb.zip gdb-100c2bf31fa9bde80d997a5b39d1a07e0505a1cb.tar.gz gdb-100c2bf31fa9bde80d997a5b39d1a07e0505a1cb.tar.bz2 |
Remove tui_data_window::display_regs
There's no need for tui_data_window::display_regs any more (if there
ever was). All the paths through data window construction will end up
setting this to true. This patch removes the member.
2019-08-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.h (struct tui_data_window) <display_regs>: Remove.
* tui/tui-regs.c (tui_data_window::show_registers): Update.
(tui_data_window::check_register_values): Update.
Diffstat (limited to 'gdb/tui/tui-regs.h')
-rw-r--r-- | gdb/tui/tui-regs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/tui/tui-regs.h b/gdb/tui/tui-regs.h index 24ec587..de44557 100644 --- a/gdb/tui/tui-regs.h +++ b/gdb/tui/tui-regs.h @@ -66,8 +66,6 @@ struct tui_data_window : public tui_win_info /* Windows that are used to display registers. */ std::vector<tui_data_item_window> regs_content; int regs_column_count = 0; - /* Should regs be displayed at all? */ - bool display_regs = false; struct reggroup *current_group = nullptr; /* Answer the number of the last line in the regs display. If there |