Remove tui_gen_win_info::viewport_height
authorTom Tromey <tom@tromey.com>
Sat, 21 Dec 2019 17:35:59 +0000 (10:35 -0700)
committerTom Tromey <tom@tromey.com>
Fri, 27 Dec 2019 16:33:36 +0000 (09:33 -0700)
commit1630140dc64fcc6ce2366650eedce690235a8178
tree2433003f4b796ce573c381c2d6330dc2c80d1f67
parentf2810fe00a6b5f227c6d64168127f184f9862a19
Remove tui_gen_win_info::viewport_height

tui_gen_win_info::viewport_height is only used in a couple of spots,
and is redundant with "height".  This patch removes viewport_height.

gdb/ChangeLog
2019-12-27  Tom Tromey  <tom@tromey.com>

* tui/tui-source.c (tui_source_window::maybe_update): Update.
* tui/tui-regs.c (tui_data_window::display_registers_from):
Update.
* tui/tui-layout.c (tui_gen_win_info::resize): Update.
* tui/tui-data.h (struct tui_gen_win_info) <viewport_height>:
Remove.
* tui/tui-command.c (tui_cmd_window::resize): Update.

Change-Id: I020e026fbe289adda8e2fdfebca91bdbdbc312e8
gdb/ChangeLog
gdb/tui/tui-command.c
gdb/tui/tui-data.h
gdb/tui/tui-layout.c
gdb/tui/tui-regs.c
gdb/tui/tui-source.c
This page took 0.02511 seconds and 4 git commands to generate.