]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove tui_data_window::display_regs
authorTom Tromey <tom@tromey.com>
Sat, 13 Jul 2019 22:36:07 +0000 (16:36 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 20 Aug 2019 22:45:50 +0000 (16:45 -0600)
commit100c2bf31fa9bde80d997a5b39d1a07e0505a1cb
treedcef57e1101dd6a965e174d8680205bc12b98ba8
parentfa4dc567aec7664b3508dd9401b1fbb6d304f281
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.
gdb/ChangeLog
gdb/tui/tui-regs.c
gdb/tui/tui-regs.h